Answer the question
In order to leave comments, you need to log in
404 Not Found- How to solve?
In general, I had such a problem, when opening the site before connecting to the database, I wrote an error that there was no connection (as it should be in principle). After entering the connection details, I got the following:
Not Found
The requested URL /account/login was not found on this server.
Apache/2.2.22 (Debian) Server at 109.234.34.191 Port 80
I was told to go through the config. those. nano /etc/apache2/apache2.conf and set AllowOverride All instead of None there.
So, I got into the settings and didn’t find
<Dirctory />
AllowOverride None
</Directory>
Answer the question
In order to leave comments, you need to log in
I had such a problem, though I have ubuntu (lamp stack), but I don’t think it plays a big role. So, in the virtual domain /etc/apache2/sites-available/
, I registered
<Directory /path>
AllowOverride All
DirectoryIndex index.php
</Directory>
and everything is gone. Perhaps this will help you.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question