HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Webserver (not) online and permissions (http://www.howtoforge.com/forums/showthread.php?t=59034)

Rashef 10th October 2012 10:42

Webserver (not) online and permissions
 
Hi guys,

this morning I found an error message on my ISPConfig3 Monitor page. Webserver is showed as OFFLINE even if the HTTPD service is up and running.

All the websites are online but I noticed a worrying behavior: I have mostly Wordpress installations and now I'm not able to upload pictures with the integrated uploader anymore. The 755 permission on the "upload" folders, that worked till yesterday, now it's not enough. It works only if I set 775 permission.

What the h**l did change??????!!!?!?!? :confused:

Rashef 10th October 2012 13:10

Ok I solved the problem.
Some days ago I modified /etc/httpd.conf modifying the "Listen" entry from:

Code:

Listen 80
to

Code:

Listen public_ip:80
And the httpd service was restarted last night. Everything was solved changing it back...

Rashef 12th October 2012 11:30

Guys, I still have one problem!
I noticed that one of the Wordpress webiste suddenly is not able to upload files anymore. After some test I realized that now the website is running with user Apache instead of the client user...

The only difference from other website on the same ISPconfig installation is that some week ago I had to switch this website from FastCGI to mod-PHP because of a plugin.

What could be the problem?

thanks a lot

till 12th October 2012 11:45

The problem is that you switched from php-fastcgi to mod_php. mod_php does not support different users for websites, so you cant upload files when you use mod_php or you will have to chmod the upload folder to 777 which is qute insecure.

Rashef 12th October 2012 12:53

Quote:

Originally Posted by till (Post 286584)
The problem is that you switched from php-fastcgi to mod_php. mod_php does not support different users for websites, so you cant upload files when you use mod_php or you will have to chmod the upload folder to 777 which is qute insecure.

Woah... what a mistake!
Thanks!


All times are GMT +2. The time now is 03:33.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.