Hy,
ich hab Probleme bestimmte Plugins in mein Twiki zu laden (DirectedGraphPlugin, LatexModePlugin).
Da ich mich in Apache nicht soo gut auskenne und das fuer mich ein (dunkelorangenes) Tuch ist... Ich weiss nicht mal ob das ein Fehler in der Apache-Configuration ist, oder die Module falsch installiert sind, permissions?
Mein Apache ist auf einem lokalen Server, der über Squid angesteuert wird.
Die Wiki-Seiten erscheinen auch, und ein Teil der Plugins funktioniert.
Ich habe das gefuehl, dass der Apache keine Grafiken erstellen oder die Tools dazu ausfuehren kann...
Erst mal zu DirectedGraphPlugin:
Auffaellige Apache-Meldungen:
|
Quellcode
|
1
2
|
[Tue Jun 03 23:01:02 2008] [error] [client 192.168.XX.XX] client denied by server configuration: /data/www/wiki/Sandbox, referer: http://wiki/twiki/bin/edit/Sandbox/?topic=TestBox&onlywikiname=on&onlynewtopic=on
[Tue Jun 03 23:01:02 2008] [warn] -T switch is ignored, enable with 'PerlSwitches -T' in httpd.conf\n
|
Die Permissions:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
wiki # ll lib/TWiki/Plugin*
-r--r--r-- 1 apache apache 9710 Jan 22 04:18 lib/TWiki/Plugin.pm
-r--r--r-- 1 apache apache 23002 Jan 22 04:18 lib/TWiki/Plugins.pm
wiki # ll lib/TWiki/Plugins/Directed*
-rwxrwxr-- 1 apache apache 17474 Jan 19 02:18 lib/TWiki/Plugins/DirectedGraphPlugin.pm
-rw-r--r-- 1 apache apache 17474 Jan 19 02:18 lib/TWiki/Plugins/DirectedGraphPlugin.pm.bak
-rwxrwxr-- 1 apache apache 14286 Apr 19 2006 lib/TWiki/Plugins/DirectedGraphWebMapPlugin.pm
lib/TWiki/Plugins/DirectedGraphPlugin:
total 16
drwxr-xr-x 2 apache apache 4096 Jun 3 22:37 .
drwxr-xr-x 22 apache apache 4096 Mar 5 23:45 ..
-rw-r--r-- 1 apache apache 1009 Jun 3 22:37 Config.spec
-rw-r--r-- 1 apache apache 978 Jan 19 02:18 Config.spec.bak
|
Und die Plugin-Config:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
wiki # cat lib/TWiki/Plugins/DirectedGraphPlugin/Config.spec
# ---+ Directed Graph Plugin
# Settings for the GraphViz interface. Generates graphs using the <dot> language
# **PATH M**
# Path to the GraphViz executable. (Must include trailing slash)
$TWiki::cfg{DirectedGraphPlugin}{enginePath} = '/usr/bin/';
# **PATH M**
# Path to the ImageMagick convert utility. (Must include trailing slash) <br>
# - This is used to support antialias output <br>
# (Required if GraphViz doesn't have Cario rendering support.)
$TWiki::cfg{DirectedGraphPlugin}{magickPath} = '/usr/bin/';
# **PATH M**
# Path to the TWiki tools directory .(Must include trailing slash) <br>
# The DirectedGraphPlugin.pl helper script is found in this directory.
# Typically found in the web server root along with bin, data, pub, etc.
$TWiki::cfg{DirectedGraphPlugin}{toolsPath} = '/data/www/wiki' ;
# **PATH M**
# Perl command used on this system <br>
# On many systems this can just be the "perl" command
$TWiki::cfg{DirectedGraphPlugin}{perlCmd} = '/usr/bin/perl';
|
Meine Apache-Config:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
|
wiki # cat /etc/apache2/vhosts.d/10_wiki.conf | grep -v "^#"
<VirtualHost 192.168.XX.XX:80>
ServerName wiki.local
DocumentRoot "/data/www/wiki"
CustomLog /var/log/apache2/wiki_log combined
ErrorLog /var/log/apache2/wiki_log
BrowserMatchNoCase ^Accoona blockAccess
BrowserMatchNoCase ^ActiveAgent blockAccess
BrowserMatchNoCase ^Attache blockAccess
BrowserMatchNoCase BecomeBot blockAccess
BrowserMatchNoCase ^bot blockAccess
BrowserMatchNoCase Charlotte/ blockAccess
BrowserMatchNoCase ^ConveraCrawler blockAccess
BrowserMatchNoCase ^CrownPeak-HttpAgent blockAccess
BrowserMatchNoCase ^EmailCollector blockAccess
BrowserMatchNoCase ^EmailSiphon blockAccess
BrowserMatchNoCase ^e-SocietyRobot blockAccess
BrowserMatchNoCase ^Exabot blockAccess
BrowserMatchNoCase ^FAST blockAccess
BrowserMatchNoCase ^FDM blockAccess
BrowserMatchNoCase ^GetRight/6.0a blockAccess
BrowserMatchNoCase ^GetWebPics blockAccess
BrowserMatchNoCase ^Gigabot blockAccess
BrowserMatchNoCase ^gonzo1 blockAccess
BrowserMatchNoCase ^Google\sSpider blockAccess
BrowserMatchNoCase ^ichiro blockAccess
BrowserMatchNoCase ^ie_crawler blockAccess
BrowserMatchNoCase ^iGetter blockAccess
BrowserMatchNoCase ^IRLbot blockAccess
BrowserMatchNoCase Jakarta blockAccess
BrowserMatchNoCase ^Java blockAccess
BrowserMatchNoCase ^KrakSpider blockAccess
BrowserMatchNoCase ^larbin blockAccess
BrowserMatchNoCase ^LeechGet blockAccess
BrowserMatchNoCase ^LinkWalker blockAccess
BrowserMatchNoCase ^Lsearch blockAccess
BrowserMatchNoCase ^Microsoft blockAccess
BrowserMatchNoCase ^MJ12bot blockAccess
BrowserMatchNoCase MSIECrawler blockAccess
BrowserMatchNoCase ^MSRBOT blockAccess
BrowserMatchNoCase ^noxtrumbot blockAccess
BrowserMatchNoCase ^NutchCVS blockAccess
BrowserMatchNoCase ^RealDownload blockAccess
BrowserMatchNoCase ^Rome blockAccess
BrowserMatchNoCase ^Roverbot blockAccess
BrowserMatchNoCase ^schibstedsokbot blockAccess
BrowserMatchNoCase ^Seekbot blockAccess
BrowserMatchNoCase ^SiteSnagger blockAccess
BrowserMatchNoCase ^SiteSucker blockAccess
BrowserMatchNoCase ^Snapbot blockAccess
BrowserMatchNoCase ^sogou blockAccess
BrowserMatchNoCase ^SpiderKU blockAccess
BrowserMatchNoCase ^SpiderMan blockAccess
BrowserMatchNoCase ^Squid blockAccess
BrowserMatchNoCase ^Teleport blockAccess
BrowserMatchNoCase ^User-Agent\: blockAccess
BrowserMatchNoCase VoilaBot blockAccess
BrowserMatchNoCase ^voyager blockAccess
BrowserMatchNoCase ^W3C blockAccess
BrowserMatchNoCase ^w3search blockAccess
BrowserMatchNoCase ^Web\sDownloader blockAccess
BrowserMatchNoCase ^WebCopier blockAccess
BrowserMatchNoCase ^WebDevil blockAccess
BrowserMatchNoCase ^WebSec blockAccess
BrowserMatchNoCase ^WebVac blockAccess
BrowserMatchNoCase ^Webwhacker blockAccess
BrowserMatchNoCase ^Webzip blockAccess
BrowserMatchNoCase ^Wells blockAccess
BrowserMatchNoCase ^WhoWhere blockAccess
BrowserMatchNoCase www\.netforex\.org blockAccess
BrowserMatchNoCase ^WX_mail blockAccess
BrowserMatchNoCase ^yacybot blockAccess
BrowserMatchNoCase ^ZIBB blockAccess
BrowserMatchNoCase ^$ blockAccess
PerlRequire /data/www/wiki/tools/mod_perl_startup.pl
PerlSwitches -T
ScriptAlias /twiki/bin "/data/www/wiki/bin/"
Alias /twiki "/data/www/wiki"
<Directory "/data/www/wiki/bin">
AllowOverride None
Order Allow,Deny
Allow from all
Deny from env=blockAccess
Options ExecCGI FollowSymLinks
SetHandler cgi-script
# Password file for TWiki users
AuthUserFile /data/www/wiki/data/.htpasswd
AuthName 'Enter your WikiName: (First name and last name, no space, no dots, capitalized, e.g. JohnSmith). Cancel to register if you do not have one.'
AuthType Basic
# File to return on access control error (e.g. wrong password)
ErrorDocument 401 /twiki/bin/view/TWiki/TWikiRegistration
<FilesMatch "^(configure)$">
SetHandler cgi-script
Order Deny,Allow
Deny from all
Allow from 192.168.XX.XX
Satisfy Any
</FilesMatch>
<FilesMatch "(attach|edit|manage|rename|save|upload|mail|logon|rest|.*auth).*">
require valid-user
</FilesMatch>
<FilesMatch "(attach|edit|manage|rename|save|upload|view|rest|.*auth).*">
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlSendHeader On
PerlOptions +ParseHeaders
</FilesMatch>
</Directory>
<Directory "/data/www/wiki/pub">
Options None
AllowOverride None
Order Allow,Deny
Allow from all
Deny from env=blockAccess
# Disable execusion of PHP scripts
#php_admin_flag engine off
# This line will redefine the mime type for the most common types of scripts
AddType text/plain .shtml .php .php3 .phtml .phtm .pl .py .cgi
</Directory>
<Directory "/data/www/wiki/pub/Trash">
deny from all
</Directory>
<Directory "/data/www/wiki/data">
deny from all
</Directory>
<Directory "/data/www/wiki/templates">
deny from all
</Directory>
<Directory "/data/www/wiki/lib">
deny from all
</Directory>
<Directory "/data/www/wiki/locale">
deny from all
</Directory>
<Directory "/data/www/wiki/tools">
deny from all
</Directory>
<Directory "/data/www/wiki/working">
deny from all
</Directory>
|
Ich sitze jetzt echt schon Tage dran und kriege das nicht gebacken..
Waere echt dankbar fuer Hilfe..
Gruss, Toni.