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=15)
-   -   Automatic make web space writeable(?) (http://www.howtoforge.com/forums/showthread.php?t=12739)

Ohem 16th May 2007 16:23

Automatic make web space writeable(?)
 
I'm still learning Linux and ISPConfig through the main site and VMWare i currently use. My goal with ISPConfig is to create a free webhost since there isn't any other hosts I'm satisfied with.

I noticed with one of the How-To's on usng Joomla with ISPConfig, my attention got caught with "Step 8" where it says I've to manually make the web space writeable the "chrown" command. This is a problem since it's dependant on me and not on the user from what i understood from the article, shouldn't the directories for the webspace automatically be writeable when a site/"customer" is added?

If not, why not add that as a feature?

danf.1979 16th May 2007 20:28

You can try to use suphp, so the web dir is writeable by the web server automatically. Right now, your problem is that:

Apache runs on www-data (or similar user).
The web tree is owned by another user.
You have to manually make some parts of the web home writeable for some of the CMS funcionality (for example, upload dirs)

With suphp, apache runs as the user that owns the executed script, so problems are gone.

Cheers

danf.1979 16th May 2007 20:33

Chech this tutorial, although if you search in the forums there is plenty information. http://howtoforge.com/suphp_debian_etch_ispconfig
There are more tutorials, so search for them too...

Ohem 16th May 2007 21:45

Great and many thanks!

Though i usually search forums in general before asking, but i got stuck with what keywords i should use or spend time being a "good boy" with a high pride challenge myself knowing everything. So i post here in the forums instead of getting lost.


All times are GMT +2. The time now is 06:35.

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