This problem is sorted now, thanks for everyone's help.
I did need to have the 'mod_proxy' module because my URL was going off to another server, causing the 'redirect'.
(That's why you wanted to see the URL 'predamarcel' :-))
With the mod_proxy in place & inserting [P,L] at the end of my URL...
<myURL> is on the same server.
However, when I use the RewriteRule I get a status '302' each time in the log, which is a redirect. Is it not possible to have Apache process Rewrite internally & forward on to the URL rather than redirecting the browser?
If you could provide a simple example that...
could you explain how mod_rewrite in combination with mod_proxy can achieve this. I'd like to be more certain before I go down the route of rebuilding my Apache install with mod_proxy,
thanks
I am trying to use the Apache mod_rewrite module to rewrite a URL in the httpd.conf fileas follows:
RewriteRule "^/$" "<my URL> [L]"
However, this issues a 'Redirect' - with a HTTP status code of '302', which slows the process down.
I want Apache to process this request...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.