[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Install on Lighttpd
- Subject: Install on Lighttpd
- From: DTK <..hidden..>
- Date: Tue, 1 May 2007 13:14:49 -0400
Lighttpd is not executing via perl.
I see:
LedgerSMB
Login <- This is a link
Then a window opens that says:
You have chosen to open login.pl
Which is a perl script
from http://www.mydomain.com
What should Firefox do with this file?
Save or Open
Install Notes:
1. server.modules list
server.modules = (
"mod_access",
"mod_alias",
"mod_accesslog",
"mod_rewrite",
"mod_fastcgi",
"mod_cgi",
"mod_auth",
)
2.Alias:
alias.url = (
"/ledger" => "/opt/ledgersmb"
)
3. Assign:
cgi.assign = ( ".pl" => "/usr/bin/perl",
".cgi" => "/usr/bin/perl" )
4. Deny access to users directory
$HTTP["url"] =~ "/ledger/users" { url.access-deny = ("") }
5. Restart webserver
/etc/init.d/lighttpd restart