httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Moffett <>
Subject [users@httpd] helluva time with DAV. can't upload CGI's
Date Thu, 17 Apr 2003 19:40:41 GMT
This is my very first day on this list, so I apologize if this has 
been covered.  I've been trying to figure out how to do this for a 
couple of days.

My problem is that I can't upload a CGI with DAV (apache 2.0.45).
excerpts from the logs follow:

error log
[Tue Apr 15 14:03:59 2003] [error] (13)Permission denied: exec of 
'' failed
[Tue Apr 15 14:03:59 2003] [error] [client] Premature 
end of script headers:

access log - adam [15/Apr/2003:14:03:59 -0400] "PROPFIND 
/adam/cgi-bin/ HTTP/1.1" 404 222 "-
" "WebDAVFS/1.2.3 (01238000) Darwin/6.4 (Power Macintosh)" 666 397 - adam [15/Apr/2003:14:03:59 -0400] "PUT 
/adam/cgi-bin/ HTTP/1.1" 201 197 "-" "We
bDAVFS/1.2.3 (01238000) Darwin/6.4 (Power Macintosh)" 461 569 - adam [15/Apr/2003:14:03:59 -0400] "PROPFIND 
/adam/cgi-bin/ HTTP/1.1" 207 438 "-
" "WebDAVFS/1.2.3 (01238000) Darwin/6.4 (Power Macintosh)" 666 757 - - [15/Apr/2003:14:03:59 -0400] "GET 
/adam/cgi-bin/ HTTP/1.1" 500 544 "-" "WebDA
VFS/1.2.3 (01238000) Darwin/6.4 (Power Macintosh)" 442 750

Apparently apache is trying to execute the script.  The file ended up 
in the right place...but with a length of 0 bytes.  So I guess it's 
trying to execute it during the PUT(?).

This works if I change the handler for .pl and .cgi files, or if I 
set Options -ExecCGI.  But either way the CGI won't be useful after 
it's uploaded.  Does anyone know a way to configure apache such that 
CGI's won't be executed when you're trying to upload them with DAV, 
but will be executed when a client tries to GET or POST them?

Thanks in Advance,

P.S.:  Does anyone know when there might be a FAQ for apache 2.0.x?

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message