简体   繁体   中英

Enabling mod_status in Apache

I followed this tutorial to enable mod_status in order to monitor apache web server load and page statistics.

Link: http://www.tecmint.com/monitor-apache-web-server-load-and-page-statistics/

However, this website is running Drupal and I'm a little confused as to how Drupal really works and for some reason when I go to this page:

http://serveripaddress/server-status

I get an error: The site "/server-status" could not be found... I installed phpMyAdmin and never had any issues opening it through

http://serveripaddress/phpmyadmin

Anyone have any idea what could the problem be?

Thanks!

You're getting a 404 because Drupal is trying to respond to that path. Take a look at this:

https://www.drupal.org/node/52511

You may want to put this rewrite rule in your vhost configuration instead of Drupal's .htaccess file, because updates to Drupal will cause you to have to remember to patch the .htaccess file each time.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM