[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] website setup modification
- Subject: [cobalt-users] website setup modification
- From: d.gurney@xxxxxxxxxxxxxxxxx
- Date: Sun Jul 22 18:50:46 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi,
what I'd like to do is setup my RaQ so that if a browser goes to http://www.domain.tld they get the main normal site for that domain. If they access https://sub.domain.tld they will get sent to a directory inside the cgi-bin of www.domain.tld and given as the default page a perl file. This directory will be unaccesible if they are not using ssl to connect to sub.domain.tld. The perl has to be in a sub directory (i think) because it must be able to change some of the content of the website sitting under www.domain.tld . Any suggestions as to setup of the httpd.conf file ?
i'm guessing that this could be the setup for the conf files
<VirtualHost ***.***.***.***>
ServerName www.domain.tld ServerAdmin admin ScriptAlias /cgi-bin/ /home/sites/site3/web/cgi-bin
DocumentRoot /home/sites/site3/web </VirtualHost>
<VirtualHost ***.***.***.***> ServerName sub.domain.tld ServerAdmin admin ScriptAlias /cgi-bin/ /home/sites/site3/web/cgi-bin/sub
DocumentRoot /home/sites/site3/web/cgi-bin/sub
DirectoryIndex index.pl
</VirtualHost>
Or will symbolic linking do the job for me ?
any setup horror stories or suggestions very welcome.
regards,
Dave Gurney