# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER Alias @PNP_URL@ "@datarootdir@" AllowOverride None = 2.3> Require all granted # Require host 127.0.0.1 Order allow,deny Allow from all # # Use the same value as defined in nagios.cfg # AuthName "Nagios Access" AuthType Basic AuthUserFile @NAGIOS_PWD@ Require valid-user # Turn on URL rewriting RewriteEngine On Options symLinksIfOwnerMatch # Installation directory RewriteBase @PNP_URL@/ # Protect application and system files from being viewed RewriteRule "^(?:application|modules|system)/" - [F] # Allow any files or directories that exist to be displayed directly RewriteCond "%{REQUEST_FILENAME}" !-f RewriteCond "%{REQUEST_FILENAME}" !-d # Rewrite all other URLs to index.php/URL RewriteRule "^.*$" "index.php/$0" [PT]