Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 01-29-2009, 07:00 AM
hostgator_suxit hostgator_suxit is offline
Hatchling Croc
 
Join Date: Jan 2009
Posts: 3
Default .htacess throwing 500 Error

Im working a client website for 10 hours Ive messed with the .htaccess file and mod_rewrite.

Even when I try to do, this is my whole .htaccess file

Rewrite Engine on
RewriteRule ^page.htm$ new_page.htm [R,NC,L]

Something that simple is still throwing a 500 error. For the first 100 times I tried it, I couldnt get it to respond at all. Now, at least I get an error. Whats up with this?
Reply With Quote
  #2  
Old 01-29-2009, 07:25 AM
quietFinn's Avatar
quietFinn quietFinn is offline
Veteran Croc
 
Join Date: Feb 2005
Posts: 3,475
Default Re: .htacess throwing 500 Error

Quote:
Originally Posted by hostgator_suxit View Post
Im working a client website for 10 hours Ive messed with the .htaccess file and mod_rewrite.

Even when I try to do, this is my whole .htaccess file

Rewrite Engine on
RewriteRule ^page.htm$ new_page.htm [R,NC,L]

Something that simple is still throwing a 500 error. For the first 100 times I tried it, I couldnt get it to respond at all. Now, at least I get an error. Whats up with this?
It must be
RewriteEngine on
NOT
Rewrite Engine on
__________________
quietFinn - netFinn Finland
"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss
Reply With Quote
  #3  
Old 01-29-2009, 07:33 AM
hostgator_suxit hostgator_suxit is offline
Hatchling Croc
 
Join Date: Jan 2009
Posts: 3
Default Re: .htacess throwing 500 Error

I messed up the copy and paste.. I do have it as RewriteEngine on
Reply With Quote
  #4  
Old 01-29-2009, 07:35 AM
hostgator_suxit hostgator_suxit is offline
Hatchling Croc
 
Join Date: Jan 2009
Posts: 3
Default Re: .htacess throwing 500 Error

Ok i just check renamed my files from .htm to .html and it seems to be working now ? I spent 10+ hours working on this.. can someone explain why .htm wouldnt work?
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internal Server Error (Error 500) Mini Troubleshooting Guide GatorAndre Shared Hosting Support 54 09-17-2009 06:11 AM
Error 500 - Internal Server Error badjuju WHM Complete Solution 3 06-05-2008 09:47 AM
FTP login error,cPanel login error,website error too!! goodbaby Pre-Sales Questions 1 07-18-2006 03:36 AM

All times are GMT -6. The time now is 03:26 AM.