php - htaccess in laravel doesn't work -
So I used my project Laravel 4.1 and when I tried to host it, I could not find anything , This is a picture I got:
< / P>
This is mine. htaccss code (inside public folder): Make sure that the directory and document is indicated in the root folder in the public folder
& lt; ifModule mod_rewrite.c & gt; Option + follow-up links on rewriting engine & lt; / IfModule & gt; & Lt; ifModule mod_rewrite.c & gt; RewriteCond% {REQUEST_FILENAME}! -f Rewrite% {REQUEST_FILENAME}! -d RectiteAril. ^ (. *) $ /index.php/$1 [L] & lt; / IfModule & gt;
DocumentRoot / var / www / public & lt; Directory / var / www / public & gt; Option Index Follow-up Simlinks AllowArrayide All the necessary & lt; / Directory & gt;
Comments
Post a Comment