web/html/help/.htaccess | 43 -----------------------------------
web/modules/pxt/PXT/ApacheHandler.pm | 14 -----------
web/modules/pxt/PXT/Request.pm | 1
web/modules/rhn/RHN/I18N.pm | 1
4 files changed, 59 deletions(-)
New commits:
commit 42234ad1fb3d1cde69689cdb9f1efa9d51cf3c30
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Mon May 16 09:45:22 2011 +0200
cleanup - in /html/index.html is no pxt code, just pure html
diff --git a/web/html/help/.htaccess b/web/html/help/.htaccess
deleted file mode 100644
index 0845de9..0000000
--- a/web/html/help/.htaccess
+++ /dev/null
@@ -1,6 +0,0 @@
-<Files *.html>
- ForceType text/pxt
- SetHandler perl-script
- PerlModule PXT::ApacheHandler
- PerlHandler PXT::ApacheHandler
-</Files>
commit fec4c2b13e420505b09200d39ef6bb5bba6f4a72
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Mon May 16 09:44:07 2011 +0200
cleanup - make_vile is not used any more
diff --git a/web/html/help/.htaccess b/web/html/help/.htaccess
index cbc3944..0845de9 100644
--- a/web/html/help/.htaccess
+++ b/web/html/help/.htaccess
@@ -4,6 +4,3 @@
PerlModule PXT::ApacheHandler
PerlHandler PXT::ApacheHandler
</Files>
-
-PerlSetVar pxt_make_vile off
-
diff --git a/web/modules/pxt/PXT/ApacheHandler.pm b/web/modules/pxt/PXT/ApacheHandler.pm
index 949a240..4cb66c3 100644
--- a/web/modules/pxt/PXT/ApacheHandler.pm
+++ b/web/modules/pxt/PXT/ApacheHandler.pm
@@ -46,13 +46,9 @@ use RHN::Mail;
use PXT::Debug ();
use RHN::DB ();
-our $make_vile;
-
sub handler {
my $r = shift;
-
- local $make_vile = 0;
$ENV{PATH} = "/bin:/usr/sbin";
return DECLINED unless
@@ -170,16 +166,6 @@ sub handler {
$file_contents = RHN::I18N->translate($file_contents);
}
- if ($file_contents =~ '<((rhn|pxt)-.*?)>') {
- warn "tag $1 seems to be unhandled?";
- $make_vile = "green";
- }
-
- if ($r->dir_config("pxt_make_vile") and
$r->dir_config("pxt_make_vile") eq 'on' and $make_vile) {
- $file_contents =~ s/<body>/<body bgcolor="$make_vile">/;
- $file_contents =~ s(<link[^>]*>)()g;
- }
-
# Turn on byte pragma to get correct content length, and then turn it back off.
use bytes;
$r->headers_out->{'Content-Length'} = length $file_contents;
diff --git a/web/modules/pxt/PXT/Request.pm b/web/modules/pxt/PXT/Request.pm
index a61f091..55d8ab2 100644
--- a/web/modules/pxt/PXT/Request.pm
+++ b/web/modules/pxt/PXT/Request.pm
@@ -308,7 +308,6 @@ sub param {
}
else {
warn "Access to formvar '$var' not allowed: formvar not cleansed - ",
join(", ", caller);
- $PXT::ApacheHandler::make_vile = "#ffff00";
}
}
diff --git a/web/modules/rhn/RHN/I18N.pm b/web/modules/rhn/RHN/I18N.pm
index 74124f6..3708e95 100644
--- a/web/modules/rhn/RHN/I18N.pm
+++ b/web/modules/rhn/RHN/I18N.pm
@@ -40,7 +40,6 @@ sub translate {
if (not $doc) {
warn "I18N XML Parsing failed: $@";
- $PXT::ApacheHandler::make_vile = "#ff98d6";
return $input;
}
commit 5f4472137214076b63bf17d82855fa95fd357b2e
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Mon May 16 09:24:21 2011 +0200
documentation does not need log in
and this names are old/not used anymore anyway
diff --git a/web/html/help/.htaccess b/web/html/help/.htaccess
index a52732d..cbc3944 100644
--- a/web/html/help/.htaccess
+++ b/web/html/help/.htaccess
@@ -1,37 +1,3 @@
-<Files RHN-channel-mgmt-en.pdf>
- AuthType Basic
- PerlModule PXT::ApacheHandler
- PerlModule PXT::ApacheAuth
- PerlAuthenHandler PXT::ApacheAuth
-
-</Files>
-
-<Files RHN-proxy-en.pdf>
- AuthType Basic
- PerlModule PXT::ApacheHandler
- PerlModule PXT::ApacheAuth
- PerlAuthenHandler PXT::ApacheAuth
-
-</Files>
-
-
-<Files RHN-satellite-en.pdf>
- AuthType Basic
- PerlModule PXT::ApacheHandler
- PerlModule PXT::ApacheAuth
- PerlAuthenHandler PXT::ApacheAuth
-
-</Files>
-
-<Files RHN-client-config-en.pdf>
- AuthType Basic
- PerlModule PXT::ApacheHandler
- PerlModule PXT::ApacheAuth
- PerlAuthenHandler PXT::ApacheAuth
-
-</Files>
-
-
<Files *.html>
ForceType text/pxt
SetHandler perl-script
Show replies by date