#1  
Old 9th January 2008, 09:36
vulfs vulfs is offline
Junior Member
 
Join Date: Dec 2007
Posts: 27
Thanks: 4
Thanked 0 Times in 0 Posts
Question https path??

Have made en ssl for a domain: https://osc.syd-data.dk

But when it loads it shows the standard install page for apache.

Why dosn't it use the same path as the normal http://osc.syd-data.dk

And i can't find https in the config files..

Im using 2.3.3..
Reply With Quote
Sponsored Links
  #2  
Old 9th January 2008, 09:44
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,485
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

The https pazh is the same then the http path. Please check if the Vhost_ispconfig.conf file has been updated and contains the ssl configuration:

http://www.howtoforge.com/forums/showthread.php?t=13596

Is the code of the sl certificate and certificate request shown on the ssl tab of the site settings?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 9th January 2008, 09:55
vulfs vulfs is offline
Junior Member
 
Join Date: Dec 2007
Posts: 27
Thanks: 4
Thanked 0 Times in 0 Posts
Default ssl-tab shown

Yes the ssl tab is shown.

But nowhere in the vhost is there a ssl/443 host.

new host on 80 is added correctly.

If You try the 2 https://osc.syd-data.dk and http://osc.syd-data.dk you can se they show 2 different pages.

If I go under the ssl tab and make an ssl request the file is made correctly i the webs ssl directory.

But I have a certificate for that domain I need to transfer from another server.

Just tried to remove ssl-option from the domain and add it again.

ispconfig does something with the vhost file, as the date/time on the file is altered everytime. But if I look in the file there is no change??

Last edited by vulfs; 9th January 2008 at 10:02.
Reply With Quote
  #4  
Old 10th January 2008, 15:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Please try the link that Till posted above.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 14th January 2008, 09:24
vulfs vulfs is offline
Junior Member
 
Join Date: Dec 2007
Posts: 27
Thanks: 4
Thanked 0 Times in 0 Posts
Default done that

Tried the link

Syntax OK with all of them

Here is another domain i tired to add ssl. tab is shown in controlpanel

######################################
# Vhost: www.vulfs.dk:80
######################################
#
#
<VirtualHost 89.184.154.53:80>
ServerName www.vulfs.dk:80
ServerAdmin webmaster@vulfs.dk
DocumentRoot /var/www/web2/web
ServerAlias vulfs.dk
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /var/www/web2/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web2/log/error.log
php_admin_flag safe_mode Off
# {STATSALIAS}
Alias /error/ "/var/www/web2/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3
</VirtualHost>

No 443 anywhere in the conf files.

here is the ispconfig log

vulfs.dk-webmaster:x:10027:10002:webmaster:/var/www/web2/user/vulfs.dk-webmaster:/dev/null
14.01.2008 - 09:11:20 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1027: setquota -u vulfs.dk-webmaster 0 0 0 0 -a &> /dev/null
14.01.2008 - 09:11:20 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1028: setquota -T -u vulfs.dk-webmaster 604800 604800 -a &> /dev/null
14.01.2008 - 09:11:20 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 59: cp -f /root/ispconfig/isp/conf/forward.master /var/www/web2/user/vulfs.dk-webmaster/.forward
14.01.2008 - 09:11:20 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 98: cp -fr /etc/postfix/local-host-names /etc/postfix/local-host-names~
14.01.2008 - 09:11:20 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 249: cp -fr /etc/postfix/virtusertable /etc/postfix/virtusertable~
14.01.2008 - 09:11:21 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 254: postmap hash:/etc/postfix/virtusertable
14.01.2008 - 09:11:21 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1381: cp -fr /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf~
14.01.2008 - 09:11:21 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2043: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~

If you go to https://vulfs.dk it just shows the standard centos/apache ssl page.
Have deleted the ssl for syd-data.dk but still when you go to https://osc.syd-data.dk it shows standard sll page.

Mark the OSC.syd-data.dk its because syd-data.dk remains on old server because of the lack of ssl.

Here is the content of the vhost dir

[root@naja vhosts]# ls -al
total 124
drwxr-xr-x 2 root root 4096 Jan 14 09:07 .
drwxr-xr-x 3 root root 4096 Jan 14 09:08 ..
-rw-r--r-- 1 root root 25811 Jan 14 09:11 Vhosts_ispconfig.conf
-rw-r--r-- 1 root root 25811 Jan 14 09:11 Vhosts_ispconfig.conf~
-rw-r--r-- 1 root root 27069 Jan 7 21:11 Vhosts_ispconfig.conf_07-01-08_21-11-31
-rw-r--r-- 1 root root 27069 Jan 7 21:13 Vhosts_ispconfig.conf_07-01-08_21-13-14

Do you have any ideas??

Hopefully

Last edited by vulfs; 14th January 2008 at 09:26.
Reply With Quote
  #6  
Old 14th January 2008, 09:34
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,485
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Quote:
Syntax OK with all of them
If there are more then 2 files, then the syntax is not ok as the files with a date appaneded are only created when the syntax chck failed.

Please try to do the checexactly as it is described in the post I linked above.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 14th January 2008, 09:50
vulfs vulfs is offline
Junior Member
 
Join Date: Dec 2007
Posts: 27
Thanks: 4
Thanked 0 Times in 0 Posts
Default did that now

Tried that now.. renamed

[root@naja vhosts]# httpd -t
Syntax OK

Content og vhost dir:

[root@naja vhosts]# ls -al
total 68
drwxr-xr-x 2 root root 4096 Jan 14 09:42 .
drwxr-xr-x 4 root root 4096 Jan 14 09:41 ..
-rw-r--r-- 1 root root 25811 Jan 14 09:44 Vhosts_ispconfig.conf
-rw-r--r-- 1 root root 27013 Jan 14 09:44 Vhosts_ispconfig.conf~


no ssl/443 in any conf files.

vulfs.dk-webmaster:x:10027:10002:webmaster:/var/www/web2/user/vulfs.dk-webmaster:/dev/null
14.01.2008 - 09:44:26 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1027: setquota -u vulfs.dk-webmaster 0 0 0 0 -a &> /dev/null
14.01.2008 - 09:44:26 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1028: setquota -T -u vulfs.dk-webmaster 604800 604800 -a &> /dev/null
14.01.2008 - 09:44:26 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 59: cp -f /root/ispconfig/isp/conf/forward.master /var/www/web2/user/vulfs.dk-webmaster/.forward
14.01.2008 - 09:44:26 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 98: cp -fr /etc/postfix/local-host-names /etc/postfix/local-host-names~
14.01.2008 - 09:44:26 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 249: cp -fr /etc/postfix/virtusertable /etc/postfix/virtusertable~
14.01.2008 - 09:44:27 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 254: postmap hash:/etc/postfix/virtusertable
14.01.2008 - 09:44:27 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1381: cp -fr /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf~
14.01.2008 - 09:44:27 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2541: httpd -t &> /dev/null
14.01.2008 - 09:44:27 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2548: httpd syntax ok
14.01.2008 - 09:44:27 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 730: /etc/rc.d/init.d/httpd restart &> /dev/null
14.01.2008 - 09:44:27 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2043: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~
Reply With Quote
  #8  
Old 15th January 2008, 12:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Please try to create an SSL vhost again, then (after a few seconds) post the output of
Code:
ls -la
in the Vhosts_ispconfig.conf directory.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 15th January 2008, 12:40
vulfs vulfs is offline
Junior Member
 
Join Date: Dec 2007
Posts: 27
Thanks: 4
Thanked 0 Times in 0 Posts
Default output

[root@naja vhosts]# ls -al
total 68
drwxr-xr-x 2 root root 4096 Jan 14 09:42 .
drwxr-xr-x 4 root root 4096 Jan 15 11:28 ..
-rw-r--r-- 1 root root 25811 Jan 15 12:39 Vhosts_ispconfig.conf
-rw-r--r-- 1 root root 25811 Jan 15 12:39 Vhosts_ispconfig.conf~


host vulfs.dk again if u try https://vulfs.dk it is the default apache page

Last edited by vulfs; 15th January 2008 at 12:43.
Reply With Quote
  #10  
Old 16th January 2008, 11:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

What's in Vhosts_ispconfig.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig: from http to https & from https to http Hans Tips/Tricks/Mods 13 12th March 2013 23:22
Can ISPConfig listen on http & https? spidie Installation/Configuration 2 31st July 2007 02:53
http to https redirection for port 81 - ISPConfig TheMaximumWeasel Installation/Configuration 6 30th May 2007 23:30
http redirect to https derfy Feature Requests 2 24th June 2006 21:04
redirect an application (egroupware) from http to https blackflag Installation/Configuration 13 21st February 2006 21:44


All times are GMT +2. The time now is 15:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.