l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Feb 11 18:19

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] cgi-bin in user home dirs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] cgi-bin in user home dirs

--- Ken Bloom <kabloom@ucdavis.edu> wrote:
> > From: Jim Angstadt <jimajima9@yahoo.com>
> > --- Tim Riley <timriley@timriley.net> wrote:
> > > Jim Angstadt wrote:

> Tim wasn't quite sure what he was trying to do, and
> he said that. He 
> gave you instructions to access
> http://localhost/cgi-ja/ as a cgi-bin 
> directory. You are trying to access
> http://localhost/~ja/cgi-bin/

Hi Ken.

Yes, I clearly did not understand.  Fortunately, Tim
provided additional instructions and it is now

> Now I'm also shooting in the dark here (I don't use
> Apache, but I looked 
> through the documentation to see what the solution
> might be. I suggest 
> you check out my suggestion in the documentation
> yourself.) but it looks 
> like the solution is to say something along the
> lines of
> <Directory /home/*/cgi-bin/>
> 	Options ExecCGI
> </Directory>

I've tried this approach, including variations such as
+ExecCGI and adding another line:
   AddHandler cgi-script  cgi pl

Absent a ScriptAlias directive, this approach did not
work for me.  With a ScriptAlias directive, it does
work, but has no additional functionality vs Tim's
original Directive block.

Reading the manual, it should work.  I plan to keep
playing with it.

Using the ScriptAlias directive is not a problem for
me, or for my friend.  We both have a very limited
number of users and a ScriptAlias line for each (or
most) is no problem.

Perhaps for an ISP, with many users, a separate
ScriptAlias line for each user or most users would be
an undesirable maintenance burden.  So, in that case,
it would be nice if the Directive block, by itself,
was sufficient.

Again, thanks to all who have contributed to this

Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.