rflorat07/backend-project/master/.htaccess - Htaccess File

rflorat07/backend-project/master/.htaccess

RewriteEngine On

 
RewriteRule ^.htaccess$ - [F]
 
RewriteCond %{REQUEST_URI} =""
RewriteRule ^.*$ /public/index.php [NC,L]
 
RewriteCond %{REQUEST_URI} !^/public/.*$
RewriteRule ^(.*)$ /public/$1
 
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^.*$ - [NC,L]
 
RewriteRule ^public/.*$ /public/index.php [NC,L]

<Limit GET POST PUT DELETE>
order deny,allow
allow from all
</Limit>

On Github License

Files

Download PDF of Htaccess file
GET, POST, PUT, REQUEST_FILENAME, REQUEST_URI

Comments

Apache