+ Responder ao Tópico

cgi



  1. #1
    Visitante

    Padrão cgi

    ae galera

    como faco para ativar script cgi no apache ..???

  2. #2

    Padrão cgi

    habilite estas linhas no seu http.conf

    LoadModule cgi_module modules/mod_cgi.so

    AddModule mod_cgi.c

    ScriptAlias /cgi-bin/ "/var/www/default/cgi-bin/"

    #
    # "/home/httpd/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    #
    <Directory "/var/www/default/cgi-bin">
    AllowOverride none
    Options ExecCGI
    Order allow,deny
    Allow from all
    </Directory>

    AddHandler cgi-script .cgi .pl

    e restart o seu httpd e pronto....



  3. #3
    Visitante

    Padrão cgi

    consegui valeu... :lol: :lol: :lol: :lol: