[users@httpd] Excluding a directory from mod_proxy (apache 1.3)

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

 



Hi,

I'm using mod_proxy to proxy the document root to another port on the same machine with Apache 1.3.

    ProxyPass / http://localhost:180/
    ProxyPassReverse / http://localhost:180/

This works fine and as expected, you get the page at that port/location rather than it attempting to access this URL through port 80. I would like to exclude a subdirectory from being proxied, that is, to use /sub on the original host and port instead of port 180.

According to http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#ProxyPass, for Apache 2, I could do this with the following config:

    ProxyPass /sub !
    ProxyPassReverse /sub !

I haven't been able to get this to work with 1.3 (the docs don't mention !, so that seems correct), and was wondering if there's a workaround for this. Simply adding Alias or Directory directives didn't seem to work.

Does anyone have suggestions for how to exclude a subdirectory from being proxied in Apache 1.3?

Thanks,

Matt

--
Matt Blasinski (mbv)
Information Systems Technology Services Professional
Internet Infrastructure Applications Technology
Division of Information Technology
3228 Computer Science and Statistics
1210 West Dayton Street
Madison WI 53706
Work (608) 263-4865
Personal Cell (608) 347-6940

<?php
    echo "You can have it fast, cheap, or working.  Choose two.";
?>

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