Additions:
===apache .htaccess directives===
apache httpd directives can be put in either the global apache httpd config httpd.conf or in a local .htaccess file so they apply to that directory and its subdirectories.
HtAccessDeny
HtAccessFriendlyUrls
HtAccessIncludes
HtAccessRedirect
HtAccessSecure
apache httpd directives can be put in either the global apache httpd config httpd.conf or in a local .htaccess file so they apply to that directory and its subdirectories.
HtAccessDeny
HtAccessFriendlyUrls
HtAccessIncludes
HtAccessRedirect
HtAccessSecure
Deletions:
The settings available in .htaccess are the same as the globally defined ones in [[HttpdConf httpd.conf]] but in .htaccess apply to the local subdirectory and below.
HttpAccessSecurity
Additions:
HttpAccessSecurity
----
REFERRERS
{{backlinks}}
----
REFERRERS
{{backlinks}}
Deletions:
%%
### STOP REFERRER SPAM
SetEnvIfNoCase Referer ".*( <nastyword1>[ | ...] ).*" BadReferrer
order deny,allow
deny from env=BadReferrer
%%
==throw away MS directories==
%%
### STOP VIRUSES SCANNING
redirect /C http://www.stoptheviruscold.invalid
redirect /D http://www.stoptheviruscold.invalid
redirect /MSADC http://www.stoptheviruscold.invalid
redirect /msadc http://stoptheviruscold.invalid
redirect /scripts http://www.stoptheviruscold.invalid
redirect /_mem_bin http://stoptheviruscold.invalid
RedirectMatch (.*)\.cmd$ http://stoptheviruscold.invalid
RedirectMatch (.*)\.exe$ http://stoptheviruscold.invalid
%%
==rewrite friendly urls==
%%
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ wikka.php?wakka=$1 [L]
</IfModule>
%%
==rewrite friendly urls with multiple parameters==
%%
RewriteRule ^tags/(.+)/page/([0-9]+)$ /bbpress/tags.php?tag=$1&page=$2 [L,QSA]
%%
==multiviews==
%%
Options +MultiViews
%%
==Enable SSI & XSSI Server Side Includes==
%%
Options Includes
AddOutputFilter INCLUDES .html
%%
Additions:
The settings available in .htaccess are the same as the globally defined ones in [[HttpdConf httpd.conf]] but in .htaccess apply to the local subdirectory and below.
Deletions:
Additions:
==Enable SSI & XSSI Server Side Includes==
Options Includes
AddOutputFilter INCLUDES .html
Options Includes
AddOutputFilter INCLUDES .html
Additions:
==block referers==
==throw away MS directories==
==rewrite friendly urls==
==rewrite friendly urls with multiple parameters==
RewriteRule ^tags/(.+)/page/([0-9]+)$ /bbpress/tags.php?tag=$1&page=$2 [L,QSA]
==multiviews==
Options +MultiViews
==throw away MS directories==
==rewrite friendly urls==
==rewrite friendly urls with multiple parameters==
RewriteRule ^tags/(.+)/page/([0-9]+)$ /bbpress/tags.php?tag=$1&page=$2 [L,QSA]
==multiviews==
Options +MultiViews
Additions:
===apache .htaccess===
The settings available in .htaccess are the same as the globally defined ones in [[ApacheHttpdConf httpd.conf]] but in .htaccess apply to the local subdirectory and below.
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ wikka.php?wakka=$1 [L]
The settings available in .htaccess are the same as the globally defined ones in [[ApacheHttpdConf httpd.conf]] but in .htaccess apply to the local subdirectory and below.
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ wikka.php?wakka=$1 [L]
Deletions:
The settings available in .htaccess are the same as the globally defined ones in [[ApacheHttpdConf httpd.conf]] but in .htaccess apply to the local subdirectory and below
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*/[^\./]*[^/])$ $1/
RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
Additions:
The settings available in .htaccess are the same as the globally defined ones in [[ApacheHttpdConf httpd.conf]] but in .htaccess apply to the local subdirectory and below
Additions:
### STOP VIRUSES SCANNING
redirect /C http://www.stoptheviruscold.invalid
redirect /D http://www.stoptheviruscold.invalid
redirect /MSADC http://www.stoptheviruscold.invalid
redirect /msadc http://stoptheviruscold.invalid
redirect /scripts http://www.stoptheviruscold.invalid
redirect /_mem_bin http://stoptheviruscold.invalid
RedirectMatch (.*)\.cmd$ http://stoptheviruscold.invalid
RedirectMatch (.*)\.exe$ http://stoptheviruscold.invalid
redirect /C http://www.stoptheviruscold.invalid
redirect /D http://www.stoptheviruscold.invalid
redirect /MSADC http://www.stoptheviruscold.invalid
redirect /msadc http://stoptheviruscold.invalid
redirect /scripts http://www.stoptheviruscold.invalid
redirect /_mem_bin http://stoptheviruscold.invalid
RedirectMatch (.*)\.cmd$ http://stoptheviruscold.invalid
RedirectMatch (.*)\.exe$ http://stoptheviruscold.invalid