Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # .htaccess file in root directory
- <IfModule mod_rewrite.c>
- RewriteEngine on
- RewriteRule ^$ public/ [L]
- RewriteRule (.*) public/$1 [L]
- </IfModule>
- # .htaccess file in /public directory
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^(.*)$ index.php?url=$1 [PT,L]
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement