git.shiar.nl
/
perl
/
plp
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use warnings in all modules
[perl/plp/.git]
/
lib
/
PLP
/
Backend
/
CGI.pm
diff --git
a/lib/PLP/Backend/CGI.pm
b/lib/PLP/Backend/CGI.pm
index 0005762dd5fe5d66cfedbfb0cc702cc4cfcc7b2b..10b9b45618b2d1bc2dc48f90ca17266d45acbf0d 100644
(file)
--- a/
lib/PLP/Backend/CGI.pm
+++ b/
lib/PLP/Backend/CGI.pm
@@
-1,6
+1,7
@@
package PLP::Backend::CGI;
use strict;
package PLP::Backend::CGI;
use strict;
+use warnings;
our $VERSION = '1.02';
our $VERSION = '1.02';
@@
-93,12
+94,12
@@
Or install the C<plp.cgi> included with PLP.
=head2 Lighttpd
=head2 Lighttpd
-Usually in F</etc/lighttpd/lighttpd.conf>:
-enable I<mod_cgi> (add/outcomment in server.modules), and add:
+Add this to your configuration file (usually F</etc/lighttpd/lighttpd.conf>):
- cgi.assign = (
- ".plp" => "/foo/bar/plp.cgi",
- )
+ server.modules += ("mod_cgi")
+ cgi.assign += (".plp" => "/foo/bar/plp.cgi")
+ server.indexfiles += ("index.plp")
+ static-file.exclude-extensions += (".plp")
=head2 Apache
=head2 Apache