Alias /phppgadmin /var/www/phppgadmin Require all granted DirectoryIndex index.php AllowOverride None # Only allow connections from localhost: #Require local php_flag magic_quotes_gpc Off php_flag track_vars On #php_value include_path . AddType application/x-httpd-php .php Action application/x-httpd-php /cgi-bin/php AddType application/x-httpd-php .php Action application/x-httpd-php /cgi-bin/php