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 Wed, 27 Apr 2005 13:07:22 GMT
On 4/27/05, Paula Nousiainen <paula.nousiainen@technia.com> wrote:
> ProxyPassReverse / http://FINLAND-WEB-SERVER: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)$
> RewriteRule ^/(.*) http://FINLAND-WEB-SERVER:7003/$1 [P] 
> -------------------------------------------------------------------------------------
>  
> When I start my application from 
> http://USA-APACHE-SERVER:7003/ematrix_xml/WebClient/XX.jsp 
>  
> jars and cabs, that I would like to be read from local Apache .../htdocs
> directory are read from Finland, not from USA as I would like them to be
> read. 
>  
> rewrite.log has following information: 

> MY-LAPTOP - - [27/Apr/2005:08:44:55 +0200]
> [APACHE-SERVER/sid#9f028][rid#1589f8/initial] (4)
> RewriteCond:
> input='/ematrix_xml/WebClient/java/classes/eMatrixAppletDownloadXML.cab'
> pattern='!.*(eMatrixAppletDownloadXML.jar|SwingDownload.jar|eMatrixAppletDownload.cab|SwingDownload.cab)$'
> => matched 

Your problem from the beginning has been a regex that doesn't match
the files you are trying to exclude.  ***It still doesn't match!*** 
There is nothing in that RewriteCond that matches that particular
filename.  I'm not sure how many different ways I can say that.

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