On 10/5/05, Josh Greenwood <[EMAIL PROTECTED]> wrote:

>  #See if the requested page is http://www.test.com
>  RewriteCond %{SERVER_NAME} www.test.com
>  #It is. Now see if 'www.test.com' is a folder in the webcontent/ directory
> RewriteCond %{DOCUMENT_ROOT}/webcontent/%{SERVER_NAME} -d
> #It is.
> RewriteRule ^/(.*) http://%{SERVER_NAME}%{REQUEST_URI}
> [P,L]

>  (2) implicitly forcing redirect (rc=302) with http://www.test.com/

Are you absolutely sure that the configuration quoted above is the
active one?  The RewriteLog says an implicit redirect is happening,
which strongly applies that the RewriteRule does not have the [P]
flag.  Try taking out all other RewriteRules temporarily, and make
absolutely sure you restart the server.

Joshua.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to