Warning: This software is outdated. Further information on the home page.

.htaccess files and their meaning

/.htaccess
ExpiresByType ...
This makes images stay 2 days on your browser. It won’t even ask the server if they have been updated, so they can be displayed very fast. [optional]

DirectoryIndex forum.php
Loads overview page without typing “forum.php” in the URL [optional]

RewriteEngine ...
This makes the short URLs. [optional]

<Files board.conf.*>
    Order allow,deny
    Deny from all
</Files>
Don’t allow access to the config file. [optional]
/unb_lib/.htaccess
<Files *.inc.php>
    Order allow,deny
    Deny from all
</Files>
<Files *.lib.php>
    Order allow,deny
    Deny from all
</Files>
Disallow access to *.inc.php and *.lib.php files. This based on the first patch against the former security problem. It still builds the first layer against this type of attack, version 1.5.2 introduced two more of them that made this directive almost meaningless then. [required for 1.5.1-, optional for 1.5.2+]
/unb_lib/logs/.htaccess
Order allow,deny
Deny from all
Forbid direct access to the log files from the outside via HTTP. [optional for operation, required for security]
/unb_lib/upload/.htaccess
<Files post*>
    Order allow,deny
    Deny from all
</Files>
Don’t allow direct downloads of post attachments from the outside via HTTP. This applies to all files named post* [optional for operation, required for security]
© 2003–2024 by Yves Goergen web1@unclassified.de
Content last updated on 2005-09-09 18:10 UTC
dotforward webhosting Get Firefox XHTML 1.1 CSS