ProxyPass .... !

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

 




Anyone else out there had either success or difficulty with the "ProxyPass /url ! " directive.

What I am hope this can do is to create a configuration so that the default is to reverse proxy
to a site, except for a list of urls.

The below is what I have, and I don't see how if varies from the docs at
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass

<VirtualHost 111.222.91.206>
         ServerName wrg.xxx.yyy.edu
         DocumentRoot /dir/wrg/WWW/
         ErrorLog logs/wrg_error_log
         TransferLog logs/wrg_access_log

         ProxyPass /fsl/ !
         ProxyPass /hq/  !
         ProxyPass /arc/ !
         ProxyPass / http://saruman.xxx.yyy.edu:8080/
         ProxyPassReverse  / http://saruman.xxx.yyy.edu:8080/

        ... blah blah...
</VirtualHost>

What I get from the above is almost the reverse of what I want.. "/" isn't proxied but /fsl , /hq, and /arc are. Adding in some "ProxyPassReverse /fsl/ ! " stuff doesn't seem to have an effect, not that I'd expect it to, and if I put the "!"s after the root ( "/" ) directive, then the "/" directive gets proxied, but still the others don't, which I'd kind of expect. Oh.. it didn't seem to make any difference placing things outside of the
<virtualHost> either.

Thanks for any info!

-Dave







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