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
set $PLP::interface to executing backend
[perl/plp/.git]
/
PLP
/
Backend
/
CGI.pm
diff --git
a/PLP/Backend/CGI.pm
b/PLP/Backend/CGI.pm
index 7058b3ec5b4d7f5c57fc02db40d6179f652e1d7f..e4bcf1edd3d5d0e019df5133faeb68dadfd79ebc 100644
(file)
--- a/
PLP/Backend/CGI.pm
+++ b/
PLP/Backend/CGI.pm
@@
-72,6
+72,7
@@
sub everything {
# This is run by the CGI script. (#!perl \n use PLP::Backend::CGI;)
sub import {
# This is run by the CGI script. (#!perl \n use PLP::Backend::CGI;)
sub import {
+ $PLP::interface = $_[0];
$_[0]->everything();
}
$_[0]->everything();
}
@@
-102,8
+103,8
@@
enable I<mod_cgi> (add/outcomment in server.modules), and add:
=head2 Apache
=head2 Apache
-Enable I<mod_actions> and
setup F<httpd.conf>
-
(often just create a F</etc/apache2
/conf.d/plp>) with:
+Enable I<mod_actions> and
+
setup F<httpd.conf> (in new installs just create F</etc/apache
/conf.d/plp>) with:
<IfModule mod_actions.c>
ScriptAlias /PLP_COMMON/ /foo/bar/
<IfModule mod_actions.c>
ScriptAlias /PLP_COMMON/ /foo/bar/