Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th October 2012, 10:42
Rashef Rashef is offline
Member
 
Join Date: Nov 2008
Posts: 60
Thanks: 8
Thanked 2 Times in 2 Posts
Default 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??????!!!?!?!?
Reply With Quote
Sponsored Links
  #2  
Old 10th October 2012, 13:10
Rashef Rashef is offline
Member
 
Join Date: Nov 2008
Posts: 60
Thanks: 8
Thanked 2 Times in 2 Posts
Default

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...
Reply With Quote
  #3  
Old 12th October 2012, 11:30
Rashef Rashef is offline
Member
 
Join Date: Nov 2008
Posts: 60
Thanks: 8
Thanked 2 Times in 2 Posts
Default

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
Reply With Quote
  #4  
Old 12th October 2012, 11:45
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 12th October 2012, 12:53
Rashef Rashef is offline
Member
 
Join Date: Nov 2008
Posts: 60
Thanks: 8
Thanked 2 Times in 2 Posts
 
Default

Quote:
Originally Posted by till View Post
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!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:34.


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