This is a discussion on mod_proxy and mod_rewrite problem within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi all I managed to run apache 2.0.48 (port 8080) on red hat 9.0 with mod_proxy and ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all
I managed to run apache 2.0.48 (port 8080) on red hat 9.0 with mod_proxy and mod_rewrite enabled. I wrote a test rule and enabled rewritelog it works ok and every request is tested and logged in rewrite log. Now my problem is to do the same on a w2000 server with apache 2.0.43 running on port 8080. httpd.conf is the same proxy is ok BUT rewrite rules are not tested, except if address begins with : http://localhost:8080 I have to rewrite urls for my lan users to access internet via this pc Thanks for your help bruno Part of my httpd.conf : <IfModule mod_rewrite.c> RewriteEngine on RewriteLog logs/rewrite_bv.log RewriteLogLevel 3 RewriteRule ^(.*)$ $1 [R] </IfModule> # # Proxy Server directives. Uncomment the following lines to # enable the proxy server: # <IfModule mod_proxy.c> ProxyRequests On # <Proxy *> Order deny,allow Deny from all Allow from 127.0.0.1 192.168.0. </Proxy> # # Enable/disable the handling of HTTP/1.1 "Via:" headers. # ("Full" adds the server version; "Block" removes all outgoing Via: headers) # Set to one of: Off | On | Full | Block # ProxyVia On # # To enable the cache as well, edit and uncomment the following lines: # (no cacheing without CacheRoot) # #CacheRoot "I:/Program Files/Apache Group/Apache2/proxy" #CacheSize 5 #CacheGcInterval 4 #CacheMaxExpire 24 #CacheLastModifiedFactor 0.1 #CacheDefaultExpire 1 #NoCache a-domain.com another-domain.edu joes.garage-sale.com </IfModule> # End of proxy directives. |