| Code: |
# 'Options +FollowSymLinks' is required for use of mod_rewrite.
# Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
# 'Options +Includes' is required for use of Server Side Includes (SSI), such as custom error pages (like 403.shtml).
# Can be commented out if causes errors, see notes above.
Options +Includes
# -------------------------------------------
# Set search order for index files
# -------------------------------------------
# DirectoryIndex index.php index.htm index.html
# -------------------------------------------
# For better performance set FileETag to NONE base on recommendations from
# http://developer.yahoo.net/blog/archives/2007/07/high_performanc_11.html
# -------------------------------------------
# FileETag none
# -------------------------------------------
# Only process if mod_expires is installed
# For faster load times cache certain types of files for specific amount of time
# You should adjust these settings based upon your caching requirements
# -------------------------------------------
# <IfModule mod_expires.c>
# ExpiresActive On
# # ExpiresDefault A86400
# ExpiresByType image/x-icon "access plus 1 month"
# ExpiresByType text/css "access plus 5 minutes"
# ExpiresByType image/gif "access plus 1 month"
# ExpiresByType image/png "access plus 1 month"
# ExpiresByType image/jpeg "access plus 1 month"
# ExpiresByType text/plain "access plus 15 minutes"
# ExpiresByType application/x-shockwave-flash "access plus 1 month"
# ExpiresByType video/x-flv "access plus 1 month"
# ExpiresByType application/pdf "access plus 1 month"
# ExpiresByType text/html "access plus 5 minutes"
# ExpiresByType text/javascript "access plus 5 minutes"
# ExpiresByType application/x-javascript "access plus 5 minutes"
# </IfModule>
#-------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
#-------------------------------------------
#<Files .staccess>
# deny from all
#</Files>
#<Files admin.php>
# <Limit GET POST PUT>
# require valid-user
# </Limit>
# AuthName "Restricted by NukeSentinel(tm)"
# AuthType Basic
# AuthUserFile /mnt/146/sdb/a/c/myusername/.staccess
#</Files>
#-------------------------------------------
# End of NukeSentinel(tm) admin.php Auth
#-------------------------------------------
# -------------------------------------------
# If you use TegoNuke(tm) ShortLinks with RavenNuke(tm) then copy your ShortLinks.htaccess file/rules below inbetween
# the <IfModule> and </IfModule> tags.
# Only process if mod_rewrite is installed
# -------------------------------------------
# <IfModule mod_rewrite.c>
# # TegoNuke(tm) ShortLinks - ShortLinks.htaccess file/rules should go after this line
# </IfModule>
# -------------------------------------------
# Error Document Redirects
# TegoNuke(tm) ShortLinks - ShortLinks.htaccess file MUST be before these directives (See above).
# If you add a new error redirect then you need to add the corresponding xxx.php file to modules/ErrorDocuments/
# Format:
# ErrorDocument xxx /PATH_TO_ERROR_DOCUMENT_RELATIVE_TO_WEB_SERVER_DOCUMENT_ROOT
# -------------------------------------------
ErrorDocument 400 /modules.php?name=ErrorDocuments
ErrorDocument 401 /modules.php?name=ErrorDocuments
ErrorDocument 403 /modules.php?name=ErrorDocuments
ErrorDocument 404 /modules.php?name=ErrorDocuments
ErrorDocument 406 /modules.php?name=ErrorDocuments
ErrorDocument 500 /modules.php?name=ErrorDocuments
# -------------------------------------------
# Start of NukeSentinel(tm) DENY FROM area
# -------------------------------------------
|