-
Life is a dick and when itīs get hard---just fuck it...
htaccess and error documents
Hi,
i know there are some VERY tech heavy guys on this board and I would NEED the exact and working syntax for the error documents which I can define in .htaccess . I found some sites where even the 404 error was listes incorrect. I also found that some errors need a full server path, others can take a relative path, others need an URL.
Could someone please copy all of their error document commands from .htaccess and either post them here or via PM? There are some errors I can not test
OH, and does someone have a solution for how to break out of a redirect loop which ends in an redirect error (I do this using php header ('location: '.$_SERVER['REDIRECT_URL']); )
Thaaaankyouuuuu
:develish:
-
You do realize by 'gay' I mean a man who has sex with other men?
The correct syntax to use will depend on how your host has your server setup.
Typically though something like this should work...
ErrorDocument 404 http://www.example.com/404page.html
Redirect /old/old.html http://new.com/new/new.html
Regards,
Lee
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks