httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Keenan" <mfkee...@ireland.com>
Subject RE: [users@httpd] mod_proxy working on initial request, but not for subsequent resource requests
Date Mon, 11 May 2009 11:46:35 GMT
Hi Nick,

I'm not completely sure I understand you, but based on what I thought I
understood (!!) I now notice that if I navigate to /cameras/ (as opposed to
/cameras), I now get the home page rendering correctly. Interesting! Should
I therefore have a trailing slash in my proxy rule?

<Location /cameras>
    ProxyPass http://192.168.1.53
    ProxyPassReverse http://192.168.1.53
    AuthName "Secure Area"
...
...


Cheers,
Mark

-----Original Message-----
From: Nick Kew [mailto:nick@webthing.com] 
Sent: 11 May 2009 12:36
To: users@httpd.apache.org
Subject: Re: [users@httpd] mod_proxy working on initial request, but not for
subsequent resource requests


On 11 May 2009, at 12:29, Mark Keenan wrote:

> Here's whats appearing in my SSL log file:
>
> 192.168.101.1 - u01 [11/May/2009:12:22:06 +0100] "GET /cameras HTTP/ 
> 1.1" 200
> 4238

The base path of that is /.

> However, when I look at the html for the index.html page, they way  
> it is
> requesting resources is relative, so I don't understand why its not
> following the parent /cameras path!

You're assuming a trailing slash, which would make the base path / 
cameras/.

Are you doing something dumb with mod_rewrite?

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.320 / Virus Database: 270.12.9/2087 - Release Date: 05/10/09
07:02:00


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message