Revision: 103 Author: matt Date: 2006-08-18 22:47:27 +0000 (Fri, 18 Aug 2006)
Log Message: ----------- License header added everywhere. Modified Paths: -------------- trunk/axkit trunk/etc/axkit.conf.sample trunk/lib/AxKit2/Client.pm trunk/lib/AxKit2/Config/Global.pm trunk/lib/AxKit2/Config/Location.pm trunk/lib/AxKit2/Config/Server.pm trunk/lib/AxKit2/Config.pm trunk/lib/AxKit2/Connection.pm trunk/lib/AxKit2/Console.pm trunk/lib/AxKit2/Constants.pm trunk/lib/AxKit2/HTTPHeaders.pm trunk/lib/AxKit2/Plugin.pm trunk/lib/AxKit2/Processor.pm trunk/lib/AxKit2/Server.pm trunk/lib/AxKit2/Transformer/TAL.pm trunk/lib/AxKit2/Transformer/XPathScript.pm trunk/lib/AxKit2/Transformer/XSLT.pm trunk/lib/AxKit2/Transformer/XSP.pm trunk/lib/AxKit2/Transformer.pm trunk/lib/AxKit2/Utils.pm trunk/lib/AxKit2.pm trunk/plugins/cachecache trunk/plugins/demo/doc_viewer trunk/plugins/demo/gallery trunk/plugins/demo/serve_tal trunk/plugins/demo/serve_xpathscript trunk/plugins/demo/serve_xslt trunk/plugins/demo/serve_xsp trunk/plugins/dir_to_xml trunk/plugins/error_xml trunk/plugins/fast_mime_map trunk/plugins/logging/warn trunk/plugins/magic_mime_map trunk/plugins/request_log trunk/plugins/serve_cgi trunk/plugins/serve_file trunk/plugins/stats trunk/plugins/uri_to_file Modified: trunk/axkit =================================================================== --- trunk/axkit 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/axkit 2006-08-18 22:47:27 UTC (rev 103) @@ -1,5 +1,20 @@ #!/usr/bin/perl -w +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + use lib 'lib'; use AxKit2; use Getopt::Long; Modified: trunk/etc/axkit.conf.sample =================================================================== --- trunk/etc/axkit.conf.sample 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/etc/axkit.conf.sample 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + Plugin logging/warn LogLevel LOGDEBUG Modified: trunk/lib/AxKit2/Client.pm =================================================================== --- trunk/lib/AxKit2/Client.pm 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/lib/AxKit2/Client.pm 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + package AxKit2::Client; use strict; Modified: trunk/lib/AxKit2/Config/Global.pm =================================================================== --- trunk/lib/AxKit2/Config/Global.pm 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/lib/AxKit2/Config/Global.pm 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + package AxKit2::Config::Global; # Global configuration Modified: trunk/lib/AxKit2/Config/Location.pm =================================================================== --- trunk/lib/AxKit2/Config/Location.pm 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/lib/AxKit2/Config/Location.pm 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + package AxKit2::Config::Location; # Configuration for a location (a URI path within a server) Modified: trunk/lib/AxKit2/Config/Server.pm =================================================================== --- trunk/lib/AxKit2/Config/Server.pm 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/lib/AxKit2/Config/Server.pm 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + package AxKit2::Config::Server; # Configuration for a server (aka listening port/service/vhost) Modified: trunk/lib/AxKit2/Config.pm =================================================================== --- trunk/lib/AxKit2/Config.pm 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/lib/AxKit2/Config.pm 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + package AxKit2::Config; # API for configuration - implement in a subclass Modified: trunk/lib/AxKit2/Connection.pm =================================================================== --- trunk/lib/AxKit2/Connection.pm 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/lib/AxKit2/Connection.pm 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + package AxKit2::Connection; use strict; Modified: trunk/lib/AxKit2/Console.pm =================================================================== --- trunk/lib/AxKit2/Console.pm 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/lib/AxKit2/Console.pm 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + package AxKit2::Console; use strict; Modified: trunk/lib/AxKit2/Constants.pm =================================================================== --- trunk/lib/AxKit2/Constants.pm 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/lib/AxKit2/Constants.pm 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + package AxKit2::Constants; use strict; Modified: trunk/lib/AxKit2/HTTPHeaders.pm =================================================================== --- trunk/lib/AxKit2/HTTPHeaders.pm 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/lib/AxKit2/HTTPHeaders.pm 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + package AxKit2::HTTPHeaders; # HTTP Header parser. Lots stolen/borrowed from Perlbal :-) Modified: trunk/lib/AxKit2/Plugin.pm =================================================================== --- trunk/lib/AxKit2/Plugin.pm 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/lib/AxKit2/Plugin.pm 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + package AxKit2::Plugin; use strict; Modified: trunk/lib/AxKit2/Processor.pm =================================================================== --- trunk/lib/AxKit2/Processor.pm 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/lib/AxKit2/Processor.pm 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + package AxKit2::Processor; use strict; Modified: trunk/lib/AxKit2/Server.pm =================================================================== --- trunk/lib/AxKit2/Server.pm 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/lib/AxKit2/Server.pm 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + package AxKit2::Server; use strict; Modified: trunk/lib/AxKit2/Transformer/TAL.pm =================================================================== --- trunk/lib/AxKit2/Transformer/TAL.pm 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/lib/AxKit2/Transformer/TAL.pm 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + package AxKit2::Transformer::TAL; use strict; Modified: trunk/lib/AxKit2/Transformer/XPathScript.pm =================================================================== --- trunk/lib/AxKit2/Transformer/XPathScript.pm 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/lib/AxKit2/Transformer/XPathScript.pm 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + package AxKit2::Transformer::XPathScript; use strict; Modified: trunk/lib/AxKit2/Transformer/XSLT.pm =================================================================== --- trunk/lib/AxKit2/Transformer/XSLT.pm 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/lib/AxKit2/Transformer/XSLT.pm 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + package AxKit2::Transformer::XSLT; use strict; Modified: trunk/lib/AxKit2/Transformer/XSP.pm =================================================================== --- trunk/lib/AxKit2/Transformer/XSP.pm 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/lib/AxKit2/Transformer/XSP.pm 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + package AxKit2::Transformer::XSP; use strict; Modified: trunk/lib/AxKit2/Transformer.pm =================================================================== --- trunk/lib/AxKit2/Transformer.pm 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/lib/AxKit2/Transformer.pm 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + package AxKit2::Transformer; # Transformer base class @@ -21,4 +36,4 @@ ($self->client || "AxKit2::Client")->log(@_); } -1; \ No newline at end of file +1; Modified: trunk/lib/AxKit2/Utils.pm =================================================================== --- trunk/lib/AxKit2/Utils.pm 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/lib/AxKit2/Utils.pm 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + package AxKit2::Utils; use strict; @@ -94,4 +109,4 @@ return $text; } -1; \ No newline at end of file +1; Modified: trunk/lib/AxKit2.pm =================================================================== --- trunk/lib/AxKit2.pm 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/lib/AxKit2.pm 2006-08-18 22:47:27 UTC (rev 103) @@ -1,3 +1,18 @@ +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + package AxKit2; use strict; Modified: trunk/plugins/cachecache =================================================================== --- trunk/plugins/cachecache 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/plugins/cachecache 2006-08-18 22:47:27 UTC (rev 103) @@ -1,5 +1,20 @@ #!/usr/bin/perl -w +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + =head1 NAME cachecache - a plugin that provides a cache API using the Cache::Cache module Modified: trunk/plugins/demo/doc_viewer =================================================================== --- trunk/plugins/demo/doc_viewer 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/plugins/demo/doc_viewer 2006-08-18 22:47:27 UTC (rev 103) @@ -1,5 +1,20 @@ #!/usr/bin/perl -w +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + =head1 NAME doc_viewer - A pod viewer for the local AxKit2 docs Modified: trunk/plugins/demo/gallery =================================================================== --- trunk/plugins/demo/gallery 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/plugins/demo/gallery 2006-08-18 22:47:27 UTC (rev 103) @@ -1,5 +1,20 @@ #!/usr/bin/perl -w +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + my @config = qw( ProofSheetColumns ImagesPerProofSheet Modified: trunk/plugins/demo/serve_tal =================================================================== --- trunk/plugins/demo/serve_tal 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/plugins/demo/serve_tal 2006-08-18 22:47:27 UTC (rev 103) @@ -1,5 +1,20 @@ #!/usr/bin/perl -w +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + sub hook_xmlresponse { my ($self, $input) = @_; @@ -11,4 +26,4 @@ my $out = $input->transform(TAL($stylefile)); return OK, $out; -} \ No newline at end of file +} Modified: trunk/plugins/demo/serve_xpathscript =================================================================== --- trunk/plugins/demo/serve_xpathscript 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/plugins/demo/serve_xpathscript 2006-08-18 22:47:27 UTC (rev 103) @@ -1,5 +1,20 @@ #!/usr/bin/perl -w +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + sub init { my $self = shift; @@ -54,4 +69,4 @@ my $out = $input->transform(XPathScript($stylefile, $output_style)); return OK, $out; -} \ No newline at end of file +} Modified: trunk/plugins/demo/serve_xslt =================================================================== --- trunk/plugins/demo/serve_xslt 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/plugins/demo/serve_xslt 2006-08-18 22:47:27 UTC (rev 103) @@ -1,5 +1,20 @@ #!/usr/bin/perl -w +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + sub init { my $self = shift; Modified: trunk/plugins/demo/serve_xsp =================================================================== --- trunk/plugins/demo/serve_xsp 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/plugins/demo/serve_xsp 2006-08-18 22:47:27 UTC (rev 103) @@ -1,5 +1,20 @@ #!/usr/bin/perl -w +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + sub init { my $self = shift; @@ -27,4 +42,4 @@ my $out = $input->transform(XSP()); return OK, $out; -} \ No newline at end of file +} Modified: trunk/plugins/dir_to_xml =================================================================== --- trunk/plugins/dir_to_xml 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/plugins/dir_to_xml 2006-08-18 22:47:27 UTC (rev 103) @@ -1,5 +1,20 @@ #!/usr/bin/perl -w +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + =head1 NAME dir_to_xml - Convert a directory request to XML Modified: trunk/plugins/error_xml =================================================================== --- trunk/plugins/error_xml 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/plugins/error_xml 2006-08-18 22:47:27 UTC (rev 103) @@ -1,5 +1,20 @@ #!/usr/bin/perl -w +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + =head1 NAME error_xml - Convert 500 errors to XML and process through XSLT Modified: trunk/plugins/fast_mime_map =================================================================== --- trunk/plugins/fast_mime_map 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/plugins/fast_mime_map 2006-08-18 22:47:27 UTC (rev 103) @@ -1,5 +1,20 @@ #!/usr/bin/perl -w +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + =head1 NAME fast_mime_map - File extension to MIME type mapping Modified: trunk/plugins/logging/warn =================================================================== --- trunk/plugins/logging/warn 2006-08-18 22:37:45 UTC (rev 102) +++ trunk/plugins/logging/warn 2006-08-18 22:47:27 UTC (rev 103) @@ -1,6 +1,50 @@ #!/usr/bin/perl -w +# Copyright 2001-2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +=head1 NAME + +logging/warn - Logging plugin to send logging to STDERR + +=head1 SYNOPSIS + @@ Diff output truncated at 30000 characters. @@