httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] Question about Apache RewriteCond Syntax on Proxy Configuration
Date Mon, 25 Apr 2005 13:29:52 GMT
On 4/25/05, Paula Nousiainen <paula.nousiainen@technia.com> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message