perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Landrum <rland...@aol.net>
Subject Re: localhost vs vhost problem
Date Wed, 20 Dec 2006 20:39:09 GMT
Well..  For one thing, vhost1.turnbui.net isn't a ServerName entry or a 
ServerAlias entry.

I'd start by adding that.

Rob

turnbui wrote:
> <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>


Mime
View raw message