Re: ProxyPass and DirectoryIndex

2001-11-09 Thread Mohit Agarwal
On Fri, 9 Nov 2001, Jorge Godoy wrote: > Philip Mak <[EMAIL PROTECTED]> writes: > > > My current solution is to "touch index.asp" in the port 80 DocumentRoot > > and have "DirectoryIndex index.asp" so that it knows to ProxyPass those > > requests. I'd have to "touch index.asp" manually for every

Re: ProxyPass and DirectoryIndex

2001-11-09 Thread Igor Sysoev
On Fri, 9 Nov 2001, Philip Mak wrote: > > You can try with my mod_accel: > > ftp://ftp.lexa.ru/pub/apache-rus/contrib/mod_accel-1.0.6.tar.gz > > > > AccelCacheRoot cache > > AccelNoCacheon > > AccelPass / http://127.0.0.1:8081/ > > AccelNoPass ~*\.jpg$ ~*\.gif$ > > Hmm,

Re: ProxyPass and DirectoryIndex

2001-11-09 Thread Igor Sysoev
On Fri, 9 Nov 2001, Balazs Rauznitz wrote: > On Fri, 9 Nov 2001, Philip Mak wrote: > > > On port 80, I'm running a non-mod_perl httpd. > > On port 8001, I'm running a mod_perl httpd. > > > > Port 80 is ProxyPassing to port 8001 like this: > > RewriteRule ^/(.+)\.asp$ http://127.0.0.1:8001/$1.as

Re: ProxyPass and DirectoryIndex

2001-11-09 Thread Jorge Godoy
Philip Mak <[EMAIL PROTECTED]> writes: > My current solution is to "touch index.asp" in the port 80 DocumentRoot > and have "DirectoryIndex index.asp" so that it knows to ProxyPass those > requests. I'd have to "touch index.asp" manually for every directory, > though. Is there a better way around

Re: Re: ProxyPass and DirectoryIndex

2001-11-09 Thread Andy Turner
On Fri, Nov 09, 2001 at 02:17:44PM -0500, Philip Mak wrote: > > RewriteRule ^(.*)/$ http://127.0.0.1:8001$1/index.asp [p] > > That looks like it will ProxyPass every directory to the mod_perl enabled > httpd. It would make index.html not work anymore, though. I think the > optimal solution would:

Re: ProxyPass and DirectoryIndex

2001-11-09 Thread Philip Mak
> > My current solution is to "touch index.asp" in the port 80 DocumentRoot > > and have "DirectoryIndex index.asp" so that it knows to ProxyPass those > > requests. I'd have to "touch index.asp" manually for every directory, > > though. Is there a better way around this? > RewriteRule ^/$ http:/

Re: ProxyPass and DirectoryIndex

2001-11-09 Thread Balazs Rauznitz
On Fri, 9 Nov 2001, Philip Mak wrote: > On port 80, I'm running a non-mod_perl httpd. > On port 8001, I'm running a mod_perl httpd. > > Port 80 is ProxyPassing to port 8001 like this: > RewriteRule ^/(.+)\.asp$ http://127.0.0.1:8001/$1.asp [p] > > The httpds have different DocumentRoots however

Re: ProxyPass and DirectoryIndex

2001-11-09 Thread Igor Sysoev
On Fri, 9 Nov 2001, Philip Mak wrote: > On port 80, I'm running a non-mod_perl httpd. > On port 8001, I'm running a mod_perl httpd. > > Port 80 is ProxyPassing to port 8001 like this: > RewriteRule ^/(.+)\.asp$ http://127.0.0.1:8001/$1.asp [p] > > The httpds have different DocumentRoots however

ProxyPass and DirectoryIndex

2001-11-09 Thread Philip Mak
On port 80, I'm running a non-mod_perl httpd. On port 8001, I'm running a mod_perl httpd. Port 80 is ProxyPassing to port 8001 like this: RewriteRule ^/(.+)\.asp$ http://127.0.0.1:8001/$1.asp [p] The httpds have different DocumentRoots however, so if I visit http://mysite.com/ it will return a d