aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2011-04-06 17:45:03 +0200
committerChristian Ruppert <idl0r@gentoo.org>2011-04-06 17:45:03 +0200
commita158adad3ae5e36658d7fee862e6788cfcd51e4c (patch)
tree6d5ff1193e3b5c5da37cd5c56be8c63457afd5d5 /invalid_files/README
parenteapi_usage.sh: Stop using the time command (diff)
downloadqa-scripts-a158adad3ae5e36658d7fee862e6788cfcd51e4c.tar.gz
qa-scripts-a158adad3ae5e36658d7fee862e6788cfcd51e4c.tar.bz2
qa-scripts-a158adad3ae5e36658d7fee862e6788cfcd51e4c.zip
Add the dirty invalid_files scripts
Diffstat (limited to 'invalid_files/README')
-rw-r--r--invalid_files/README41
1 files changed, 41 insertions, 0 deletions
diff --git a/invalid_files/README b/invalid_files/README
new file mode 100644
index 0000000..3cdffaf
--- /dev/null
+++ b/invalid_files/README
@@ -0,0 +1,41 @@
+Cronjob:
+GDatabase.pm could go into e.g. /var/www/localhost/, wwwroot is not necessary.
+# 5 0 * * * cd /path/to/qa-scripts/invalid_files/; perl main.pl > /tmp/toparse; perl make_hash.pl /tmp/toparse > /path/to/your/GDatabase.pm
+
+Copy gentoo_unused_files.pl into your wwwroot.
+
+mod_perl:
+
+75_mod_perl.conf:
+<IfDefine PERL>
+ LoadModule perl_module modules/mod_perl.so
+ PerlRequire "/etc/apache2/modules.d/apache2-mod_perl-startup.pl"
+ PerlModule ModPerl::Registry
+
+ PerlSetEnv PATH "/bin:/usr/bin"
+ PerlSwitches -wT
+ PerlOptions None -Authen -Authz -Access +ParseHeaders
+
+ PerlModule strict
+</IfDefine PERL>
+
+Vhost conf:
+<Directory /path/to/your/wwwroot>
+ ...
+
+ <IfDefine PERL>
+ <IfModule perl_module>
+ # Either FilesMatch or Files
+ <FilesMatch ^gentoo_unused_files\.pl$>
+ SetHandler perl-script
+ PerlResponseHandler ModPerl::PerlRun
+ PerlOptions None +ParseHeaders
+ </FilesMatch>
+ </IfModule>
+ </IfDefine>
+
+ ...
+</Directory>
+
+mod_cgi(d):
+The usual way...