.htaccess vs apache server-status

I have a problem with Drupal's original .htaccess file. If i put this file into my apache docroot ( / ) for clean URL-s, i cannot reach the apache statistic page (ExtendedStatus On). From localhost -> http://mydomain/server-status -> I get "page not found" message. If i remove .htaccess file, i can reach the page.php

Suspected lines are:html

# Rewrite current-style URLs of the form 'index.php?q=x'.
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

If i uncomment these lines, my problem is gone.node

Any idea? Workaround?apache

Thanks.dom

Comments

I'm interested in this as

I'm interested in this as well...ide

I've been looking into it to get the munin Apache module working (munin polls the server-status URL) but Drupal replies with a 404. Haven't found a way around it yet.post

just add a line

I had the same problem and looked at:http://httpd.apache.org/docs/2.0/mod/mod_rewrite.htmlthis

I just added a line about /server-statusidea

  # Rewrite current-style URLs of the form 'index.php?q=x'.   RewriteCond %{REQUEST_URI} !=/server-status   RewriteCond %{REQUEST_FILENAME} !-f   RewriteCond %{REQUEST_FILENAME} !-d   RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
相關文章
相關標籤/搜索