<VirtualHost *:80>
 ServerName ianst.homeip.net
 DocumentRoot "C:/Program Files/Apache Software
Foundation/Apache2.2/iansthtdocs"
# ErrorLog logs/ianst-host-error.log
# CustomLog logs/ianst-host-access.log common
 ServerAlias ianst
 ScriptAlias /cgi-bin/ "C:/Program Files/Apache Software
Foundation/Apache2.2/iansthtdocs/cgi-bin/"
# Alias       /perl/    "C:/Program Files/Apache Software
Foundation/Apache2.2/iansthtdocs/perl/"
#
# Alias       /asp/    "C:/Program Files/Apache Software
Foundation/Apache2.2/iansthtdocs/asp/"

#
 PerlModule  Apache::ASP
 <Files ~ (\.asp)>    
   SetHandler  perl-script
# this line stops it finding my /cgi-bin/iansCaptcha.asp  file ?? ie
prevents SSI's from perl/...
   PerlHandler Apache::ASP
# next 2 go together in place of above - requires  Apache/Registry.pm @INC
#    PerlHandler Apache::Registry
#    PerlSendHeader On
#   PerlSetVar  Global .
   PerlSetVar  Global c:/tmp
   PerlSetVar  StateDir c:/tmp/asp
   PerlSetVar CookiePath  /
 </Files>
#
</VirtualHost>
-- 
View this message in context: 
http://www.nabble.com/localhost-vs-vhost-problem-tf2860296.html#a7995931
Sent from the mod_perl - General mailing list archive at Nabble.com.

Reply via email to