cyberderf Posted December 30, 2020 Share Posted December 30, 2020 Just installed locally on Windows 10 and MAMP. Installation went fine, but not the admin page. I used a virtualhost and load my site like this: local.mywebsite.com. Frontpage work fine, but httptp://local.mywebsite.com/processwire/gives a 404 error. My virtualhost in MAMP apache config is set like that, and MAMP is running on port 80. <VirtualHost *:80> DocumentRoot "C:\Users\Fred\sites\mywebsite" ServerName local.mywebsite.com </VirtualHost> I also added the following in windows hosts file, at the end: 127.0.0.1 local.mywebsite.com Any idea why the admin page dont load? Edit: if this could help, every other subpages dont works either. Ex. http://local.mywebsite.com/about/ Link to comment Share on other sites More sharing options...
Gideon So Posted December 30, 2020 Share Posted December 30, 2020 Hi @cyberderf, Welcome to the forum. It seems like a url rewrite problem. Please check the following: 1. Does .htacccess file exist in your web root folder. You need to rename the htaccess.txt file to .htaccess. 2. Check your apache conf file and see if mod_rewrite is enabled. Gideon 2 Link to comment Share on other sites More sharing options...
flydev Posted December 31, 2020 Share Posted December 31, 2020 10 hours ago, cyberderf said: httptp://local.mywebsite.com/processwire/gives a 404 error. remove this comment : https://github.com/processwire/processwire/blob/master/htaccess.txt#L173 2 Link to comment Share on other sites More sharing options...
cyberderf Posted January 1, 2021 Author Share Posted January 1, 2021 For the record I finally ended just adding this to MAMP httpd.conf , restarted MAMP/Apache and it works: <Directory "C:\Users\Fred\sites\mywebsite"> AllowOverride All /Directory> Thanks for help! Link to comment Share on other sites More sharing options...
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