From: Jeff V. <jv...@ch...> - 2005-10-15 12:49:42
|
On Fri, 2005-10-14 at 19:49 -0400, GLam wrote: > Thanks for your pointer. I created the sql-ledger-httpd.conf > in /etc/httpd/conf.d directory and changed the Include to point to > that directory in the httpd.conf file. > I can start the http, but when I tried to connect to > localhost/sql-ledger/admin.pl > it showed 430-forbidden - You don't have permission to > access /sql-ledger/ on this server. > I checked the users and templates were both apache:apache. > Please help. > GL > > Permissions and ownership of the actual location that alias points to are critical. The directory must have at minimum 755 and the files must be at minimum 644 for all files there. I assume you have it installed at /usr/local/sql-ledger, so check the file permissions there. This can be more restrictive if the directory and files are owned by apache, but not otherwise. > > sql...@li... wrote: > > On Thu, 2005-10-13 at 21:59 -0400, > > sql...@li... wrote: > > > > > I tried to manually start the httpd, but unsuccessful. It says: Could > > > not open config file /etc/httpd/conf/sql-ledger-httpd.conf > > > > > > > Is that the correct path to the sql-ledger-httpd.conf file? > > > > My FC4 server(s) use /etc/httpd/conf.d/ as the external conf file > > location. Anything placed in there will be loaded automatically if it's > > named <foo>.conf. > > > > However, sql-ledger puts its conf file in /etc/httpd/conf along with > > httpd.conf. The permissions should be rw-r--r-- and user and group are > > root. There should also be a line in httpd.conf that reads: > > # SQL-Ledger > > Include conf/sql-ledger-httpd.conf > > > > When in doubt, delete the existing one and recreate it as above. A > > manual start (/sbin/service httpd start) will show some on-screen > > errors. The rest are found in /var/log/httpd/error.log. > > > > > > > > > I rechecked the file name; it is right and the owner and group are > > > both root. > > > I don't know what went wrong. If I comment out the > > > Include /etc/httpd/conf/sql-ledger-httpd.conf, then the httpd will > > > strat. > > > Thank you. > > > GL > > > sql...@li... wrote: > > > > > > > On Fri, 14 Oct 2005 06:49 am, sql...@li... > > > > wrote: > > > > > > > > > > > > > > > > > > Hi, > > > > > > I am setting up a new fc4 server to run SL, but am unable to restart > > > > > > httpd after adding > > > > > > #SQL-Ledger > > > > > > Include /etc/httpd/conf/sql-ledger-httpd.conf > > > > > > to the httpd.conf file. > > > > > > Before adding the above two lines, I could see the apache test page. > > > > > > After adding these two lines, I stopped httpd and then restart it, but > > > > > > the httpd won't start. > > > > > > Any idea? > > > > > > GL > > > > > > > > > > > > > > > > Try to start it manually. It should give you some traceback and it'll tell you > > > > what's wrong in your configuration. > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: > > > > Power Architecture Resource Center: Free content, downloads, discussions, > > > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > > > _______________________________________________ > > > > sql-ledger-users mailing list > > > > sql...@li... > > > > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > > > > > > > > > > > > |