You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eddy Ilg <ed...@fericom.net> on 2005/11/24 19:54:54 UTC
[users@httpd] Problem with POST
Hi, I am stuck with trying to get apache working with POST cgi scripts.
I have a cgi script which works fine with GET, but when sending data
with POST, there ist just nothing on stdin.
Here's the configuration of my apache:
<VirtualHost 217.160.141.74>
Serveradmin eddy@fericom.net
ServerName guinies.fericom.net
DocumentRoot /var/www/eddy/guinies/cgi
<Directory /var/www/eddy/guinies/cgi/>
SetEnv MAIN_DIR /var/www/eddy/guinies
Options ExecCgi
Order allow,deny
Allow from all
SetHandler cgi-script
DirectoryIndex main
</Directory>
Alias /images/ /var/www/eddy/guinies/images/
<Directory /var/www/eddy/guinies/images>
Options None
</Directory>
</VirtualHost>
Here's my apache version:
> /usr/sbin/apache -V
Server version: Apache/1.3.29 (Debian GNU/Linux)
Server built: Mar 10 2004 19:07:32
Server's Module Magic Number: 19990320:15
Server compiled with....
-D EAPI
-D HAVE_MMAP
-D HAVE_SHMGET
-D USE_SHMGET_SCOREBOARD
-D USE_MMAP_FILES
-D HAVE_FCNTL_SERIALIZED_ACCEPT
-D HAVE_SYSVSEM_SERIALIZED_ACCEPT
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D DYNAMIC_MODULE_LIMIT=64
-D HARD_SERVER_LIMIT=4096
-D HTTPD_ROOT="/usr"
-D SUEXEC_BIN="/usr/lib/apache/suexec"
-D DEFAULT_PIDLOG="/var/run/apache.pid"
-D DEFAULT_SCOREBOARD="/var/run/apache.scoreboard"
-D DEFAULT_LOCKFILE="/var/run/apache.lock"
-D DEFAULT_ERRORLOG="/var/log/apache/error.log"
-D TYPES_CONFIG_FILE="/etc/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache/httpd.conf"
-D ACCESS_CONFIG_FILE="/etc/apache/access.conf"
-D RESOURCE_CONFIG_FILE="/etc/apache/srm.conf"
Any ideas?
Thanks
Eddy
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org