# Root ändern # PHP5 ausgeben Action php /cgi-php52/php AddHandler php52 .php # HTML als PHP übergeben AddType application/x-httpd-php .html .htm # Standarddomain definieren #RewriteEngine on #RewriteCond %{HTTP_HOST} !^www. [NC] #RewriteCond %{HTTP_HOST} !^$ #RewriteRule ^(.*) http://www.%{HTTP_HOST}/$1 [R=301] # Dateiaufruf verhindern order allow,deny deny from all # Fehlerbehandlung #ErrorDocument 401 http://www.pagez.at/ #ErrorDocument 403 http://www.pagez.at/ #ErrorDocument 404 http://www.pagez.at/ #ErrorDocument 500 http://www.pagez.at/ SetOutputFilter DEFLATE Header append Vary Accept-Encoding ExpiresActive On ExpiresByType image/png A604800 ExpiresByType image/gif A604800 ExpiresByType image/jpg A604800 ExpiresByType image/jpeg A604800 ExpiresByType text/javascript A604800 ExpiresByType application/x-javascript A604800 ExpiresByType text/css A604800 # Etags abschalten FileETag None