[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem when using XXXX.pl files

Hi Stroller and Chris

I have gone through your emails and found the ledgersmb-httpd.conf is in the following  /etc/apache2/conf.d folder, by virtue of this line in the install notes  Copy ledgersmb-httpd.conf to /etc/apache2/conf.d. From looking at the file the "AddHandler cgi-script .pl" directive is there in the file so my question is the file in the correct place or should it be in the /etc/apache2 folder as indicated by Strollers first instruction

$ sudo grep -iR ledgersmb-httpd.conf /etc/apache2/
/etc/apache2/httpd.conf:Include /etc/apache2/ledgersmb-httpd.conf

I also tried the Include in the httpd.conf file using the path /etc/apache2/conf.d/ledgersmb-httpd.conf

After restarting the apache server I now ge the following when I try to start the admin.pl file

Not Found

The requested URL /index.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

awaiting your reply



From: Stroller <..hidden..>
To: ..hidden..
Sent: Tuesday, 9 June, 2009 2:10:13 PM
Subject: Re: [Ledger-smb-users] Problem when using XXXX.pl filesy

On 9 Jun 2009, at 01:58, Chris Bennett wrote:
> Stroller wrote:
>> ...
>> That line is *sure* to exist in the ledgersmb-httpd.conf file 
>> supplied
>> by LedgerSMB - the question is surely *whether an include statement*
>> references that file in /etc/apache2/httpd.conf

Please note that I'm not 100% sure that this is Barneyr's problem - I 
just suspect it may be.

> Well, I guess I'll just go ahead and re-install it and see exactly how
> it came "out-of-the-box" and add a note at the end as a 
> troubleshooting
> step.
> I've had perl scripts come up as text myself a few times, guess it is
> worth it to relieve those ugly surprises for people that have that
> problem. Pretty simple problem to fix, but only if you already know 
> the
> answer, of course!
> There are a couple of ways to install apache, maybe one way gives
> different results in .conf details??

I can't imagine so.

The "AddHandler cgi-script .pl" directive is a line in ledgersmb-

There is no reason for httpd.conf to say "Include /etc/apache2/
ledgersmb-httpd.conf" unless LedgerSMB is installed on the system. 
That's an additional step, irrespective of how Apache is installed.

It's been a long time since I installed LedgerSMB, so either:
1) Adding the "Include" to httpd.conf is a manual step and your (??) 
guide should include it.
2) The "Include" is appended to httpd.conf by LedgerSMB's install 
scripts and I'm making canine sounds of alarm up the wrong arboreal in 
my diagnosis of Barneyr's problem.


Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
Ledger-smb-users mailing list

Need a Holiday? Win a $10,000 Holiday of your choice. Enter now..