Hey all,
I employ heavy use of the url_alias table to make my blog articles show up as mysite.com/news/blog-title ... and getting great SEO returns for my effort.
Unfortunately, it seems now that I cannot access files in other non-drupal folders if those folders are more than one layer deep. For example, if I access a folder with images in it, like:
mysite.com/pics/myimage.jpg
... which is only one layer deep, it works just fine...
But I have a number of open-source projects under pathing such as:
mysite.com/downloads/myapp/myapp-v0.61.tar.gz
When I try to access that URL, Drupal feeds me my home page, and this behavior repeats for every file/folder I try to access under my /downloads/ folder if the folder/file depth is more than one level away from the root of my site. In other words, any URL that has more than one layer of folders, and Drupal tries to handle the URL for me without detecting that the folders/files actually exist.
I'm sure there's a mod_rewrite rule to help this, but so far I've tried inserting this into my .htaccess file, but had no luck:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !(downloads) <---- added this line
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
Perhaps I need to include the subfolders in there, like
RewriteCond %{REQUEST_URI} !(downloads/myapp)
??