error 403 forbidden

Discussion in 'Installation/Configuration' started by Xzave, Jun 15, 2019.

  1. Xzave

    Xzave Member

    Hi, All,

    i install a web site "bestrad . be" at my own server debian 9 stretch with ispconfig3.
    i would like to execute a .cgi script . On command line "perl hello.cgi" is ok.
    i install this cgi in another directory of cgi-bin.
    then i configure apache2.conf with this line:

    <Directory "/var/www/clients/client2/web3/web/cgibin/">
        Options +ExecCGI
        AddHandler cgi-script .cgi

    effectively, the hello.cgi is in that directory (and no in cgi-bin)

    i do the command line for permission
    chmod 755 hello.cgi
    but when i navigate in "bestrad .be/cgibin/hello.cgi", i have an error code 403 forbidden.

    thanks in advance for your help.


Share This Page