niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Apache
mod_rewrite question.
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
Vincent Blondel
*nix forums beginner


Joined: 15 Mar 2005
Posts: 15

PostPosted: Wed Jul 19, 2006 9:06 am    Post subject: mod_rewrite question. Reply with quote

Hello all,

I get mod_proxy running in my dmz to forward http traffic from internet to
my trusted area. This is working fine except that I have to implement a
new type of config for a special host.

I would like to forward traffic from (dmz) http://people.domain/~username
to (lan) http://username.srv.intranet.

Al my configs are now configured with ProxyPass and ProxyPassReverse but I
read on the net it would be easier to use mod_rewrite for such type of
config.

I found such type of example to resolve this case but I do not know if
this is the right way to do it and I do not find any reverse mapping
(ProxyPassRevers) in this definition.

ProxyRequests Off
RewriteEngine On
RewriteRule ^/~(.*) http://$1.srv.intranet [P]

Thanks a lot to help me resolving this problem.

Many thanks for your comprehension.

Vincent



---------------------------------------------------------------------
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
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Mon Dec 01, 2008 10:30 pm | All times are GMT
navigation Forum index » Apps » Apache
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Newbie question: How to forward a domain to a mailbox? leei Postfix 0 Fri Aug 24, 2007 4:55 pm
No new posts configuration question for httpd Karl Wang Apache 1 Fri Jul 21, 2006 2:10 pm
No new posts nim problem/question Ron AIX 0 Fri Jul 21, 2006 1:57 pm
No new posts question for JAVA developer who r using postgres sql as b... deepak pal PostgreSQL 1 Fri Jul 21, 2006 9:00 am
No new posts mod_rewrite to go from http to https and back sevans@bigskypenguin.com Apache 0 Fri Jul 21, 2006 5:12 am

Free Advertising | Loans | Online Advertising | Remortgages | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2851s ][ Queries: 16 (0.2087s) ][ GZIP on - Debug on ]