dtm32236
01-23-2009, 03:21 PM
Hey guys,
I'm trying to configure ErrorDocuments and AddType/AddHandler things to my .htaccess file, but it's not working.
Here's my entire htaccess file:
<Files .htaccess>
order allow,deny
deny from all
</Files>
AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes
Redirect 301 /index.html http://www.pintmeisters.com/index.php
ErrorDocument 400 /400.shtml
ErrorDocument 401 /401.shtml
ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.php
I feel like I may be missing some code, or definitely doing something wrong and stupid. Maybe it's not parsing .shtml files correctly?
Any help is greatly appreciated.
I'm trying to configure ErrorDocuments and AddType/AddHandler things to my .htaccess file, but it's not working.
Here's my entire htaccess file:
<Files .htaccess>
order allow,deny
deny from all
</Files>
AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes
Redirect 301 /index.html http://www.pintmeisters.com/index.php
ErrorDocument 400 /400.shtml
ErrorDocument 401 /401.shtml
ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.php
I feel like I may be missing some code, or definitely doing something wrong and stupid. Maybe it's not parsing .shtml files correctly?
Any help is greatly appreciated.