perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From turnbui <>
Subject Re: localhost vs vhost problem
Date Wed, 20 Dec 2006 19:06:55 GMT

Thanks for your time. Here it is in th <VirtualHost> block.

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

 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/ @INC
#    PerlHandler Apache::Registry
#    PerlSendHeader On
#   PerlSetVar  Global .
   PerlSetVar  Global c:/tmp
   PerlSetVar  StateDir c:/tmp/asp
   PerlSetVar CookiePath  /

turnbui wrote:
> Hi folks,
> My ASP works for localhost but not for the vhost. The ASP config is within
> the <VirtualHost> block so should only apply to that localhost. I
> originally had the ASP config in the vhosts directory using an .htaccess
> file but was told it would be faster if put into the <VirtualHost> block.
> No matter what I try I can't get the ASP pages served correctly when I
> access them through the
> I'm using Apache 2.2 / Perl / ASP 2.59 on a WinXP Home machine.
> I copied C:\Perl\eg\IEExamples to my vhosst DocRoot folder and although
> the index page and the four example pages are displayed they are missing
> parts when accessed as yet when accessed
> using http://localhost/asp they all work as they should.
> Can anyone throw some light as to what I might try please?
> Thanks
> Ian t

View this message in context:
Sent from the mod_perl - General mailing list archive at

View raw message