Subject: Re: PHP Problem
From: Joshua J.Kugler (isd@as.uaf.edu)
Date: Fri Jan 24 2003 - 10:43:41 AKST
This is an excerpt from our httpd.conf
<VirtualHost asuaf.org:80>
ServerName asuaf.org
ServerAlias www.asuaf.org
ServerAlias www.as.uaf.edu
DocumentRoot /home/asuaf/htdocs
User asuaf
Group asuaf
</VirtualHost>
The user/group directives tell apache what use and group to look for and run
for the virtual host. The scripts must be owned by the user and (I assume)
the group. The scripts cannot be world writeable or executable, and if you
are storing passwords in the scripts, they shouldn't be world readable either.
I hope that helps a little.
j----- k-----
On Wednesday 22 January 2003 23:20, you wrote:
> Okay, I have suExec, but the online documents are extreamly unhelpful. How
> does it work? Can I use suexec to run bash scripts? All I get from online
> so far is that you can set a virtual host for suexec but they don't say
> how. What do I have to do to get my scripts to run under suexec?
-- Joshua Kugler, Information Services Director Associated Students of the University of Alaska Fairbanks isd@asuaf.org, 907-474-7601--------- To unsubscribe, send email to <aklug-request@aklug.org> with 'unsubscribe' in the message body.
This archive was generated by hypermail 2a23 : Fri Jan 24 2003 - 10:43:45 AKST