edy wrote:

>now when i open smokeping.cgi in the web, it open a download window which 
>offer me to download file smokeping.cgi from my server.
>
>  
>
OK, I found a few things that may be contributing to the problem:

Change
Alias /images /var/www/htdocs/smokeping/images

TO

Alias /smokeimg /var/www/htdocs/smokeping/images

Change these lines:

# To use CGI scripts:
#
#AddHandler cgi-script .cgi

TO

# To use CGI scripts:
#
AddHandler cgi-script .cgi

Change:
<Directory "/var/www/htdocs">
#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
Options Indexes FollowSymLinks

TO


<Directory "/var/www/htdocs">
#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
Options Indexes FollowSymLinks ExecCGI

That should (big "S") get it working.

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to