Revision [1021]

Last edited on 2010-11-05 15:09:15 by FsseInfo
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
Deletions:
===apache .htaccess===
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


Revision [1020]

Edited on 2010-11-05 15:05:12 by FsseInfo
Additions:
HttpAccessSecurity
----
REFERRERS
{{backlinks}}
Deletions:
==block referers==
%%
### 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
%%


Revision [289]

Edited on 2007-01-12 10:43:08 by FsseInfo
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:
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.


Revision [288]

Edited on 2007-01-12 10:42:51 by FsseInfo
Additions:
==Enable SSI & XSSI Server Side Includes==
Options Includes
AddOutputFilter INCLUDES .html


Revision [256]

Edited on 2006-11-24 09:37:34 by FsseInfo
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


Revision [239]

Edited on 2006-10-23 10:05:56 by FsseInfo
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]
Deletions:
===.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
RewriteRule ^(.*/[^\./]*[^/])$ $1/
RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]


Revision [56]

Edited on 2006-06-21 07:18:49 by FsseInfo
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


Revision [30]

Edited on 2006-06-19 11:26:43 by FsseInfo
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


Revision [29]

The oldest known version of this page was created on 2006-06-19 11:20:58 by FsseInfo
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki