On Fri, Jun 30, 2000 at 09:53:43PM -0700, Jay Kelly wrote: > On Fri, Jun 30, 2000 at 08:08:14PM -0700, kmself@ix.netcom.com wrote: > > On Fri, Jun 30, 2000 at 07:55:38PM -0700, Jay Kelly wrote:
[...] > > Directories must have read and execute permissions for user "www-data" > > (world read/execute if not owned by www-data or not with a www-data > > group's permissions). Files must be readable by www-data. CGI scripts > > must be executable by www-data. > > > > ...assuming your apache server is running as user www-data. This is the > > Debian default, YMMV. > > > > I'd try that first. > > > > eg: > > > > $ ls -ld /var/www > > drwxr-xr-x 7 root www-data 1024 May 30 00:38 /var/www > > ^ ^ ^^^^^^^^ > > > > .../var/www is set group www-data and has read and execute permissions. > > > Should I be worried that my apache server is running under root. > When I do a ls -ld /var/www I get > drwxr-xr-x 3 root root 1024 Jun 30 20:06 /var/www This doesn't show your Apache process running as root, it shows /var/www owned by root, with group and world read/execute permissions. That's fine. To find out what Apache's running as, try: $ ps aux | grep apache > And if so how can I can it??? Your Apache user/group IDs are set in /etc/apache/httpd.conf -- Karsten M. Self <kmself@ix.netcom.com> http://www.netcom.com/~kmself Evangelist, Opensales, Inc. http://www.opensales.org What part of "Gestalt" don't you understand? Debian GNU/Linux rocks! http://gestalt-system.sourceforge.net/ K5: http://www.kuro5hin.org GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0
pgpXlcefApsbL.pgp
Description: PGP signature