Muci me ovaj irc chat samo tako:
http://cgiirc.sourceforge.net/
Za pocetak konfiguracija apache-a:
#LoadModule
LoadModule cgi_module libexec/apache/mod_cgi.so
#AddModule
AddModule mod_cgi.c
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin"
#
# "/usr/local/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/usr/local/www/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
AddHandler cgi-script .cgi
Dakle ja kada upload-ujem klajent u /cgi-bin dobijam "permission error" (permission denied), ali zasto? chmod-ovo sam cak sve na 777 da se uverim da nije zbog dozvola na fajlovima ali jok!
Takodje ni .htaccess nije problem jer on zabranjuje samo pristup jednom fajlu.
Any ideas?
|