Article View: csu.unix.linux
Article #210Re: Apache & ~/public_html
From: Michael Dwyer
Date: Wed, 24 Nov 1999 00:00
Date: Wed, 24 Nov 1999 00:00
38 lines
1978 bytes
1978 bytes
Adam Carheden <carheden@holly.colostate.edu> wrote: : I'm trying to configure Apache which was installed with Red Hat 5.2. I : need it to do two things: : 1) Allow access to user's public_html directories. UserDir public_html This is in the distro config files. Well commented files, I might add. : 2) Execute anything with a .cgi or .pl extension. Yes, but you also need to have to have the correct modules loaded or compiled in. Make sure you have modcgi. I'm not sure how to handle perl, but if you install modperl, it looks a little like this: <Files *.pl> SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI </Files> Also, from the same comments, you might look into the Action directive. : I think the Apache Documentation sucks. You'd think obvious things like : this would be in the FAQ's. I was a little confused about how to get modperl working. The INSTALL docs don't make it easy. But I got it to work. As for all the other things, I didn't have to change much at all. It was all already in the httpd.conf files, and I just had to tweak them and uncomment a couple blocks. I prefer PHP3, myself... -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Michael J. Dwyer I doubt, therefore I might be. mdwyer@holly.ColoState.edu http://WWW.CS.ColoState.EDU/~dwyer/ Computer Science Major Amateur Radio Tech N0ZAP
Technical Details
Message-ID:
<81hc90$7vg@yuma.ACNS.ColoState.EDU>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<383B5352.B16D7249@holly.ColoState.EDU>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1159f7,ca1bfed1441ae9f6
X-Google-Attributes: gid1159f7,public
From: Michael Dwyer <mdwyer@holly.ColoState.EDU>
Subject: Re: Apache & ~/public_html
Date: 1999/11/24
Message-ID: <81hc90$7vg@yuma.ACNS.ColoState.EDU>
X-Deja-AN: 552617909
References: <383B5352.B16D7249@holly.ColoState.EDU>
Organization: Colorado State University, Fort Collins, CO 80523
User-Agent: tin/pre-1.4-19990517 ("Psychonaut") (UNIX) (AIX/4-3)
Newsgroups: csu.unix.linux