Created
December 7, 2014 20:32
-
-
Save zamicol/33712c731b02f04a4b37 to your computer and use it in GitHub Desktop.
Installation of Laravel on Apache on Debian and Ubuntu
This file contains hidden or 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
After installing, make sure the permissions are proper | |
sudo chmod -R g+w storage/ | |
sudo chown -R :www-data storage/ | |
Then modify the .htaccess file under yourProjectName/public/.htaccess | |
RewriteBase /yourProjectName/ | |
Then add an alias to the Apache conf | |
Alias /yourProjectName /var/www/whatever/yourProjectName/public |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This also needs to be added to the apacheconf for the routes to work: