By neokoenig on
Hi All,
I've got a couple of small, static html sites in a root directory of a drupal installation:
i.e
/archive/somesite1
/archive/somesite2
However, the drupal .htaccess is rewriting these to the root, even if there's no index.php file; so I need to exclude the entire /archive/ directory from being rewritten;
I've tried this:
RewriteCond %{REQUEST_URI} "!archive/(.*)"
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
but it doesn't seem to want to work - can anyone tell me what the correct syntax would be to ignore the /archive/ dir and all subsequent children directories?
Ta!
Comments
I don't think you should need
I don't think you should need to do anything to the default Drupal .htaccess. I have several non-Drupal directories in my root Drupal directories, and they all resolve just fine.
Are these actual directories, or virtual directories?
Actual Directories.. maybe
Actual Directories..
maybe it's to do with the server mapping..
--------------------------
OxAlto Design
http://www.oxalto.co.uk
--------------------------
I assume you haven't got any
I assume you haven't got any url rewriting in path's or any modules that is using the archive directory name?
James T
Action Medical Research - www.action.org.uk
nope.. going to try
nope.. going to try RewriteCond %{REQUEST_URI} "!^/archive/(.*)" (which should link it to the root too)
--------------------------
OxAlto Design
http://www.oxalto.co.uk
--------------------------
fckeditor problem in drupal after url rewriting
i have done my own url rewriting in .htaccess of a drupal installation, everything worked fine except the fckeditor. Instead of FCKEditor i started getting the home page displayed in the same place. Can any one help me plz. I have uploaded the printscreen of the problem and marked the fckeditor location with red box. I uploaded the file in following location.
http://www.ourongoingprojects.com/error.JPG
Thanks & Regards,
Satya.
You have more luck starting
You have more luck starting your own forum post
--------------------------
OxAlto Design
http://www.oxalto.co.uk
--------------------------
I have this problem too. Did
I have this problem too.
Did you find a solution?