Closed ehsanghorbani190 closed 8 months ago
Is your website on localhost available directly at http://localhost, or is it in subfolder, like http://localhost/atu/? If it's the latter, then you might need to add this to your .htaccess file below RewriteEngine On
:
RewriteBase /atu/
Check the server logs.
EDIT: Also, all of those htaccess rules can be replaced with this:
FallbackResource /index.php # or whatever your main file is called
@ehsanghorbani190 does this problem still exists?
@krmu honestly I don't know. I've moved from that project and also PHP.
Hi! this is my
index.php
file:and this is my
.htaccess
file:and this is what i get when i try to access
localhost/atu
:Where's the problem?!
Update: I just tested it on a server and it works fine, but i cant use it on my local machine.