Atomara
Debrandeter User
Hi@all
jedes mal wenn ich unter thttp eine cgi-datei starten möchte erscheint eine Fehlermeldung mit
403 Forbidden
The requested URL '/cgiirc/client.cgi' resolves to a file which is marked executable but is not a CGI file; retrieving it is forbidden.
nun ich habe keinen rat was ich tun könnte , wieso sollte diese datei keine cgi sein ? ich verstehe das nicht....
hier meine thttpd config
#------------------------------------------------------------------------------#
# thttpd version 2.23beta1 #
# Main configuration file #
#------------------------------------------------------------------------------#
#------------------------------------------------------------------------------#
# Port: portnum
# Sets the port number which will be listened by thttpd.
# Default: 80
#
port=80
# chroot/nochroot
# Sets whether thttpd will chroot after starting.
# Default: nochroot
#chroot/home/ftp/http
# user: userid
# Specified which user to switch after intialiazation when started as root.
# Default: www-data
user=www-data
# host: hostname
# Specifies a hostname to bind to.
# Default: Bind to all supported hostnames on the local machine.
# host=grugler
# Logfile: logfile path
# Specifies a file for logging.
# Default: Log via syslog()
logfile=/var/log/thttpd.log
# throttles: file
# Specifies a file of throttle settings.
# Default: /etc/thttpd/throttle.conf
throttles=/etc/thttpd/throttle.conf
# urlpat: pattern
# Specifies which URL can only be only be accessed from the local server.
# Default: None
# urlpat=*.mpeg|*.mp3|*.wav|*.gz|*.jpg|*.gif
# dir: directory
# Specifies a directory to chdir() to after thttpd starts.
# This directory will most likely be the directory you will be serving your
# clients from.
# Default: `cwd`
dir=/home/ftp/http
# cgipat: pattern
# Specifies which URL may contain executable CGI files.
# Default: None
#cgipat=/usr/lib/cgi-bin/cgiirc/*
jedes mal wenn ich unter thttp eine cgi-datei starten möchte erscheint eine Fehlermeldung mit
403 Forbidden
The requested URL '/cgiirc/client.cgi' resolves to a file which is marked executable but is not a CGI file; retrieving it is forbidden.
nun ich habe keinen rat was ich tun könnte , wieso sollte diese datei keine cgi sein ? ich verstehe das nicht....
hier meine thttpd config
#------------------------------------------------------------------------------#
# thttpd version 2.23beta1 #
# Main configuration file #
#------------------------------------------------------------------------------#
#------------------------------------------------------------------------------#
# Port: portnum
# Sets the port number which will be listened by thttpd.
# Default: 80
#
port=80
# chroot/nochroot
# Sets whether thttpd will chroot after starting.
# Default: nochroot
#chroot/home/ftp/http
# user: userid
# Specified which user to switch after intialiazation when started as root.
# Default: www-data
user=www-data
# host: hostname
# Specifies a hostname to bind to.
# Default: Bind to all supported hostnames on the local machine.
# host=grugler
# Logfile: logfile path
# Specifies a file for logging.
# Default: Log via syslog()
logfile=/var/log/thttpd.log
# throttles: file
# Specifies a file of throttle settings.
# Default: /etc/thttpd/throttle.conf
throttles=/etc/thttpd/throttle.conf
# urlpat: pattern
# Specifies which URL can only be only be accessed from the local server.
# Default: None
# urlpat=*.mpeg|*.mp3|*.wav|*.gz|*.jpg|*.gif
# dir: directory
# Specifies a directory to chdir() to after thttpd starts.
# This directory will most likely be the directory you will be serving your
# clients from.
# Default: `cwd`
dir=/home/ftp/http
# cgipat: pattern
# Specifies which URL may contain executable CGI files.
# Default: None
#cgipat=/usr/lib/cgi-bin/cgiirc/*