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

Re: Login gives source code



I have the following in my ledgersmb-httpd-conf

<Directory httpdocs/ledgersmb>
  AllowOverride All
  AddHandler cgi-script .pl
  Options ExecCGI Includes FollowSymlinks
  Order Allow,Deny
  Allow from All
  <Files ~ "\.conf$">
    Order Deny,Allow
    Deny from All
  </Files>
</Directory>

Is this what you mean?
 

-----Oorspronkelijk bericht-----
Van: ..hidden..
[mailto:..hidden.. Namens Pete Houston
Verzonden: donderdag 25 oktober 2007 13:37
Aan: ..hidden..
Onderwerp: Re: [Ledger-smb-users] Login gives source code

Given that you see the source code rather than running the script, it
might be that you have not set up the necessary handlers.

If you look in the apache conf file for the ledgersmb section, you
should have something like this:

<Directory /usr/local/ledgersmb>
  AddHandler    cgi-script      .pl
  Options       ExecCGI Includes FollowSymlinks
</Directory>

Of course, you may use your own directory path. The important point is
the setting of the cgi-script handler to act on files with the .pl
extension.

Pete

On Thu, Oct 25, 2007 at 01:13:16PM +0200, Chr.C.A. Rutgers wrote:
> As far as I can see mod_perl is disabled.
> 
> Any other suggestions?

-- 
Openstrike - improving business through open source
http://www.openstrike.co.uk/ or call 07092 020107