Re: [users@httpd] Question about Apache RewriteCond Syntax on Proxy Configuration

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

 



On 4/25/05, Paula Nousiainen <paula.nousiainen@xxxxxxxxxxx> wrote:
> I tried following, which is not working: 

Never say something like that on a technical mailing list.

Say exactly what you did, exactly what the outcome was, and exactly
what you want the outcome to be.

>  
> ProxyPassReverse / http://sun-MADISON:7003/ 
> RewriteEngine On 
> RewriteLog "/usr/local/apache2-2.0.52/logs/rewrite.log" 
> RewriteLogLevel 9 
> RewriteCond %{REQUEST_URI}
> !.*\.(eMatrixAppletDownloadXML.jar|SwingDownload.jar|eMatrixAppletDownload.cab|SwingDownload.cab|Matrix.class|jpg|gif|pdf|png|zip|tgz|gz|html|htm|css|js)$
> RewriteRule ^/(.*) http://sun-MADISON:7003/$1 [P] 

You are excluding files with names like
".eMatrixAppletDownloadXML.jar".  I don't think you  really want that
leading dot.  Try fixing your regex.

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