https://issues.apache.org/bugzilla/show_bug.cgi?id=53794

          Priority: P2
            Bug ID: 53794
          Assignee: [email protected]
           Summary: Problem on rewrite
          Severity: normal
    Classification: Unclassified
                OS: Linux
          Reporter: [email protected]
          Hardware: PC
            Status: NEW
           Version: 2.4-HEAD
         Component: mod_rewrite
           Product: Apache httpd-2

Hi,

in my configuration, has as DirectoryIndex this parameter:
 - DirectoryIndex  index.html index.htm index.php

If in the root virtualhost Directory, I set a redirect via htaccess and are
present more index file,

Rewite Rule:
 RewriteCond %{REQUEST_URI} !^/mysite
 RewriteRule ^(.*)$ site/$1 [L]

Folder List:
-rwxr-xr-x  1 18107657 users         1098 Aug 28 12:44 index.html
-rwxr-xr-x  1 18107657 users         1094 Nov  5  2008 index.php
drwxr-xr-x 16 18107657 users         2048 Mar  7 21:27 mysite

when start appling rule, it's also passed as DirectoryIndex say:
 ex: http://mysite/ is redirected to http://mysite/mysite/index.html

but in the folder if not exists, has a 404 error code.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to