Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

Re: [users@httpd] Avoid endless loop of mod_rewrite

Philip Wigg

2010-03-09

Replies: Find Java Web Hosting

Author LoginPost Reply
> It goes into an infinite loop again. I believe the root is forcing a
> rule by 'inherit'.

If I understand you correctly, you don't have access to the main httpd
configuration file. If there's a rewrite in that file which is
redirecting your site from domain.com to www.domain.com then I can't
think of anything you could do to stop it I'm afraid except asking
them not to apply that rule in your case. As you've seen, configuring
a rule to do the same in reverse will merely result in rewrite loops.

-- Phil.

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

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.