ghalusa/PHP-Skeleton-App/master/.htaccess - Htaccess File

ghalusa/PHP-Skeleton-App/master/.htaccess

SetEnv PATH_TO_VENDOR vendor_path_placeholder
SetEnv CORE_TYPE vendor
SetEnv IS_DEV true

SetEnvIfNoCase Host "^([^.]*).com$" PATH_TO_VENDOR=vendor_path_placeholder CORE_TYPE=vendor IS_DEV=true

RewriteEngine On

# Some hosts may require you to use the `RewriteBase` directive.
# If you need to use the `RewriteBase` directive, it should be the
# absolute physical path to the directory that contains this htaccess file.
#
# RewriteBase /

RewriteBase /site/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /site/index.php [L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache