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

ssi on apache & virtual hosting



hello,

   can you guys please take a look at this apache virtual host config (httpd.conf)
that i did ?  its already working but i would just like to make sure its safe.

   also, i want only those who operate the domain www.mydavao.com to have SSI,
and run all .cgi's as scripts ...


<VirtualHost www.mydavao.com>
ServerAdmin webmaster@mydavao.com
DocumentRoot /home/mydavao.com/www/htdocs
ServerName www.mydavao.com
Directory /home/mydavao.com/www/cgi-bin/
        AllowOverride None
        Options ExecCGI FollowSymLinks
        </Directory>
ScriptAlias /cgi-bin/ /home/mydavao.com/www/cgi-bin/
        AddType text/html .shtml
        AddHandler server-parsed .shtml
AddHandler cgi-script .cgi
ErrorLog /home/mydavao.com/weblogs/error.log
CustomLog /home/mydavao.com/weblogs/access.log full
</VirtualHost>

thanks a lot,

sib

---------------------------------------------------------
A world of Information. The journey begins here. At Home.
Internet Cebu's web based mail. http://www.i-mailbox.net


Reply to: