RE: mod_proxy working on initial request, but not for subsequent resource requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx] 
Sent: 11 May 2009 12:36
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux