Bei den Konfigurationen beschränke ich mich auf die wesentlichen Teile, die nur das Projekt PHP-O-Shop direkt betreffen
LoadModule php5_module libexec/libphp5.so
VERZEICHNISSE
DirectoryIndex index
<Files ~ "^.ht">
Order allow,deny
Deny from all
Satisfy All
</Files>
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/self-o-shop/htdocs">
AllowOverride All
Options All +MultiViews
Order allow,deny
Allow from all
RewriteEngine on
RewriteRule shop$ http://%{HTTP_HOST}/shop/ [R]
<Files "shop">
ForceType application/x-httpd-php
</Files>
</Directory>
<Directory "/self-o-shop/admin">
AllowOverride All
DirectoryIndex index.php
Options All
Require valid-user
php_value post_max_size 1M
php_value upload_max_filesize 1M
</Directory>
PHP
php_flag allow_call_time_pass_reference 0
php_flag magic_quotes_gpc 0
php_flag register_argc_argv 0
php_flag register_long_arrays 0
php_value arg_separator.input "&"
php_value default_charset "iso-8859-1"
php_value include_path ".:/self-o-shop/php/include"
php_value post_max_size 102400
php_value upload_max_filesize 10
php_value user_agent "Self-O-Shop"
php_value variables_order "GPC"
VHOSTS
NameVirtualHost 192.168.0.9
<VirtualHost self-o-shop>
DocumentRoot /self-o-shop/htdocs
<Directory "/self-o-shop/htdocs/img">
ExpiresActive On
ExpiresDefault A2419200
Header append Cache-Control "public"
</Directory>
<Directory "/self-o-shop/htdocs/add">
ExpiresActive On
ExpiresDefault A2419200
Header append Cache-Control "public"
</Directory>
</VirtualHost>
<VirtualHost admin>
DocumentRoot /self-o-shop/admin
</VirtualHost>
Des weiteren kehre ich mit dem eisernen Besen durch die mime.types und entferne alles, was nicht hundertprozentig gebraucht wird. Dmit ich PHP-Unteerstüzung erhalte, trage ich noch folgendes ein:
application/x-httpd-php php
Gruß aus Berlin!
eddi