localhost vs vhost problem

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

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
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 VirtualHost block so should only apply to that localhost. I originally had the ASP config in the vhosts directory using an .htaccess file

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
Thanks for your time. Here it is in th VirtualHost block. 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

Re: localhost vs vhost problem

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

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 at

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

RE: localhost vs vhost problem

2006-12-20 Thread Adam Prime x443
try running httpd -S to get apache to split out it's vhost config you should get something along the lines of this: *:80 is a NameVirtualHost default server vhost1.com (/www/conf/httpd.conf:180) port 8080 namevhost vhost1.com (/www/conf/httpd.conf:180)

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

[ANNOUNCE] Krang v2.008 Released

2006-12-20 Thread Sam Tregar
Krang v2.008 is now available (the source release is up now and binary builds should be up soon). Notable changes in this release: * Improved password security. Password policy is now configurable and extensible by addons. [Michael Peters] * Added several new configuration

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:

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

Passing $r-pnotes on $r-internal_redirect

2006-12-20 Thread Fred Moyer
Greetings, I have a handler that calls $r-internal_redirect('/new/location'). I want to avoid recomputing the data I have in $r-pnotes at the time of the redirect, and instead magically pass that pnotes data to the $r in the new handler somehow. I can stash the $r-pnotes data in $c-pnotes,

Re: Passing $r-pnotes on $r-internal_redirect

2006-12-20 Thread Fred Moyer
Fred Moyer wrote: Greetings, I have a handler that calls $r-internal_redirect('/new/location'). I want to avoid recomputing the data I have in $r-pnotes at the time of the redirect, and instead magically pass that pnotes data to the $r in the new handler somehow. I can stash the $r-pnotes