You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Ernesto A. Lira Castro" <li...@terared.com.mx> on 2003/05/23 02:42:48 UTC

[users@httpd] Help with cgi

Hello List!

I have a problem while i am configuring a server that can access all my 
students but i have a problem with the use of UseDir and set into the 
cgi-bin directory,

example:

I have this configuration

apache 2.0.44 and i want that all my students have his own user 
directory with his own cgi-bin directory like this:

http://www.domain.edu/~student/cgi-bin/script.cgi

i have the next configuration:

UserDir public_html

<Directory /usr/home/*/public_html/cgi-bin/>
Options ExecCGI
</Directory>


Obviously i have all my user inside this path:

/usr/home/

But all i get is a list of  the source code!!  never i get the execution 
of the any scripts!!!!
i need some help because i need this server running for my students 
because they  need to do their  homework!!

Best Regards

Thanks



---------------------------------------------------------------------
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


Re: [users@httpd] Help with cgi

Posted by Joshua Slive <jo...@slive.ca>.
On Thu, 22 May 2003, Mac Serve wrote:

> Hi:
> You need to add this as well:
>
> AddHandler cgi-script cgi pl

Or
SetHandler cgi-script
if you want it to behave like a real cgi-bin (everything is executed
regardless of extension).

Joshua.

---------------------------------------------------------------------
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


Re: [users@httpd] Help with cgi

Posted by Mac Serve <ma...@ns.sympatico.ca>.
Hi:
You need to add this as well:

AddHandler cgi-script cgi pl

Regards,

Michael C Zwicker


---------------------------------------------------------------------
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