Re: [users@httpd] Reverse Proxy and SSI from Back-End Apache

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

 



On 11/8/05, Devendra Singh <dee.ess@xxxxxxxxx> wrote:
> But, the problem is that when I try to access
> http://ds.india.noida/dstest.html the SSI
> /mycomps/testsuccess.html also gets parsed from the Front Apache.

Or, in other words, subrequests are not getting proxied.


>    RewriteEngine On
>    RewriteRule \.(gif|jpg|png|txt|css|js|ico|swf)$ [OR]
>    RewriteRule !\/mycomps\/.* - [last]
>    RewriteRule ^/(.*)$ http://ds.india.noida:8080/$1 [proxy]

This looks quite bogus to me.  As far as I know, there is no [OR]
option to RewriteRule.  And you shouldn't be escaping forward slashes
in your regex.  I'm surprised this works at all.

On the original problem of subrequests and proxies, I don't recall
whether or not this works correctly.  I imagine it should.

Joshua.

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