D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Debian testing, Apache2 & mod_perl



On Friday 27 August 2004 6:44, David Johnson wrote:
I should have included my virtual host stuff in my original e-mail. 

Yes, you should.

This is a  typical vhost entry:

And the answer is easy - I think!

<VirtualHost *:80>
    ServerAdmin webmaster@xxxxxxxxxxxxxxx
    DocumentRoot /home/david/public_html
       <Directory /home/*/public_html/cgi-bin>
               Options +ExecCGI
       </Directory>
    ServerName www.david-web.co.uk
    SSLEngine off
    ScriptAlias /cgi-bin/ "/home/david/public_html/cgi-bin/"
</VirtualHost>

All my virtual hosts have a similar command.

I specify the directory in full - I've changed it here to * so you'd better 
check that that works.

-- 

Neil Williams
=============
http://www.codehelp.co.uk/
http://www.dclug.org.uk/
http://www.isbn.org.uk/
http://sourceforge.net/projects/isbnsearch/

http://www.biglumber.com/x/web?qs=0x8801094A28BCB3E3

Attachment: pgp00046.pgp
Description: signature


Lynx friendly