localhost vs vhost problem

2006-12-20 Thread turnbui
/localhost-vs-vhost-problem-tf2860296.html#a7991613 Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: localhost vs vhost problem

2006-12-20 Thread Perrin Harkins
turnbui wrote: 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

Re: localhost vs vhost problem

2006-12-20 Thread turnbui
-vs-vhost-problem-tf2860296.html#a7992785 Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: localhost vs vhost problem

2006-12-20 Thread Perrin Harkins
turnbui wrote: Yes, Apache:ASP On WinXP Home. Okay, can you show us the mod_perl part of your httpd.conf? - Perrin

Re: localhost vs vhost problem

2006-12-20 Thread turnbui
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: http://www.nabble.com/localhost-vs-vhost-problem-tf2860296.html#a7995919 Sent from the mod_perl - General mailing list archive

Re: localhost vs vhost problem

2006-12-20 Thread turnbui
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.

Re: localhost vs vhost problem

2006-12-20 Thread Perrin Harkins
turnbui wrote: ScriptAlias /cgi-bin/ C:/Program Files/Apache Software Foundation/Apache2.2/iansthtdocs/cgi-bin/ You should not use ScriptAlias for anything related to mod_perl. It tells mod_cgi to handle that directory. - Perrin

Re: localhost vs vhost problem

2006-12-20 Thread Robert Landrum
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

Re: localhost vs vhost problem

2006-12-20 Thread turnbui
Thanks Perrin, I commented the ScriptAlias out. It didn't help unfortunately. Actually I won't be sering ASP from that directory. Does that make any difference? -- View this message in context: http://www.nabble.com/localhost-vs-vhost-problem-tf2860296.html#a7997802 Sent from the mod_perl

Re: localhost vs vhost problem

2006-12-20 Thread Perrin Harkins
turnbui wrote: I commented the ScriptAlias out. It didn't help unfortunately. Actually I won't be sering ASP from that directory. Does that make any difference? It's okay to have ScriptAlias in your conf file as long as it doesn't refer to directories that you want mod_perl to serve. It

Re: localhost vs vhost problem

2006-12-20 Thread turnbui
Sorry Rob, just my vain attempt to protect the innocent. In fact it is ianst.homeip.net that I am using. Sorry to mislead. -- View this message in context: http://www.nabble.com/localhost-vs-vhost-problem-tf2860296.html#a7997944 Sent from the mod_perl - General mailing list archive

Re: localhost vs vhost problem

2006-12-20 Thread Robert Landrum
turnbui wrote: Sorry Rob, just my vain attempt to protect the innocent. In fact it is ianst.homeip.net that I am using. Sorry to mislead. Okay. So just to rehash here... ASP does not work at: http://ianst.homeip.net/asp ASP works correctly at: http://localhost/asp localhost isn't a server

Re: localhost vs vhost problem

2006-12-20 Thread turnbui
what I should try next? Thanks -- View this message in context: http://www.nabble.com/localhost-vs-vhost-problem-tf2860296.html#a7998823 Sent from the mod_perl - General mailing list archive at Nabble.com.

RE: localhost vs vhost problem

2006-12-20 Thread Adam Prime x443
[mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 4:11 PM To: modperl@perl.apache.org Subject: Re: localhost vs vhost problem Sorry Rob, just my vain attempt to protect the innocent. In fact it is ianst.homeip.net that I am using. Sorry to mislead. -- View this message in context: http

Re: localhost vs vhost problem

2006-12-20 Thread Perrin Harkins
Robert Landrum wrote: localhost isn't a server listed in your VirtualHost section in either ServerName or ServerAlias. That means that the VirtualHost section isn't even a consideration when hitting localhost. Doesn't that mean it just takes the first VirtualHost that appears in the file?

Re: localhost vs vhost problem

2006-12-20 Thread Robert Landrum
Perrin Harkins wrote: Robert Landrum wrote: localhost isn't a server listed in your VirtualHost section in either ServerName or ServerAlias. That means that the VirtualHost section isn't even a consideration when hitting localhost. Doesn't that mean it just takes the first VirtualHost that

Re: localhost vs vhost problem

2006-12-20 Thread Perrin Harkins
Robert Landrum wrote: Actually, it's been literally 5 years since I've done any named virtualhost stuff, so it could've changed in that time... But as I recall, it will use the global configuration as defined by httpd.conf, not any one specific VirtualHost block. For NameVirtualHosts, it

Re: localhost vs vhost problem

2006-12-20 Thread Perrin Harkins
turnbui wrote: The examples were from C:\Perl\eg\IEExamples and are the only ones I've gottem around to testing due to the probs. Can you confirm for this poor fool that these are ASP types please? Those are not Apache::ASP or mod_perl. They are from ActiveState and they use the Windows

Re: localhost vs vhost problem

2006-12-20 Thread turnbui
I see. It wasn't until after I installed ASP that I looked in C:\Perl\... but the wrong directory must've read the docco wrong at http://www.apache-asp.org/config.html, it mentions /site/eg. Silly me!! Thanks anyway. -- View this message in context: http://www.nabble.com/localhost-vs-vhost

Re: localhost vs vhost problem

2006-12-20 Thread turnbui
Well I seem to have got it running, well at least when I choose EXAMPLES from http://ianst.homeip.net/asp I get the page of examples up. Almost there now. Thanks for your perseverence. -- View this message in context: http://www.nabble.com/localhost-vs-vhost-problem-tf2860296.html#a8002273