Thread Update neues Board: Design und ein paar Bugs (172 answers)
Opened by esskar at 2004-02-21 14:40

format_c
 2004-04-05 02:56
#39723 #39723
User since
2003-08-04
1706 Artikel
HausmeisterIn
[Homepage] [default_avatar]
Ich missbrauche jetzt mal den Thread als "Installationsprobleme PBoard".

OK ich habe folgende Schritte unternommen:

Der VirtualHost vom Apache sieht so aus:
Code: (dl )
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
Listen 8082
<VirtualHost 192.168.0.251:8082>
ServerName server.lan.de
ServerAlias koeppe.homelinux.org
User format_c
Group htmlsmb
DocumentRoot "/srv/www/htdocs/ext_8082/html/"
TransferLog /srv/www/htdocs/ext_8082/access_log
ErrorLog /srv/www/htdocs/ext_8082/error_log
ScriptAlias /cgi-bin/ "/srv/www/htdocs/ext_8082/html/cgi-bin/"
<Location /cgi-bin/>
SetHandler cgi-script
Options +ExecCGI -FollowSymLinks
</Location>

# Included for PBoard Installation
DirectoryIndex /perl-bin/pboard.pl
Alias /perl-bin/ "/srv/www/htdocs/ext_8082/html/perl-bin/"
PerlModule Apache::Registry
<Files board.pl>
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
PerlSendHeader On
PerlModule Apache::DBI
</Files>
<Files download.pl>
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
PerlSendHeader On
PerlModule Apache::DBI
</Files>
<Files upload.pl>
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
PerlSendHeader On
PerlModule Apache::DBI
</Files>
PerlInitHandler Apache::StatINC

PerlRequire /srv/www/htdocs/ext_8082/html/perl-bin/mod_perl_startup.pl

RewriteEngine On
RewriteLog /srv/www/htdocs/ext_8082/rewrite_log

RewriteRule /overview/ /perl-bin/pboard.pl?action=overview
RewriteRule /board/(.*)/(.*)/ /perl-bin/pboard.pl?action=viewboard;board
id=$1;$2
RewriteRule /thread/(.*)/(.*)/ /perl-bin/pboard.pl?acton=viewThread;thre
adid=$1;$2
RewriteRule /download/(.+)/(.*)/ /perl-bin/download.pl?file=$1;$2

</VirtualHost>


source-highlight ist installiert und Pfad in Config.pm ist angepasst.

Benötigte perlModule wurden alle installiert,
Datenbank + Benutzer wurde erstellt, Datenbankstruktur importiert.

Problem irgendwas hakt an der Apache konfig. Wenn ich den VirtalHost aus der Konfigu nehme lässt er sich starten

Wenn er drin ist sagt httpd das:
Code: (dl )
1
2
3
4
server:/srv/www/htdocs/ext_8082/tmp # /usr/sbin/httpd -t
Syntax OK
Speicherzugriffsfehler
server:/srv/www/htdocs/ext_8082/tmp #

mod_perl wird geladen:
Code: (dl )
1
2
3
server:/srv/www/htdocs/ext_8082/tmp # grep mod_perl /etc/httpd/suse_addmodule.conf
AddModule mod_perl.c
server:/srv/www/htdocs/ext_8082/tmp #

mod_rewrite auch:
Code: (dl )
1
2
3
4
server:/srv/www/htdocs/ext_8082/tmp # grep mod_rewrite /etc/httpd/httpd.conf
LoadModule rewrite_module /usr/lib/apache/mod_rewrite.so
AddModule mod_rewrite.c
server:/srv/www/htdocs/ext_8082/tmp #



Weis jemand Rat?

Gruß Alex

View full thread Update neues Board: Design und ein paar Bugs