LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Apache CGI configuration for personal web space?

[ILUG] Apache CGI configuration for personal web space?

Cormac McClean cmcclean at ait.ie
Fri Mar 1 13:47:37 GMT 2002


Hi,

Doing a Linux Web Administration project with a class of 40 students,
split into 10 teams of 4, each team having access to their own Linux
server.

I'm doing some Perl/CGI with them (I know there are alternative technologies,
but they've done a bit of Perl and so using Perl/CGI doesn't mean
learning an additional language). Each team member has personal web space
in their home directory using 
	UserDir public_html
I want them to be able to run cgi scripts from their personal web space.
What is the best way of achieving this?

I am trying the directive 
	AddHandler cgi-script .cgi
which should allow any file with extension .cgi to be executed, without
needing to be in the web server's cgi-bin directory, but it's not working.
[Uncommented Directive, restarted server - still get the error message
"You don't have permission to access /~cmcclean/catalogue.cgi on this
server."
And the executable permission is set for this file (for others).]

Also tried a cgi-bin directory within the personal webspace, i.e.
	public_html/cgi-bin	
but I get a similar permissions problem.

Is there something I'm missing? Any suggestions welcome. Looking at
O'Reilly's "Apache" and "CGI Programming with Perl" books.

(We'll be examining the security aspects of cgi scripts next month.)

Thanks in advance,
Cormac.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell