Re: [users@httpd] mod_rewrite question.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can somebody help me please ... thanks a lot.

Regards
Vincent

>
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>



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