You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by go...@apache.org on 2004/11/01 19:04:18 UTC
cvs commit: modperl-docs/src/docs/2.0/api/Apache PerlSections.pod
gozer 2004/11/01 10:04:18
Modified: src/docs/2.0/api/Apache PerlSections.pod
Log:
Whitespace fixup
Revision Changes Path
1.20 +10 -10 modperl-docs/src/docs/2.0/api/Apache/PerlSections.pod
Index: PerlSections.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/Apache/PerlSections.pod,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- PerlSections.pod 4 Sep 2004 18:37:41 -0000 1.19
+++ PerlSections.pod 1 Nov 2004 18:04:18 -0000 1.20
@@ -164,17 +164,17 @@
For example:
<Perl>
-
+
$Port = 8529;
-
+
$Location{"/perl"} = {
SetHandler => "perl-script",
PerlHandler => "Apache::Registry",
Options => "ExecCGI",
};
-
+
@DirectoryIndex = qw(index.htm index.html);
-
+
$VirtualHost{"www.foo.com"} = {
DocumentRoot => "/tmp/docs",
ErrorLog => "/dev/null",
@@ -187,26 +187,26 @@
},
},
};
-
+
print Apache::PerlSections->dump;
-
+
</Perl>
This will print something like this:
$Port = 8529;
-
+
@DirectoryIndex = (
'index.htm',
'index.html'
);
-
+
$Location{'/perl'} = (
PerlHandler => 'Apache::Registry',
SetHandler => 'perl-script',
Options => 'ExecCGI'
);
-
+
$VirtualHost{'www.foo.com'} = (
Location => {
'/' => {
@@ -219,7 +219,7 @@
DocumentRoot => '/tmp/docs',
ErrorLog => '/dev/null'
);
-
+
1;
__END__
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org