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

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/localhos

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 Scrip

RE: localhost vs vhost problem

2006-12-20 Thread turnbui
orry to take up your time guys but this is becoming depressing. Cheers Ian t -- View this message in context: http://www.nabble.com/localhost-vs-vhost-problem-tf2860296.html#a7999675 Sent from the mod_perl - General mailing list archive at Nabble.com.

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 take

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 a

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 Adam Prime x443
m: turnbui [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 con

Re: localhost vs vhost problem

2006-12-20 Thread turnbui
amples??? Any ideas 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 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 l

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 at

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 soun

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 th

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: ServerName ianst.homeip.net DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/iansthtdocs" # ErrorLog logs/ianst-host-error.log # Custom

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 turnbui
. PerlSetVar Global c:/tmp PerlSetVar StateDir c:/tmp/asp PerlSetVar CookiePath / # -- 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 turnbui
p 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: http://www.nabble.com/localhost-vs-vhost-problem-tf2860296.html#a7995919 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
rrin > > -- View this message in context: http://www.nabble.com/localhost-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: My ASP works for localhost but not for the vhost. The ASP config is within the 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 block. Are you talking ab

localhost vs vhost problem

2006-12-20 Thread turnbui
pages are displayed they are missing parts when accessed as htt://vhost1.turnbui.com/asp 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: http://www.nabble.com/localhos