Skip to content

Instantly share code, notes, and snippets.

@krmgns
Last active August 29, 2015 14:18
Show Gist options
  • Save krmgns/ec9fba8aa6d38b881beb to your computer and use it in GitHub Desktop.
Save krmgns/ec9fba8aa6d38b881beb to your computer and use it in GitHub Desktop.
laravel issues
-
if using apache, remove this line in .htaccess if POST'ing to an url
like /foo/. it is redirecting first to /foo and cancelling form submit.
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
-
ensure all dir's are writable like /var/www/foo.com/app/storage/logs/.
if yet does not work, create file manually that that guy trying to write
like log-apache2handler-2015-04-03.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment