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/27/05, Paula Nousiainen <paula.nousiainen@xxxxxxxxxxx> 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@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