Re: [users@httpd] mod_proxy_ajp

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

 



On Tuesday 20 December 2005 17:19, Fenlason, Josh wrote:

> Alias /jsp-examples "D:/test/tomcat/webapps/jsp-examples"
> <Directory "D:/test/tomcat/webapps/jsp-examples">
>   Options Indexes FollowSymLinks
>   AllowOverride None
>   allow from all
> </Directory>
>
> ProxyPass /jsp-examples ajp://localhost:8009/jsp-examples
> ProxyPassReverse /jsp-examples ajp://localhost:8009/jsp-examples

That's a conflict: you're asking it to do two incompatible things with
requests matching /jsp-examples.

> This above configuration allows jsps to be served correctly, but I want
> to make sure that Apache is serving any static content under the
> /jsp-examples directory and not Tomcat.  Thanks in advance.

And how do you expect Apache to know that a request is "any static content"?
You would need to tell Apache how you expect it to make that decision.
The usual way to do that is to configure different behaviours for different
URLs.

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



[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