SPUG: Re: Playing with Ingy's kwiki package
Scott Blachowicz
scott+spug at mail.dsab.rresearch.com
Sat Aug 9 19:02:33 CDT 2003
Jeremy Mates <jmates at sial.org> wrote:
> * Scott Blachowicz <scott+spug at mail.dsab.rresearch.com>
> > [Sat Aug 9 14:08:55 2003] [error] [client 127.0.0.1] file permissions deny server execution: /usr/lib/cgi-bin/my-kwiki/css/Display.css
> >
> > Why would it try to execute that file?
>
> The cgi-bin directory is likely marked in httpd.conf with ScriptAlias[1],
> which passes the contents off to the mod_cgi handler[2], including the
> non-executable CSS style definitions. The above error is probably due to
> various +x bits being unset on the file in question, which would not
> solve the Apache-wants-to-run-the-style-file problem.
>
> Solutions would be to locate my-kwiki outside of the cgi-bin directory
> and enable .cgi handling for the Directory in question:
>
> AddHandler cgi-script .cgi
>
> Or to rework my-kwiki to look for the CSS file outside of cgi-bin.
I also needed 'Options ExecCGI' for the directory I put it in. Turns out
this is documented in the pages that come with kwiki, but I hadn't gotten
that far and for some reason didn't think to go looking through the files I
had.
Thanx for the info!
Scott
More information about the spug-list
mailing list