[PLUG] 'about.config' in Firefox
Rich Shepard
rshepard at appl-ecosys.com
Wed Aug 4 19:37:02 UTC 2004
On Wed, 4 Aug 2004, Doug Davis wrote:
> So this tells me that your web server thinks that admin.pl should be in
> /usr/local/sql-ledger/admin.pl but it can't find it there. 404 means
> file not found.. a permissions or could not execute error would be a
> different code. I would guess that you installed sql-ledger elsewhere.
> Do a 'find / -name admin.pl' to find out where it really is and either
> copy it there or make a symbolic link. The other option is to tell
> thttpd to look in a different place, but I'm afraid I would help more
> with that solution if you were using Apache.
Doug,
Here's the current status: I'm getting closer now -- a 403 Forbidden
error. :-)
SQL-ledger is installed in /usr/local/sql-ledger/. Even though I told
thttpd that its home dir=/usr/local/sql-ledger/, it still insists that it is
really /usr/local/www/data/.
Following Kurt's suggestion, I aimed firefox at http://localhost/ and
fired. It came up at /, which is actually /usr/local/www/data because I can
see my symlink, sql-ledger, there. The link points to /usr/local/sql-ledger.
When I clicked on the link up popped the page,
403 Forbidden
The requested URL '/sql-ledger/' resolves to a file outside the permitted
web server directory tree.
So, thttpd _is_ running in its chroot jail (despite /var/log/messages
showing that it's not). Now I need to learn from the thttpd guys how to get
it to accept the application and run it.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
<http://www.appl-ecosys.com>
More information about the PLUG
mailing list