Problem sa CGI chat-om.

Problem sa CGI chat-om.

offline
  • Pridružio: 25 Mar 2005
  • Poruke: 1456
  • Gde živiš: Tamo negde

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?



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • Peca  Male
  • Glavni Administrator
  • Predrag Damnjanović
  • SysAdmin i programer
  • Pridružio: 17 Apr 2003
  • Poruke: 23211
  • Gde živiš: Niš

cgi-bin/ stavi pored www/, a ne u www/
znaci, probaj da ga path bude /usr/local/cgi-bin/



offline
  • Pridružio: 25 Mar 2005
  • Poruke: 1456
  • Gde živiš: Tamo negde

http://irc.fun-zone.org/cgi-bin/

Ista stvar :S

Dopuna: 19 Dec 2005 9:37

Ja sam bre kreten!!!

Ono sto sam ja ustvari trebao uraditi je sledece:

ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin" Potpuno eliminisati ovu liniju.

-

<Directory "/usr/local/www/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

Ovo je takodje nepotrebno.

A ono sto sam trebao dodati je sledece:

<Directory /usr/home/*/www/cgi-bin>
Options +ExecCGI
AddHandler cgi-script .cgi
</Directory>

Ko je trenutno na forumu
 

Ukupno su 1017 korisnika na forumu :: 33 registrovanih, 4 sakrivenih i 980 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: _Rade, aleksmajstor, ArchaBasha, babaroga, bigfoot, bokisha253, brundo65, ccoogg123, dankisha, Darko8, darkojbn, deimos25, djboj, Dukelander, JimmyNapoli, Još malo pa deda, Kibice, krkalon, Krusarac, kunktator, Metanoja, milenko crazy north, nikoladim, ObicanUser, pein, Pohovani_00, SR-3m, uruk, User98, vaso1, Vlada1389, voja64, Volkhov-M