mod_proxy and mod_rewrite problem

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-31-2004
bruno
 
Posts: n/a
Default mod_proxy and mod_rewrite problem

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.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:29 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0