harrysame/PHP-MySQL/master/demo/foo/www/.htaccess - Htaccess File

harrysame/PHP-MySQL/master/demo/foo/www/.htaccess

# Apache configuration file for Konstrukt application

# These lines enables logging of errors to /log/error.log
php_value error_log              "../log/error.log"
php_value log_errors             on
php_value html_errors            off

# Enable display errors in browser
# For a production site, set the following two lines to off
php_value display_startup_errors on
php_value display_errors         on

# These settings routes all traffic, except concrete files, to the dispatcher
DirectorySlash Off
Options FollowSymLinks Indexes
DirectoryIndex index.php

RewriteEngine on

RewriteCond %{REQUEST_FILENAME}  -d
RewriteRule  ^.*$  -  [L]

RewriteCond %{REQUEST_FILENAME}  -f
RewriteRule  ^.*$  -  [L]

RewriteRule ^.*$  index.php [L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache