[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] SSL and virtual sites RAQ2



Hello,

I'm a bit confused regarding SSL for virtual sites using the main
site cert. Installation/config went fine and the 'secure' site
is at secure.domain.com.

Now, as for virtual sites I did this (to the letter):

Instructions for configuring virtual Web sites under your server's SSL server: 

                      1.Telnet into your server and become "root". 
                      2.Create a directory for the virtual site secure area. Something like this: 
                         /home/sites/site1/secure
                         (i.e at the same level as the virtual site's "web" directory) 
                      3.Create a "cgi-bin" directory in the secure directory:
                         /home/sites/site1/secure/cgi-bin 
                      4.Now edit the following file:
                         /etc/httpd/conf/srm-ssl.conf 
                      5.Insert the following line in the file for the virtual site:
                         ScriptAlias /cgi-secure/ /home/sites/site1/secure/cgi-bin/ 
                         Alias /vsite /home/sites/site1/secure/ 

                         Save the file. 
                      6.Restart SSL: 
                         /etc/rc.d/init.d/httpsd restart 

And I (of course) changed the path in the srm-ssl.conf to match the path
of the site I'm trying to give a secure dir to.


But, all I get with https://www.anythingonmyRAQ.com/ is the success page for
the SSL install (index.html) on the secure server (secure.domain.com)

I'm getting 404s on anything I put anywhere but in the /web dir of
secure.domain.com

This includes https://www.anysite/secure/

and

https://secure.domain.com/anydirbutweb


Clearly I'm missing something.

Thanks,

Galen Valle


o you don't actually have to learn much, just cut and paste:

http://hotwired.lycos.com/webmonkey/00/05/index2a.html?tw=programming

Joe

Julie Meloni is PHP stud-ette, she even answers her email.