HELP: Apache + Mod_rewite + login/authentication + proxypass + Rewriterule

HELP: Apache + Mod_rewite + login/authentication + proxypass + Rewriterule

Post by Nobody Speci » Thu, 13 Mar 2003 04:52:27

hey Im a little lost here. Ive tried a few times to append a login id
to the URL via Mod_rewrite

It works but it winds up in an endless loop where it keeps appending
the login id onto the Url thousands of times...  and locking up!

Rewri*gine on
RewriteBase   /login/inventory/
RewriteCond %{QUERY_STRING} !*login=*
RewriteRule ^(.*)/(.+)\.asp(.*)$
/login/inventory/$2.asp$3&login=%{REMOTE_USER} [R,P,L]

So i see in the logs i wind up getting

appended hundreds of times.

Any ideas on how to get this to work?   Im stumped


1. Apache: Proxy Problem using ProxyPass or RewriteRule ... ... [P]

I have a small problem using the proxy module in Apache_1.2b7.

In httpd.conf, I have:

ProxyRequests On
ProxyRemote *

In srm.conf, I have been trying one of the following in srm.conf:

RewriteRule ^/internal/xxx/?(.*)$1 [P]


ProxyPass /internal/xxx

If I request /internal/xxx/home.html, I would expect to see a request for
/home.html on

Indeed, when using the rewrite module, the rewrite_log shows:

[24/Feb/1997:12:03:35 +0000] (1) go-ahead with proxy request
proxy: [OK]

However, the logs on show that the requested page was

Why is the request not for /home.html on


2. Basic Linux networking questions

3. Authentication: can't demand authentication for ProxyPass links

4. RH 6.2 problem

5. Apache 1.3.11 (Solaris) and ProxyPass with authentication...

6. changing shells

7. apache basic authentication with proxypass line

8. Installing Slackware

9. Apache: proxypass authentication

10. ProxyPass and RewriteRule [P] - what is the difference??

11. Apache Rewrite rule for port forwarding -- Absolute mod_rewite beginner needs help..

12. Apache based Dynamic Mirror - use Mod_rewite or other???

13. RewriteRule duplicates $1 in RewriteRule