Problem loading .html files

Status
Not open for further replies.

Xynix

New member
Jul 14, 2006
32
0
0
New York
www.gamersparlor.com
I believe I have something in my .htaccess file that is preventing me from loading .html files on a web browser. Can any help me with this?

Code:
ErrorDocument 404 /index.php

AddType application/x-httpd-php .php .htm .html
# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>

RewriteEngine on 

RewriteRule ^category/([0-9]*)/([a-zA-Z-]*).html$ category.php?cId=$1&cName=$2 [L,NC]
RewriteRule ^category/([0-9]*)/([a-zA-Z-]*)/([0-9]*).html$ category.php?cId=$1&cName=$2&page=$3 [L,NC]

RewriteRule ^video_category/([0-9]*)/([a-zA-Z-]*).html$ video_category.php?cId=$1&cName=$2 [L,NC]
RewriteRule ^video_category/([0-9]*)/([a-zA-Z-]*)/([0-9]*).html$ video_category.php?cId=$1&cName=$2&page=$3 [L,NC]

#RewriteRule ^game/([0-9]*)/([a-zA-Z-]*).html$ game.php?gId=$1&fname=$2 [L,NC]

RewriteRule ^game/([0-9]*)/(.*)\.html$ game.php?gId=$1&fname=$2 [L,NC]
RewriteRule ^video/([0-9]*)/(.*)\.html$ video.php?gId=$1&fname=$2 [L,NC]
 


So what do you see in the web browser when you attempt to load a .html file, and, if you have access, what does your access log show for the same attempt?
Have you tried removing all those lines and putting them back one by one to see which is causing the problem? (debugging 101)
 
Status
Not open for further replies.