[users@httpd] Per-user CGI does not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,


I am using

    <Directory /home/*/www/cgi-bin>
        Options +ExecCGI
        SetHandler cgi-script
    </Directory>

in mod_userdir.conf (Apache 2.0.53) as the help page for mod_userdir says to 
enable per-user CGI programs. However, when I try to open up a sample prog, I 
always get error 500.

	#!/bin/bash
	cat <<EOT;
	Content-Type: text/html
	
	<html>
	<body>
	CGI says: alive
	</body>
	</html>
	EOT

It does work when I put it in /var/www/main.vhost/cgi-bin/, and yes, it is 
chmod 755'ed.
Is there some option I forgot? Any help is appreciated, thanks.


Jan Engelhardt
-- 

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux