Trevor Slocum
1256e7cca0
When TINYIB_ADMINPASS is set, a super-administrator account with the username 'admin' is created using the provided password. WHEN TINYIB_MODPASS is set, a moderator account with the username 'mod' is created using the provided password.
43 lines
1.4 KiB
ApacheConf
43 lines
1.4 KiB
ApacheConf
DirectoryIndex index.html
|
|
Options -Indexes
|
|
AddCharset UTF-8 .html
|
|
AddCharset UTF-8 .php
|
|
|
|
<IfModule mod_headers.c>
|
|
Header unset ETag
|
|
<Files *.html>
|
|
Header add Pragma "no-cache"
|
|
Header add Cache-Control "no-cache"
|
|
Header unset Vary
|
|
</Files>
|
|
</IfModule>
|
|
|
|
<IfModule mod_expires.c>
|
|
ExpiresActive On
|
|
ExpiresByType image/x-icon "access plus 2592000 seconds"
|
|
ExpiresByType text/css "access plus 604800 seconds"
|
|
ExpiresByType text/javascript "access plus 216000 seconds"
|
|
ExpiresByType application/x-javascript "access plus 216000 seconds"
|
|
ExpiresByType image/gif "access plus 2592000 seconds"
|
|
ExpiresByType image/jpeg "access plus 2592000 seconds"
|
|
ExpiresByType image/png "access plus 2592000 seconds"
|
|
ExpiresByType audio/webm "access plus 2592000 seconds"
|
|
ExpiresByType video/webm "access plus 2592000 seconds"
|
|
ExpiresByType audio/mp4 "access plus 2592000 seconds"
|
|
ExpiresByType video/mp4 "access plus 2592000 seconds"
|
|
ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds"
|
|
</IfModule>
|
|
|
|
<IfModule mod_deflate.c>
|
|
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
|
|
</Ifmodule>
|
|
|
|
<IfModule mod_alias.c>
|
|
RedirectMatch 404 (.*)\.accounts$
|
|
RedirectMatch 404 (.*)\.bans$
|
|
RedirectMatch 404 (.*)\.keywords$
|
|
RedirectMatch 404 (.*)\.logs$
|
|
RedirectMatch 404 (.*)\.posts$
|
|
RedirectMatch 404 (.*)\.reports$
|
|
RedirectMatch 404 (.*)\.tinyib.db$
|
|
</Ifmodule>
|