LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache problems (https://www.linuxquestions.org/questions/linux-software-2/apache-problems-61395/)

otisthegbs 05-23-2003 12:55 PM

Apache problems
 
hi there, I'm using RH9 and have apache and php running. I'm currently trying to get a news management website up and running using something called tikiwiki. My webpage directory is /var/www/html and I'm not too sure what user the apache daemon runs under. I believe its nobody. Tikiwiki is saying that it doesn't have suffiecent privleges to write to the directory, and the bash setup script held within the document root, is saying it doesn't have permissions to execute the script even tho I am running the script as root. I believe that's because its trying to run the script through the apache user (nobody). So I was wondering how I change the permissions so that it can write.

I tried doing chmod 775 to the /var/www/html but that didnt work.

david_ross 05-23-2003 01:06 PM

On newer versions of apache - apache runs as apache. Older versions were nobody though.

You can find out by looking at the httpd.conf file and looking at the user and group options.

Tiki is good I have used it before. I can;t remember the directories it needs access to but it does tell you in the instructions. I would keep the files owned by your account. assign everything to a group of apache then do a chmod g+w for dirs that apache needs write access to.


All times are GMT -5. The time now is 01:54 AM.