Glen Ulmer Posted July 13, 2021 Share Posted July 13, 2021 404 error for localhost/processwire after install, localhost displays content as expected. http://localhost/processwire/ --> 404 I don't see a directory or php file named processwire in either var/www/html or ./site. This happens whether or not I follow the "cleanup" steps shown in the last step of the installation. In case it helps, here is the ls -l output from /var/www/html: root@phx:/var/www/html# ll total 172 drwxr-xr-x 9 root root 4096 Jul 13 11:59 ./ drwxr-xr-x 3 root root 4096 Jul 13 11:43 ../ -rw-r--r-- 1 root root 537 Jul 9 21:09 composer.json -rw-r--r-- 1 root root 3571 Jul 9 21:09 CONTRIBUTING.md -rw-r--r-- 1 root root 52 Jul 9 21:09 .gitattributes -rw-r--r-- 1 root root 708 Jul 9 21:09 .gitignore -rw-r--r-- 1 root root 24239 Jul 9 21:09 .htaccess -rw-r--r-- 1 root root 2471 Jul 9 21:09 index.php -rw-r--r-- 1 root root 60898 Jul 9 21:09 install.php -rw-r--r-- 1 root root 19125 Jul 9 21:09 LICENSE.TXT -rw-r--r-- 1 root root 10712 Jul 9 21:09 README.md drwxr-xr-x 6 root root 4096 Jul 13 11:51 site/ drwxr-xr-x 6 root root 4096 Jul 9 21:09 site-blank/ drwxr-xr-x 6 root root 4096 Jul 9 21:09 site-classic/ drwxr-xr-x 6 root root 4096 Jul 9 21:09 site-default/ drwxr-xr-x 6 root root 4096 Jul 9 21:09 site-languages/ drwxr-xr-x 6 root root 4096 Jul 9 21:09 site-regular/ drwxr-xr-x 5 root root 4096 Jul 9 21:09 wire/ Link to comment Share on other sites More sharing options...
netcarver Posted July 13, 2021 Share Posted July 13, 2021 Hi @Glen Ulmer This might help. Also, were there any warnings (non green notices) during the install process? Sounds like mod_rewrite might not be turned on (or configured correctly) on you server. Link to comment Share on other sites More sharing options...
Glen Ulmer Posted July 13, 2021 Author Share Posted July 13, 2021 Thanks for the note. It seems not to be reading the .htaccess file, everything was green at install. I will look at *AllowOverride* in the Apache config. A related question - and a suggestion - do you maintain a LAMP + PW autoinstall package for Ubuntu LTS versions or would the PW team consider it? I think it would be a good marketing move to be able to spin up a PW server on Digital Ocean, Linode, etc. Link to comment Share on other sites More sharing options...
netcarver Posted July 13, 2021 Share Posted July 13, 2021 I'm not aware of an official one, no, but there have been several packagings of PW for stacks. Here's one from bitnami for example. There are also various vagrant and docker offerings. 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