Created
March 7, 2014 08:17
-
-
Save Tjorriemorrie/9407480 to your computer and use it in GitHub Desktop.
Symfony2 shared hosting htaccess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase /web | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^(.*)$ app.php [QSA,L] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stay away from shared hosting if you want to have good performance and security. I would rather suggest you to try out vps or cloud, they are a better option since you get dedicated server that you can scale anytime. If you don't have sysadmin skills to setup these servers, you can use managed platform, like Cloudways Symfony hosting (https://www.cloudways.com/en/symfony-hosting.php ), that gets you pre-installed servers so you don't have to worry about server management or sysadmin.