From: <sql...@li...> - 2005-10-14 05:36:50
|
On Fri, 14 Oct 2005 01:06 pm, sql...@li... wrote: > #sql-ledger-httpd.conf > Alias /sql-ledger/ /usr/local/sql-ledger/ > <Directory /usr/local/sql-ledger> > AddHandler cgi-script .pl > Options ExecCGI Includes FollowSymlinks > </Directory /usr/local/sql-ledger/users> > Order Deny,Allow > Deny from All > </Directory> > ### > > Because apache won't restart, therefore, the error log won't show. > But when I manually restart apache, it says: > Could not open config file /etc/httpd/conf/sql-ledger-httpd.conf > I checked the file; it was in the same directory as the httpd.conf did. > the owner and group were both root. > Any suggestion? > Thank you. > GL The "sql-ledger-httpd.conf" file does not have to be in the same directory as httpd.conf. It has to be exactly where the path is pointing. So even if you have both your "httpd.conf" and "sql-ledger-httpd.conf" in /etc/httpd/ directory you will still get the error message even though they are in the same directory. Also check permissions for the "sql-ledger-httpd.conf" george |