Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

.htaccess when deploying

Options +FollowSymLinks
IndexIgnore */*

RewriteEngine on

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# otherwise forward it to index.php
RewriteRule . index.php
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #deploying
ADD COMMENT
Topic
Name
3+5 =