Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I run Drupal on a webserver in the root www directory.

I have added another application in a www subdirectory (Piwik). When I try to navigate to the subdirectory app, I get this error message "The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete."

Now, if I use Internet Explorer, I still get an error, but it is my Drupal 404 error page, so the behavior is a little different.

Now, back in Firefox, if I try to navigate to a subdirectory that doesn't exist, I get the Drupal 404 page which is what should happen.

So basically I'd like to know how to allow a subdirectory to pass through and to disallow Drupal to handle it. I did some research and tried adding this at the end of my .htaccess file in the www root, but no luck

#Override directory handling for PIWIK
<IfModule mod_rewrite.c>
RewriteEngine on
#
# stuff to let through (ignore)
RewriteCond %{REQUEST_URI} "/piwik/" [OR]
RewriteCond %{REQUEST_URI} "/subdirectory2/"
RewriteRule (.*) $1 [L]
#

Please help! Thanks.

share|improve this question
    
What version of Drupal are you running? –  Josh Mountain Feb 24 '13 at 21:37
    
Without seeing all the .htaccess file its impossible to answer this question. Please post, or if solved let us know how it was achieved. –  bybe Mar 16 '13 at 21:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.