Lep pozdrav.
Prosim za pomoÃï na FC3 x86_64 s suexec okoljem.
Kadar dostopam do /cgi-bin/test.cgi deluje vse normalno.
Za dostop do ~damijan/test.cgi sem moral najprej rocno ustvariti log
datoteko
touch /var/log/httpd/suexec.log
, nakar se v tem dnevniku pojavlja:
[2005-03-09 16:04:03]: uid: (502/damijan) gid: (502/502) cmd: test.cgi
[2005-03-09 16:04:03]: cannot get docroot information (/home/damijan)
Apache je verzija 2.0.52-3.1
Datoteka test.cgi:
#!/usr/bin/perl
print "Content-type: text/plain\n\n";
print "Hello";
Konfiguracija httpd.conf (zanimiv del):
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
...
<IfModule mod_userdir.c>
#
# UserDir is disabled by default since it can confirm the presence
# of a username on the system (depending on home directory
# permissions).
#
#UserDir disable
UserDir disabled
UserDir enabled simon borko saso damijan
# To enable requests to /~user/ to serve the user's public_html
# directory, remove the "UserDir disable" line above, and uncomment
# the following line instead:
#
UserDir public_html
</IfModule>
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
<Directory /home/*/public_html>
AllowOverride None
Options MultiViews Indexes SymLinksIfOwnerMatch ExecCGI
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
Lepo prosim za pomoÃï.
Simon
_______________________________________________
lugos-list mailing list
lugos-list@lugos.si
http://liste2.lugos.si/cgi-bin/mailman/listinfo/lugos-list