EricFontysICT Posted September 10, 2024 Posted September 10, 2024 Hello dear Processwire users, I just upgraded my MAMP from 6.7 to 7.0. (MySQL remains 5.7). Now I can only access the homepage of each Processwire site on my local host, all other pages (including Admin) give me this message: Not Found - The requested URL was not found on this server. - Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I cleared Cache, imported the database again, but no result so far. I hope somebody has a solution for this problem (I can't find it for now....) Many thanks in advance!
da² Posted September 10, 2024 Posted September 10, 2024 (edited) Hello, When reading this, I think it's related with .htaccess not processed, I might be wrong but that's the first thing I would look at. How do you configure the VirtualHosts of each site? Is there a directive AllowOverride? https://stackoverflow.com/questions/35251032/how-to-create-virtual-hosts-in-mamp Edited September 10, 2024 by da² 3
EricFontysICT Posted September 11, 2024 Author Posted September 11, 2024 Hi Da2, thanks for your suggestion. I'll have a look into it and will let you know. 1
da² Posted September 11, 2024 Posted September 11, 2024 (edited) Maybe first check the global parameter : https://stackoverflow.com/a/21411933 Especially if you didn't create virtual hosts for each site. Edited September 11, 2024 by da² 3
EricFontysICT Posted September 11, 2024 Author Posted September 11, 2024 Hi Da2, thank you so much for your help, the problem is solved. I changed 2 things (like suggested in your latest link): <Directory /> Options Indexes FollowSymLinks AllowOverride All </Directory> AND: Go to httpd.conf on /Applications/MAMP/conf/apache and see if the LoadModule rewrite_module modules/mod_rewrite.so line is un-commented (without the # at the beginning) Everything is working again as it should! 1 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now