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

RE: [cobalt-users] RaQ4 - shared SSL and .cgi/.pl



> I have also setup a few more aliasmatches to make things easier for my
> customers.
<snip>
Any chance you could publish those aliasmatch extras you have worked out ?
:-)


Sure, no problem. They go in /etc/httpd/conf/httpd.conf in the AliasMatch sections for the virtual site.

AliasMatch ^/sites/([^/]+)(/(.*))? /home/sites/$1/web/$3
AliasMatch ^/cgi-bin/([^/]+)(/(.*))? /home/sites/$1/web/cgi-bin/$1/$3
AliasMatch ^/alstore/([^/]+)(/(.*))? /home/sites/$1/web/alstore/$1/$3

The sites one is just the same as my original secure one, but seeing as secure was already in the URL i decided to call it sites instead. The other two use the modified format supplied by Duncan Laurie and require www.domain.com directories setup in the relevant directories.

HTH
--

Rocky Hetherington | mailinglists@xxxxxxxxxx
Alaula Limited
WebDesign | http://www.alaula.com
Hosting and Domain registration | http://www.alaula.net