[PLUG] Cannot Load Local Web Site, No Reported Errors

Rich Shepard rshepard at appl-ecosys.com
Tue Dec 9 21:36:33 UTC 2008


On Tue, 9 Dec 2008, drew wymore wrote:

> So it is running as you've shown. I'm wondering if your httpd.conf has
> been over written so the pathing is broken. Where physically on the system
> does /sql-ledger/ live? Check /etc/httpd/$conf/httpd.conf (I believe this
> is where it should be, ...

Drew,

   Getting much closer, thank you.

   I modified /etc/httpd/httpd.conf to include the sql-ledger, system name,
and admin name from /etc/apache/httpd.conf. Now it starts. However, ...

   When I try to log in as a user (http://localhost/sql-ledger/login.pl) and
press [Enter] after typing my username and password I see:

Error!
users/rshepard.conf : Permission denied

   Hmm-m-m. I've no idea where that might be controlled, so I try logging
into (http://localhost/sql-ledger/admin.pl) only to see:

Error!
No Database Drivers available!

   So there's more that needs to be ported from the old /etc/apache/ to the
new /etc/httpd/.

   I added to /etc/httpd/httpd.conf the line 'Include
/etc/httpd/sql-ledger-httpd.conf', and that file is in the proper directory.
Among other things it points to where sql-ledger lives:

Alias /sql-ledger/ /usr/local/sql-ledger/
<Directory /usr/local/sql-ledger>
   AllowOverride All
   AddHandler cgi-script .pl
   Options ExecCGI Includes FollowSymlinks
   Order Allow,Deny
   Allow from All
</Directory>

<Directory /usr/local/sql-ledger/users>
   Order Deny,Allow
   Deny from All
</Directory>

and the directory, /usr/local/sql-ledger/users, does have an rshepard.conf
file. The perms on /usr/local/sql-ledger are 755 and it's owned by
nobody.nobody; perms on /usr/local/sql-ledger/users are 711 (also
nobody.nobody). Do I need read permissions to get to the rshepard.conf file?
The rshepard.conf file was created/modified/accessed 11/28 of this year and
has permissions of 644 (owned by nobody.nobody).

   Anything strike you as wrong here?

Many thanks,

Rich

-- 
Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863



More information about the PLUG mailing list