On Thursday 29 January 2004 10.55, Susemail wrote:
edit httpd.conf and add:
# SQL-Ledger Include <ServerRoot>/sql-ledger-httpd.conf
Note: Replace <ServerRoot> with the server's root directory!
This surely must be a typo. Why should you put a config file in a publicly readable directory? I think they mean the config directory (/etc/httpd).
restart your web server.
I did this using /srv/www/htdocs/sql-ledger-httpd.conf.
Do it with /etc/httpd/sql-ledger-httpd.conf There's no reason to let the rest of the world read your configuration details
This produced errors, I could not connect to local host and there was an error in restarting apache2. So I put a copy of sql-ledger-httpd.conf in htdocs. Now I can connect to localhost and restart without error.
The instructions above say: create a file sql-ledger-httpd.conf in the same location where your httpd.conf is; but this didn't work. Only after I put the file in htdocs could I connect to localhost.
Yeah. The location of the file should match what you say in the Include statement. Delete the config file from htdocs and change the Include to /etc/httpd/sql-ledger-httpd.conf