Re: [users@httpd] directory for static content in an apache frontend to zope

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

 



On 9/6/05, Matthias Teege <matthias-apache@xxxxxxxxx> wrote:
> On Tue, Sep 06, 2005 at 09:14:26AM -0400, Joshua Slive wrote:
> > Start by removing ALL the ProxyPass directives from the config and
> > make sure you can access the static content.
> 
> Ok, I've done so and I can access the static content without the
> ProxyPass rules. The I add ProxyPass /static/ ! and get the "Bad
> Request". Is it possible, that the "!" syntax doesn't work in 1.3.xx?

Bingo.  Sorry, I forgot about that.  For 1.3, you need to use mod_rewrite:

RewriteEngine On
RewriteRule ^/static - [L]
RewriteRule (.*)
http://127.0.0.1:8080/VirtualHostBase/http/h:80/vh/portal/mpl/VirtualHostRoot$1
[P]
ProxyPassReverse /
http://127.0.0.1:8080/VirtualHostBase/http/h:80/vh/portal/mpl/VirtualHostRoot/

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