This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CGI problems whith latest apache2


>>>>> Gerrit P Haase writes:

    > P.S.: Have you checked file / directory permissions?  Under which user
    > account is httpd running, this user has access too?

06:06 PM [508]> grep "User " /etc/apache2/httpd.conf 
#  . On SCO (ODT 3) use "User nouser" and "Group nogroup".
User vzell

06:06 PM [509]> grep "Group " /etc/apache2/httpd.conf 
#  . On SCO (ODT 3) use "User nouser" and "Group nogroup".
#  when the value of (unsigned)Group is above 60000; 
#  don't use Group #-1 on these systems!
Group admin

06:06 PM [510]> cat /etc/passwd
system::18:544:,S-1-5-18:/home/system:/bin/bash
root:*:544:544:,S-1-5-32-544::
admin:unused_by_nt/2000/xp:500:513:Dr. Volker Zell,U-vzell-de\Administrator,S-1-5-21-1085693837-1141710521-909380691-500:/home/Administrator:/bin/bash
guest:unused_by_nt/2000/xp:501:513:U-vzell-de\Guest,S-1-5-21-1085693837-1141710521-909380691-501:/home/Guest:/bin/bash
vzell:unused_by_nt/2000/xp:1000:513:Dr. Volker Zell,U-vzell-de\vzell,S-1-5-21-1085693837-1141710521-909380691-1000:/home/vzell:/bin/bash
sshd:unused_by_nt/2000/xp:1004:513:sshd privsep,U-vzell-de\sshd,S-1-5-21-1085693837-1141710521-909380691-1004:/var/empty:/bin/false

06:07 PM [511]> cat /etc/group
root:S-1-5-32-544:0:
system:S-1-5-18:18:
admin:S-1-5-21-1085693837-1141710521-909380691-513:513:
admins:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
guests:S-1-5-32-546:546:
Power Users:S-1-5-32-547:547:
Replicator:S-1-5-32-552:552:
users:S-1-5-32-545:545:

06:05 PM [506]> procps aux --forest | grep httpd2
vzell     2120  0.0  0.7   6912  8016 ?        Ss   Aug30   0:00 /usr/sbin/httpd2 -k start 
vzell     2024  0.0  0.7   6928  7892 ?        S    Aug30   0:00  \_ /usr/sbin/httpd2 -k start 
vzell     2156  0.0  0.7   6908  7872 ?        S    Aug30   0:00  \_ /usr/sbin/httpd2 -k start 
vzell      148  0.0  0.7   6924  7888 ?        S    Aug30   0:00  \_ /usr/sbin/httpd2 -k start 
vzell     2428  0.0  0.1   2656  1520 tty3     S    21:47   0:00          |       \_ grep httpd2 

06:07 PM [512]> ls -lsaitR /srv
/srv:
total 4
1407374883553285 4 drwxrwxr-x+ 15 root  root  4096 Jul 14 08:23 ../
 281474977276901 0 drwxr-xr-x+  4 vzell admin    0 Jun 24 08:21 www/
 281474977276900 0 drwxr-xr-x+  3 vzell admin    0 Jun 24 08:21 ./

/srv/www:
total 12
281474977276939  0 drwxr-xr-x+ 2 vzell admin     0 Jul 14 18:08 cgi-bin/
281474977276902 12 drwxr-xr-x+ 2 vzell admin 12288 Jul  9 12:39 htdocs/
281474977276901  0 drwxr-xr-x+ 4 vzell admin     0 Jun 24 08:21 ./
281474977276900  0 drwxr-xr-x+ 3 vzell admin     0 Jun 24 08:21 ../

/srv/www/cgi-bin:
total 5
281474977276939 0 drwxr-xr-x+ 2 vzell admin   0 Jul 14 18:08 ./
281474977276940 1 -rwxr-xr-x+ 1 vzell admin 288 Jul  9 12:14 printenv*
281474977276941 4 -rwxr-xr-x+ 1 vzell admin 779 Jun 24 08:21 test-cgi*
281474977276901 0 drwxr-xr-x+ 4 vzell admin   0 Jun 24 08:21 ../

Ciao
  Volker


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]