head	1.12;
access;
symbols
	OPENPKG_E1_MP_HEAD:1.2
	OPENPKG_E1_MP:1.2
	OPENPKG_E1_MP_2_STABLE:1.2
	OPENPKG_E1_FP:1.2
	OPENPKG_2_STABLE_MP:1.6
	OPENPKG_2_STABLE_20061018:1.2
	OPENPKG_2_STABLE_20060622:1.2
	OPENPKG_2_STABLE:1.2.0.2
	OPENPKG_2_STABLE_BP:1.2
	OPENPKG_2_5_RELEASE:1.1
	OPENPKG_2_5_SOLID:1.1.0.2
	OPENPKG_2_5_SOLID_BP:1.1;
locks; strict;
comment	@# @;


1.12
date	2008.01.02.11.18.34;	author rse;	state Exp;
branches;
next	1.11;
commitid	vtMpPv99BxnjBPLs;

1.11
date	2007.12.30.11.59.07;	author rse;	state Exp;
branches;
next	1.10;
commitid	F7OGREZXf4geVrLs;

1.10
date	2007.12.25.15.59.31;	author rse;	state Exp;
branches;
next	1.9;
commitid	iDFIUDFd2IOEpPKs;

1.9
date	2007.06.26.06.05.44;	author rse;	state Exp;
branches;
next	1.8;
commitid	NY0mEZ1C64TAYnns;

1.8
date	2007.06.22.15.42.33;	author thl;	state Exp;
branches;
next	1.7;
commitid	w8Uue7PMsOtwiVms;

1.7
date	2007.06.22.15.39.25;	author thl;	state Exp;
branches;
next	1.6;
commitid	WkLihZGv0gRrhVms;

1.6
date	2007.02.16.20.42.52;	author rse;	state Exp;
branches;
next	1.5;
commitid	jGJ4bvSU5MxE0L6s;

1.5
date	2007.02.13.15.22.33;	author rse;	state Exp;
branches;
next	1.4;
commitid	k7D5VG7Ts2mKkl6s;

1.4
date	2007.02.13.14.48.30;	author rse;	state Exp;
branches;
next	1.3;
commitid	B8cizkCnWCs49l6s;

1.3
date	2007.02.10.13.37.29;	author rse;	state Exp;
branches;
next	1.2;
commitid	9VM2A95qJB7GQW5s;

1.2
date	2006.05.17.16.17.47;	author rse;	state Exp;
branches
	1.2.2.1;
next	1.1;
commitid	uUNQ4csPWOGKnoxr;

1.1
date	2005.07.27.12.03.30;	author rse;	state Exp;
branches;
next	;

1.2.2.1
date	2007.03.18.23.33.35;	author thl;	state Exp;
branches;
next	;
commitid	j886gsownDQWXCas;


desc
@@


1.12
log
@Wordpress usually always wants to use apache-extfwd for spam prevention
@
text
@##
##  wordpress-apache.conf -- Wordpress 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:8081

#   runtime files
PidFile                @@l_prefix@@/var/wordpress/run/wordpress-apache.pid
ScoreBoardFile         @@l_prefix@@/var/wordpress/run/wordpress-apache.sb
LockFile               @@l_prefix@@/var/wordpress/run/wordpress-apache.lck

#   include apache-php
Include                @@l_prefix@@/etc/apache/apache.d/apache-php.conf

#   include apache-extfwd
Include                @@l_prefix@@/etc/apache/apache.d/apache-extfwd.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/wordpress/log/wordpress-apache.access.log common

#   error logging
LogLevel               warn
ErrorLog               @@l_prefix@@/var/wordpress/log/wordpress-apache.error.log
ServerSignature        on

#   secure root directory
<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

#   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
<IfModule ssl_module>
    SSLRandomSeed           startup builtin
    SSLRandomSeed           connect builtin
    SSLMutex                sem
    SSLSessionCache         shmcb:@@l_prefix@@/var/wordpress/run/wordpress-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
    <Files ~ "\.(cgi|shtml|phtml|php?)$">
        SSLOptions +StdEnvVars
    </Files>
    <Directory "@@l_prefix@@/cgi">
        SSLOptions +StdEnvVars
    </Directory>
</IfModule>

#   configure WordPress
AddType           application/x-httpd-php .php
php_admin_flag    safe_mode          0
php_admin_flag    magic_quotes_gpc   0
php_admin_flag    register_globals   0
php_admin_flag    session.auto_start 0
php_admin_value   upload_tmp_dir @@l_prefix@@/var/wordpress/tmp
DocumentRoot      @@l_prefix@@/libexec/wordpress
DirectoryIndex    index.php
ErrorDocument     404 /index.php
ExpiresByType     text/html A1
#RewriteEngine    on
#RewriteRule      ^/blog(.*)$ $1 [PT,L]
Alias             /blog @@l_prefix@@/libexec/wordpress
<Directory        "@@l_prefix@@/libexec/wordpress">
    Options       -Indexes +FollowSymLinks
    AllowOverride None
    Order         allow,deny
    Allow         from all
    RewriteEngine on
    RewriteCond   %{REQUEST_FILENAME} !-f
    RewriteCond   %{REQUEST_FILENAME} !-d
    RewriteRule   ^(.*)$ index.php?q=$1 [L,QSA]
    <Files ~ "(\.(inc|module|pl|sh|sql|theme|engine|xtmpl)|Entries|Repositories|Root|scripts|updates)$">
        Order     deny,allow
        Deny      from all
    </Files>
</Directory>

@


1.11
log
@apply my shameless hack as one usually needs anyway
@
text
@d21 3
@


1.10
log
@move var files into sub-dirs and add logfile rotation
@
text
@d91 1
@


1.9
log
@fix name of SSL module under Apache 2 world-order
@
text
@d14 3
a16 3
PidFile                @@l_prefix@@/var/wordpress/wordpress-apache.pid
ScoreBoardFile         @@l_prefix@@/var/wordpress/wordpress-apache.sb
LockFile               @@l_prefix@@/var/wordpress/wordpress-apache.lck
d39 1
a39 1
CustomLog              @@l_prefix@@/var/wordpress/wordpress-apache.access.log common
d43 1
a43 1
ErrorLog               @@l_prefix@@/var/wordpress/wordpress-apache.error.log
d64 1
a64 1
    SSLSessionCache         shmcb:@@l_prefix@@/var/wordpress/wordpress-apache.scache(512000)
@


1.8
log
@replace my personal path with generic stuff
@
text
@d60 1
a60 1
<IfModule mod_ssl.c>
@


1.7
log
@adopt wordpress config for apache2
@
text
@d19 1
a19 1
Include "/s/lot/etc/apache/apache.d/apache-php.conf"
@


1.6
log
@prepare config for a common URL prefix (which is just stripped away) in order to support proxy setups
@
text
@a4 1
ServerType             standalone
a10 1
Port                   8081
d18 3
a65 2
    SSLLog                  @@l_prefix@@/var/wordpress/wordpress-apache.ssl.log
    SSLLogLevel             warn
@


1.5
log
@wordpress upload functionality doesn't work under safe_mode, so (sick) disable it for now
@
text
@d90 2
@


1.4
log
@provide a writeable temporary directory _inside_ the instance for PHP upload functionality
@
text
@d81 1
@


1.3
log
@fix small copy & paste error
@
text
@d84 1
@


1.2
log
@fix cut & paste error
@
text
@d79 1
a79 1
#   configure Drupal
@


1.2.2.1
log
@MFC: make up leeway for 2_STABLE by virtue of build-time results
@
text
@d79 1
a79 1
#   configure WordPress
a80 1
php_admin_flag    safe_mode          0
a83 1
php_admin_value   upload_tmp_dir @@l_prefix@@/var/wordpress/tmp
a87 2
#RewriteEngine    on
#RewriteRule      ^/blog(.*)$ $1 [PT,L]
@


1.1
log
@new package: wordpress 1.5.1.3 (Weblog Publishing System)
@
text
@d12 1
a12 1
Port                   8080
@

