head 1.4;
access;
symbols
OPENPKG_E1_MP:1.2
OPENPKG_E1_MP_HEAD:1.2;
locks; strict;
comment @# @;
1.4
date 2007.06.26.06.05.43; author rse; state Exp;
branches;
next 1.3;
commitid NY0mEZ1C64TAYnns;
1.3
date 2007.06.22.16.24.50; author thl; state Exp;
branches;
next 1.2;
commitid hoWTAK4fqlb1xVms;
1.2
date 2006.12.25.14.47.50; author rse; state Exp;
branches;
next 1.1;
commitid 2TeXai2dRFBtKUZr;
1.1
date 2006.12.25.10.16.23; author rse; state Exp;
branches;
next ;
commitid TLpeAohQIOklfTZr;
desc
@@
1.4
log
@fix name of SSL module under Apache 2 world-order
@
text
@##
## phpbb-apache.conf -- phpBB Apache Custom Configuration
##
ServerRoot @@l_prefix@@
ServerAdmin root@@@@l_hostname@@.@@l_domainname@@
ServerName @@l_hostname@@.@@l_domainname@@
ServerTokens Prod
User @@l_rusr@@
Group @@l_rgrp@@
Listen 127.0.0.1:8080
# runtime files
PidFile @@l_prefix@@/var/phpbb/run/apache.pid
ScoreBoardFile @@l_prefix@@/var/phpbb/run/apache.sb
LockFile @@l_prefix@@/var/phpbb/run/apache.lck
# include apache-php
Include @@l_prefix@@/etc/apache/apache.d/apache-php.conf
# server behaviour
Timeout 300
KeepAlive on
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 15
MaxRequestsPerChild 500
HostnameLookups off
UseCanonicalName on
# access logging
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog @@l_prefix@@/var/phpbb/log/apache.access.log common
# error logging
LogLevel warn
ErrorLog @@l_prefix@@/var/phpbb/log/apache.error.log
ServerSignature on
# secure root directory
Options FollowSymLinks
AllowOverride None
# browser specifics
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
# SSL/TLS support
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
SSLMutex sem
SSLSessionCache shmcb:@@l_prefix@@/var/phpbb/run/apache.scache(512000)
SSLSessionCacheTimeout 300
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
SSLOptions +StdEnvVars
SSLOptions +StdEnvVars
# configure PHP for phpBB
AddType application/x-httpd-php .php
php_admin_flag register_globals off
php_admin_flag safe_mode off
php_admin_flag safe_mode_gid off
php_admin_flag allow_url_fopen off
php_admin_flag display_errors off
php_admin_value log_errors on
php_admin_value max_execution_time 60
php_admin_value max_input_time 60
php_admin_value memory_limit 8M
php_admin_value post_max_size 8M
php_admin_value include_path .:@@l_prefix@@/lib/phpbb/runtime:@@l_prefix@@/lib/php
php_admin_value safe_mode_include_dir @@l_prefix@@/lib/phpbb/runtime
# configure phpBB
RewriteEngine on
RewriteRule ^/$ /phpbb/ [R,L]
Alias /phpbb @@l_prefix@@/lib/phpbb/runtime
DocumentRoot @@l_prefix@@/lib/phpbb/runtime
DirectoryIndex index.php
Options Indexes ExecCGI FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
@
1.3
log
@adopt more configs for apache2
@
text
@d60 1
a60 1
@
1.2
log
@fix corresponding Apache configuration
@
text
@a4 1
ServerType standalone
a10 1
Port 8080
d18 3
a65 2
SSLLog @@l_prefix@@/var/phpbb/log/apache.ssl.log
SSLLogLevel warn
@
1.1
log
@new package: phpbb 3.0.B4 (Web Bulletin Board System (BBS))
@
text
@d91 2
a92 2
php_admin_value include_path .:@@l_prefix@@/lib/phpbb:@@l_prefix@@/lib/php
php_admin_value safe_mode_include_dir @@l_prefix@@/lib/phpbb
d97 2
a98 2
Alias /phpbb @@l_prefix@@/lib/phpbb
DocumentRoot @@l_prefix@@/lib/phpbb
d100 2
a101 2
Options Indexes ExecCGI
@