Jump to content
Froxlor Forum
  • 0

PHP5-FPM 403 Forbidden: Fix


RhysIT

Question

Hi There,

 

I managed to fix this error which some have been experiencing by adding the froxlorlocal user to the www-data group. In the configuration, the froxlorlocal group is added to the www-data user, however the www-data group needs to be added to the froxlorlocal user to work properly.

 

Unless I've done something wrong, this should be alright? It's strange how I am one of so few experiencing this issue, on both of my servers running froxlor. I can recreate it by installing and fully configuring froxlor, and then configuring php5-fpm (in order to correct permissions issues with Wordpress). From this point on, all created domains produce a 403 error.

 

Rhys

 

P.S. Is it possible to run froxlor without creating users home directories under their own usernames? So just using www-data for everything?

 

P.P.S. Thank you so much for all you do! It's a fantastic product :)

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

This appears to not just affect Apache but also Nginx. I was getting a 403 forbidden error on my new domain until I restarted Nginx. I also restarted nscd  but I don't know if this did anything. It certainly didn't on its own.

Link to comment
Share on other sites

It seems this needs to be run every time a new domain is created for the 403 Error to disappear

 

usermod -aG www-data froxlorlocal

service apache2 reload

 

Is there something that can be done to correct this?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...