Custom 404 error page not working at localhost

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Custom 404 error page not working at localhost

Postby Tim Dawson » 09. July 2007 09:56

I have a custom 404 error page which works fine on my live site at my ISP. But in localhost (when there's an error) I always get the generic Apache error page.

The custom error page '404.shtml' is in the root for my test site (i.e. in the same place as 'index.html')

Do I need to switch something on in XAMPP/Apache ? Or do something else ?
ramasaig
Isle of Mull, Scotland

OS=WinXP Home SP2
Tim Dawson
 
Posts: 27
Joined: 26. January 2007 13:34
Location: Fionnphort, Isle of Mull

Postby Tim Dawson » 11. July 2007 21:29

I fixed it. You have to add code to .htaccess
ramasaig
Isle of Mull, Scotland

OS=WinXP Home SP2
Tim Dawson
 
Posts: 27
Joined: 26. January 2007 13:34
Location: Fionnphort, Isle of Mull

Postby Flinster » 19. July 2007 19:58

and if it still doesnt work?? :shock:
hier ist lustig ))))
http://millisong.com
User avatar
Flinster
 
Posts: 2
Joined: 19. July 2007 19:00


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 114 guests