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 Sen

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-probl

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
Yes I did httpd -S and it reports what I have 5 localhosts. As for taking the firsrt defined vhost vs what httpd.conf has I thought of this and commented out the /htdocs which is why localhost is pointing to the 1st vhosts folders. I've just taken out the include of vhosts.conf and tried it so no

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
Thanks Rob, I've been making changes like removing the ExecCGI from the options on the DocRoot of ianst.homeip.net and thus proving [I think] that the vhost is working as the .pl files only list in the browser where before they would execute. I've played with the Deny All to prove I can't access t

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 Nabble.com

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 the mod_perl - Ge

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

Re: localhost vs vhost problem

2006-12-20 Thread turnbui
Thanks for your time. Here it is in th block. 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 F

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
Yes, Apache:ASP On WinXP Home. Perrin Harkins wrote: > > 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 bu

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