If you use setup.pl to download and install, the AddHandler and Alias is
written into sql-ledger-http.conf. The last two lines in httpd.conf should
then be something like

# SQL-Ledger
Include etc/apache2/sql-ledger-httpd.conf

If you run setup.pl as root, your httpd.conf file is updated and the
webserver is restarted too.

If you install as user this will obviously fail and you are then prompted
to do the last steps as root yourself.

a) edit httpd.conf and add
   Include etc_directory/sql-ledger-httpd.conf
b) restart web server


Dieter Simader    http://www.sql-ledger.org   (780) 472-8161
DWS Systems Inc.     Accounting Software       Fax: 478-5281
=========== On a clear disk you can seek forever ===========

On Mon, 23 Sep 2002, Peter Henry wrote:

> Joan Loh wrote:
>
> >Hi John,
> >
> >Pardon me, as I am a newbie to both linux and sql-ledger. So i don't know
> >how to configure the apache for sql-
> >ledger.
> >
> Joan,
> Dieter has tersely explained how to configure apache for sl.
> carefully reread his installation instructions, which can be found on
> the down load page of sql-ledger.org.
> basically, you need to edit the config file for apache and paste in a
> snippet that tells apache how to run perl cgi scripts.
> but others have given  you good advice: run ps -A and see if httpd "the
> apache daemon" is running.
> then use your browser to see if apache is serving pages.
>
> >I heed your advice and of going to see the error log
> >In the error log, I found this error message :
> >File does not exist :
> >/usr/local/apache/htdocs/sql-ledger/admin.pl
> >
> >The above path is wrong because I installed the sql-ledger in
> >/usr/local.
> >
> that is where i put it too.
> btw, i am running sl on rh7.1, too.
>
> >How do i solve this problem?
> >
> here are the actual lines to put into the httpd.conf file:
>
>  AddHandler cgi-script .pl
>
>   Alias /sql-ledger/ /usr/local/sql-ledger/
>   <Directory /usr/local/sql-ledger>
> Options ExecCGI Includes FollowSymlinks
>   </Directory>
>
> then restart apache and point your browser at:
>
> joans_localhost.joans_localdomain/sql-ledger/admin.pl
>
> but put the acual machine and domain names (or IP address) instead of
> "joans_localhost.joans_localdomain"
>
> hope that helps,
> /peter
>
> >Please help
> >
> >Joan
> >
> >
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> -------------------------------------------------------
> (un)subscribe: http://lists.sourceforge.net/lists/listinfo/sql-ledger-users
> Archive: http://www.mail-archive.com/[email protected]/
>





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
-------------------------------------------------------
(un)subscribe: http://lists.sourceforge.net/lists/listinfo/sql-ledger-users
Archive: http://www.mail-archive.com/[email protected]/

Reply via email to