|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Httpsd, Secure server
Hi,
I'm having a problem setting up my secure server. I can reach my secure server using https://www.mydomain.com:82, going direct to port 82. However, instead of going to the directory I requested, it goes to /home/httpsd/html root page. The worst thing is, when I type in url http://www.mydomain.com, I get an error. Following is the VirtualHosting block in the httpsd.conf file, please tell me what I did wrong: <VirtualHost MY IP> ServerAdmin webmaster@mydomain.com DocumentRoot /home/mydomain/www ScriptAlias /cgi-bin/ "/home/mydomain/www/cgi-bin/" ServerName www.mydomain.com ServerAlias mydomain.com Group nobody ErrorLog logs/ns.mydomain.com.error_log CustomLog logs/ns.mydomain.com.access_log wusage SSLCACertificatePath /etc/httpsd/conf/mydomain SSLCertificateFile /etc/httpsd/conf/mydomain/www.mydomain.com.crt SSLCertificateKeyFile /etc/httpsd/conf/mydomain/www.mydomain.com.key SSLVerifyClient 0 SSLVerifyDepth 10 SSLFakeBasicAuth SSLCacheServerPort /home/httpsd/cache/ssl.socket SSLSessionCacheTimeout 300 </VirtualHost> Thanks in advance, Helicon |
|
#2
|
|||
|
|||
|
I don't think the problem is with the configuration that you posted, I think the problems lay elsewhere in your configuration file. If you post the rest of your file I will take a look and get back to you.
Try just entering https://www.mydomain.com, this will take you to the default port 443. I bet this will take you to the right place. You could also try adding ... Listen 82 ... into your virtual server configuration. I think that you have another area in your httpd.conf file takig requests for port 82 and therefore taking you to a different directory. |
|
#3
|
|||
|
|||
|
Actually, yeah, I figured that part out, there was another request by another program listening at port 82.
So when I adjusted my VH to port 82, I could reach the secure server. I think the reason going directly to https://www.mydomain.com doesnt work is because there was already another domain using secure port 443, isn't it true that you can not virtual hosting secure servers? (the other domain is hosted with a different IP, although on the same server). Helicon |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Httpsd, Secure server |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|