Another thought just occured to me, the "AllowOverride All" line in the <driectory> 
section should be investigated more - If I'm remembering my readings correctly, 
setting this to ALL can potentially open some security concerns.  For myself, I 
haven't had the spare time to look into this further yet.

HTH

Shawn
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Shawn Grover
Sent: Wednesday, April 07, 2004 1:39 PM
To: CLUG General
Subject: RE: [clug-talk] Apache Virtual Server


For my virtual hosts, I also needed the following :

 <Directory /home/www/o2s>
            Options execcgi
            AllowOverride All
            Order Allow,Deny
            Allow from All
 </Directory>

So, a complete virtual host entry would look something like this:

<VirtualHost *:80>
    DocumentRoot /var/www/html/location1
    ServerName www.firstdomain.ca

        <Directory /home/www/o2s>
            Options execcgi
            AllowOverride All
            Order Allow,Deny
            Allow from All
        </Directory>
</VirtualHost>


In the Options line, you can also specify indexes (i.e. Options indexes execcgi ) to 
create a listing of the files in the folder.  This probably isn't what you want for a 
public server though.
 
HTH.
 
Shawn

_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to