Re: use mod_rewrite and mod_jk

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

 



Yes, you want to look at JkUnmount directive (something like JkUnmount /images/*).  Just put it before your JkMount statement(s).

This email message and any attachments are for the sole use of the intended recipient(s) and may contain information that is proprietary to Ahold and/or its subsidiaries (“Ahold”) or otherwise confidential or legally privileged.  If you have received this message in error, please notify the sender by reply, and delete all copies of this message and any attachments.  If you are the intended recipient you may use the information contained in this message and any files attached to this message only as authorized by Ahold.  Files attached to this message may only be transmitted using secure systems and appropriate means of encryption, and must be secured using the same level of password and security protection with which the file was provided to you.  Any unauthorized use, dissemination or disclosure of this message or its attachments is strictly prohibited.

----- Original Message -----
From: "andre wang" <andre.ease@xxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx
Sent: Wednesday, March 3, 2010 4:07:37 AM
Subject:  use mod_rewrite and mod_jk

hi all

    I have an apache server ( 2.2.9 ) running on debian lenny, and
have name virtualhosts support. The following is my config:

    <NameVirtualHost *>
        ServerName www.example.com
        DocumentRoot /var/www
        JkMount /* tomcat
        RewriteEngine On
        RewriteRule ^/images/ - [L]
    </NameVirtualHost>

   There is a directory named "images" under the document root
"/var/www", so if i send a request
"http://www.example.com/images/a.jpg";, could Apache do NOT send the
requst to my tomcat server, is that possible?

thanks
andre.ease

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


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