Falsches Forum.
MfG
DocumentRoot /var/www/
<Directory />
Options SymLinksIfOwnerMatch
AllowOverride None
</Directory>
<Directory /var/www>
Options FollowSymLinks Includes
AllowOverride AuthConfig FileInfo
Order allow,deny
allow from all
</Directory>
1. [error] [client 80.144.111.213] File does not exist: /var/www/favicon.ico
2. [error] [client 216.240.132.119] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
3. [error] [client 78.47.55.32] Directory index forbidden by Options directive: /var/www/
#################################################
## PHP Link Directory - Apache Server Settings ##
#################################################
# Protect files
<Files ~ "^(.*)\.(inc|inc\.php|tpl|sql)$">
Order deny,allow
Deny from all
</Files>
# Protect directories
<Files ~ "^(files|images|include|lang|libs(/.+)?|temp(/.+)?|templates(/.+)?|javascripts(/.+)?)$">
Order deny,allow
Deny from all
</Files>
# Disable directory browsing
Options -Indexes
# Follow symbolic links in this directory
Options +FollowSymLinks
# Set the default handler
DirectoryIndex index.php
# URL rewrite rules
<IfModule mod_rewrite.c>
RewriteEngine On
## Category redirect
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php [QSA,L]
<Directory /var/kunden/webs/KUNDE/PROGRAMMDIR>
Options +FollowSymLinks
AllowOverride All
</Directory>
We use essential cookies to make this site work, and optional cookies to enhance your experience.