-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
22c7a65
commit e4fce99
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
AddDefaultCharset utf-8 | ||
DefaultLanguage en-US | ||
AddType application/xhtml+xml .xhtml | ||
# AddType text/xml .xhtml | ||
|
||
DirectoryIndex index.xhtml index.html index.cgi | ||
|
||
# Secure htaccess file | ||
<Files .htaccess> | ||
order allow,deny | ||
deny from all | ||
</Files> | ||
|
||
# Protect against DOS attacks by limiting file upload size | ||
LimitRequestBody 10240000 | ||
|
||
# Minimize image flicker in IE6 | ||
ExpiresActive On | ||
ExpiresByType image/gif A2592000 | ||
ExpiresByType image/jpg A2592000 | ||
ExpiresByType image/png A2592000 | ||
|
||
# Custom error pages | ||
ErrorDocument 404 /error.html | ||
ErrorDocument 500 /error.html | ||
|
||
# Clean urls for folders. | ||
RewriteEngine on | ||
RewriteRule ^([^?]*/)$ /jcdsee.cgi?cur_url=/$1 | ||
|
||
# Provide a universal error document | ||
# RewriteCond %{REQUEST_FILENAME} !-f | ||
# RewriteCond %{REQUEST_FILENAME} !-d | ||
# RewriteRule ^(.*)$ /error.html?$1 [L] | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
User-agent: * | ||
Disallow: |