.htaccess not working

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
icepack
Posts: 70
Joined: Mon Oct 15, 2007 1:38 pm

.htaccess not working

Post by icepack »

hello i've created a .htaccess file with the following code:

ErrorDocument 503 /index.php
ErrorDocument 401 /index.php
ErrorDocument 500 /index.php
ErrorDocument 403 /index.php
ErrorDocument 400 /index.php
ErrorDocument 404 /index.php

i've placed it under the corresponding folder, but it doesn't seem to be working. instead of redirecting to /index.php it just displays the default browser message
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Sorry, can't provide support for htaccess, there are other forums for that.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Locked