|
From: Paul A. <pau...@pa...> - 2001-01-04 05:34:13
|
Happy New Year to all!
I have been looking for an application like sql-ledger for months and =
finally I found it today. After installing DBI, DBD via CPAN and Pg from =
the RH RPMs I created the database, which I called dbtest. I was also =
run the sql script with psql < bla, bla with out any issues. I am =
running the plain Apache that comes with RH so I did not compiled Apache =
nor Perl. My installation directory is /var/www/html/sql-ledger. I =
believe the Apache user run the httpd daemon in RH 7.0 All .cgi files =
are chmod 755 and I modified the httpd.conf file to add:
<directory "/var/www/html/sql-ledger>
Options ExecCGI Includes FollowSymLinks
</directory>
This is actually a virtual named server, but I don't think that is an =
issue since everything else is working OK on the server.
Here is the issue, when I go to =
www.server.com/sql-ledger/admin/setup.cgi I get the plain text. I know =
Perl is working fine and if I do a perl -c setup.cgi I get an OK. I do =
have some other html perl based applications that run fine and the =
location of perl is the default /usr/bin/perl. Any ideas?=20
Also, can someone share some light as to how to protect the directories =
in Apache using the .htaccess and passwd files? Do I need to make =
modification to the /etc/httpd/conf/httpd.conf files or just by having =
the files in the directory it will work?
Thanks a lot.
-pa
|