[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: BOA web server docs
Aha! There seems to be a bit of hard-coded magic in BOA which doesn't
really make sense, but which works:
If I use "ScriptAlias /my-cgi/ /usr/html/local/viewer/cgi-bin/" I get
Error-404 when using the URL http://<241q>/my-cgi/access_test.cgi
But, when I use "ScriptAlias /cgi-bin/ /usr/html/local/viewer/cgi-bin/"
the URL http://<241q>/cgi-bin/access_test.cgi works ok.
I ran a large variety of tests, and eventually learned that if I create
any new CGI directory path (anywhere under DocumentRoot), then the target
of the Alias must have the same name: "ScriptAlias /abcdefg/
/usr/html/local/abcdefg/", otherwise an Error-404 results.
This is behaviour I would not normally expect from an Alias directive, but
it's only a minor annoyance and easy to live with :-) It would be
wonderful if this was documented at boa.org (and perhaps at Axis.com too),
but in an open-source world I should try to find a few spare moments to
contribute some effort. Where can I buy some spare time? :-)
My sincere thanks to those in this list who responded with suggestions!!
Cheers to all,
Behalf Of Jonas Holmberg
Sent: Wednesday, August 18, 2004 12:11 AM
Cc: Mark Richards; firstname.lastname@example.org; 'Etrax Developers'
Subject: Re: BOA web server docs
On Tue, Aug 17, 2004 at 04:45:56PM -0700, email@example.com wrote:
> Here is one little test script that I can run manually but which elicits
> "Error-404" when I try to access it via its URL:
I tried it on an AXIS 241Q and it workd fine. Perhaps you forgot to
This is what I added to boa.conf:
ScriptAlias /cgi-bin/ /etc/httpd/html/viewer/cgi-bin/
I created /etc/httpd/html/viewer/cgi-bin/ and ftp:ed your script to
that directory. Then I made it executable (chmod 755), restarted boa
and pointed my browser to:
And it even gave me the correct IP address :-)