Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options -Indexes +SymLinksIfOwnerMatch
- DirectoryIndex index.php index.html
- RewriteEngine on
- RewriteBase /
- RewriteCond %{REQUEST_URI} !^/production/
- # Don't apply to URLs that go to existing files or folders
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- # Rewrite all those to insert /production folder
- RewriteRule ^(.*)$ /production/$1 [L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement