
Kitch
-
Posts
2 -
Joined
-
Last visited
Posts posted by Kitch
-
-
Hey there, im quite new to the whole backend thing. im mostly a frontend type. But i wanted to host a few low traffic sites on a vps i rented. So i setup a vps using ubuntu 22.04. i installed apache2 and then followed a guide to create a few websites. this all works quite well. Now the problem comes when i tried installing processwire onto the first site. The installation went fine and it shows me the starting page with some home text.
but when i try to call for the admin page using /cp/ in my case it gives me a 404 error.
I looked on the internet and people said to test my htacces file. and when i add some random text in it. the site stays the same. so the htacces isn't being read. i already change basically all .conf files in my virtualhosts to say "AllowOverride All".
Below ill have a photo of my structure and files. please help me out here.
This below is the virtualhost of my kitchdesign.nl.conf file in /sites-available/
[Beginner] htacces not being read by apache
in General Support
Posted
I have found my particular mistake, for other people wanting to know how to fix this in similar situations.
I went to the apache2 folder and editted the apache2.conf
in that folder there's this piece of code. In here you should edit the AllowOverride to All aswell. i changed all of them. but thats probably not necessary. by the looks of it you should only have to change the one with directory /var/www/
I hope this helps other people