| | #1 |
| Portuguese Warrior War Room Member Join Date: 2008 Location: Good Old Europe
Posts: 4,035
Thanks: 1,616
Thanked 1,059 Times in 708 Posts
Blog Entries: 7 |
Hey guys Decided to create a custom 404 page to a new site BUT all I get is a 500 error ![]() This is my .htaccess file: ErrorDocument 404 /ops.html Uploaded the 2 files, ht and html, changed ht to 644, BUT all I get is this 500 error. What the heck?!!! |
| People make good money selling to the rich. But the rich got rich selling to the masses. | |
| |
| | #2 |
| Peaceful Warrior War Room Member Join Date: 2009 Location: Calgary
Posts: 277
Thanks: 16
Thanked 106 Times in 63 Posts
|
A 500 server error can be caused by a mistake in an .htaccess file. If you delete .htaccess does the error go away? If so, and that ErrorDocument line is the only thing in the file, then that leaves one of two options for the cause of the problem. 1. Make sure you are editing your file in plain text. On Windows, use the basic Notepad.exe. More complex text editors can introduce unwanted hidden characters into the file. 2. If it's not #1, perhaps you are uploading the file in binary format rather than ASCII. -Ryan |
| FREE WSO: Protect and Automatically Deliver Your Digital Products Ask the Internet Marketing Geek <-- Happy to help with technical challenges MiniSiteMaker.org <-- Free software to make your mini-sites fast and easy | |
| |
| | #3 | |
| Portuguese Warrior War Room Member Join Date: 2008 Location: Good Old Europe
Posts: 4,035
Thanks: 1,616
Thanked 1,059 Times in 708 Posts
Blog Entries: 7 |
Hey Ryan, thanks for your feedback! The file is saved in ANSI coding and it's uploaded in ASCII - with Fillezilla. I really don't know what the heck is going on. Isn't this supposed to work perfectly? Oh and the site is ok, I can see all the pages BUT when I try to trigger the 404 with a unknown URL it just shows up that 500 Internal Server Error!! | |
| People make good money selling to the rich. But the rich got rich selling to the masses. | ||
| |
| | #4 |
| Peaceful Warrior War Room Member Join Date: 2009 Location: Calgary
Posts: 277
Thanks: 16
Thanked 106 Times in 63 Posts
|
When in doubt, check the Apache error log. That should give you the reason for the 500 error. -Ryan |
| FREE WSO: Protect and Automatically Deliver Your Digital Products Ask the Internet Marketing Geek <-- Happy to help with technical challenges MiniSiteMaker.org <-- Free software to make your mini-sites fast and easy | |
| |
| The Following User Says Thank You to theIMgeek For This Useful Post: |
|
| Bookmarks |
| Tags |
| 404, custom, error, page, wrong |
| |