head 1.14;
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.2
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.14
date 2009.10.13.15.50.04; author rse; state Exp;
branches;
next 1.13;
commitid jIUBXY0uEQQ5do7u;
1.13
date 2009.06.05.09.12.36; author rse; state Exp;
branches;
next 1.12;
commitid 6JArCndtodwObEQt;
1.12
date 2008.05.23.09.09.32; author rse; state Exp;
branches;
next 1.11;
commitid pdsCouNzlJ05k44t;
1.11
date 2008.04.10.10.28.05; author rse; state Exp;
branches;
next 1.10;
commitid nBP9VRktqJJI8yYs;
1.10
date 2008.04.09.13.10.16; author rse; state Exp;
branches;
next 1.9;
commitid 7KLawXfF4BRl4rYs;
1.9
date 2008.02.29.18.19.25; author rse; state Exp;
branches;
next 1.8;
commitid StWlxxkny8E74kTs;
1.8
date 2008.02.16.19.29.01; author rse; state Exp;
branches;
next 1.7;
commitid SD0efSxtYogURERs;
1.7
date 2008.02.16.11.31.32; author rse; state Exp;
branches;
next 1.6;
commitid 7F5eYFm41Jf6eCRs;
1.6
date 2008.02.16.11.26.03; author rse; state Exp;
branches;
next 1.5;
commitid paRgjgwlFgsdcCRs;
1.5
date 2007.07.06.20.40.42; author thl; state Exp;
branches;
next 1.4;
commitid l3Cq0r6QfK7UuKos;
1.4
date 2007.06.26.06.05.41; 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 2005.11.14.13.59.54; author tho; state Exp;
branches;
next 1.1;
commitid ewJzD8ZLybW9xJ9r;
1.1
date 2005.04.01.15.38.19; author rse; state Exp;
branches;
next ;
desc
@@
1.14
log
@preconfigure the defaults so that one finds them in case of trouble
@
text
@##
## drupal-apache.conf -- Drupal 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/drupal/run/apache.pid
ScoreBoardFile @@l_prefix@@/var/drupal/run/apache.sb
LockFile @@l_prefix@@/var/drupal/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/drupal/log/apache.access.log common
# error logging
LogLevel warn
ErrorLog @@l_prefix@@/var/drupal/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/drupal/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 Drupal
AddType application/x-httpd-php .php
php_admin_flag magic_quotes_gpc off
php_admin_flag register_globals off
php_admin_flag session.auto_start off
php_admin_value session.save_handler user
php_admin_value session.cache_limiter none
php_admin_value error_reporting 6135
php_admin_value memory_limit 64M
php_admin_value mbstring.http_input pass
php_admin_value mbstring.http_output pass
php_admin_flag mbstring.encoding_translation off
php_admin_value include_path .:@@l_prefix@@/share/drupal/includes
php_admin_value upload_max_filesize 2M
php_admin_value post_max_size 8M
# configure Drupal
RewriteEngine on
RewriteRule ^/$ /drupal/ [R,L]
Alias /drupal @@l_prefix@@/share/drupal
DocumentRoot @@l_prefix@@/share/drupal
DirectoryIndex index.php
ErrorDocument 404 /index.php
ExpiresByType text/html A1
Options -Indexes +FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
RewriteEngine On
RewriteBase /drupal
SetOutputFilter DEFLATE
SetOutputFilter DEFLATE
@
1.13
log
@enable compression for cached CSS and JS files
@
text
@d91 2
@
1.12
log
@if setting PHP ini error_reporting value from within Apache one has to use the effective numerical value or Drupal will not log anything at all
@
text
@d108 6
@
1.11
log
@even more memory is required and upgrade one more module
@
text
@d85 1
a85 1
php_admin_value error_reporting E_ALL&~E_NOTICE
@
1.10
log
@drupal with lots of modules requires even more memory
@
text
@d86 1
a86 1
php_admin_value memory_limit 32M
@
1.9
log
@ops, fix a hard-coded path
@
text
@d86 1
a86 1
php_admin_value memory_limit 16M
@
1.8
log
@try to fix permissions problems and cleanup displayed message
@
text
@d90 1
a90 1
php_admin_value include_path .:/usr/opkg/share/drupal
@
1.7
log
@align with joomla package
@
text
@d79 12
a90 9
AddType application/x-httpd-php .php
php_admin_flag magic_quotes_gpc off
php_admin_flag register_globals off
php_admin_flag session.auto_start off
php_admin_flag session.save_handler user
php_admin_flag session.cache_limiter none
php_admin_flag error_reporting E_ALL
php_admin_value memory_limit 16M
php_admin_value include_path .:@@l_prefix@@/share/drupal
@
1.6
log
@upgrading package: drupal 5.7 -> 6.0
@
text
@d87 1
d90 3
d102 2
@
1.5
log
@upgrading package: drupal 4.7.6 -> 5.1
@
text
@d8 1
d11 1
a11 1
Listen 127.0.0.1:80
d78 10
a88 4
AddType application/x-httpd-php .php
php_admin_flag magic_quotes_gpc 0
php_admin_flag register_globals 0
php_admin_flag session.auto_start 0
d93 1
a93 1
d95 1
a95 1
AllowOverride None
a97 8
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
Order deny,allow
Deny from all
@
1.4
log
@fix name of SSL module under Apache 2 world-order
@
text
@a7 1
ServerTokens Prod
@
1.3
log
@adopt more configs for apache2
@
text
@d60 1
a60 1
@
1.2
log
@make default inst more cosy
@
text
@a4 1
ServerType standalone
a10 1
Port 80
d18 3
a65 2
SSLLog @@l_prefix@@/var/drupal/log/apache.ssl.log
SSLLogLevel warn
@
1.1
log
@new package: drupal 4.6 (Content Management Platform)
@
text
@d12 2
a13 2
Port 8080
Listen 127.0.0.1:8080
@