Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
And what exactly does it give out?
1) In the public directory in the .htaccess file, remove the lines
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
Options Indexes FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^$ public/ [L]
RewriteRule (.*) public/$1 [L]
</IfModule>
Only route / is opened, and on any other route, the server issues 404. What could be the matter?
Clumsy methods:
1. Throw all files and folders one level higher, and from the public folder files to public_html\htdocs.
2. Create a folder in it, throw all the laravel files except index.php server.php and the public folder, move the files to the root from the latter. Change the path in the index and server.php to yours and fix .htaccess.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question