Destramic Posted November 5, 2006 Share Posted November 5, 2006 im having problem getting my .haccess file to function...for some reaon if i type 'http://www.domain.co.uk/spammmmmmm' it wont see to load error.php?error=404 as i would like it to...same as DirectoryIndex if i set it to error.php it will just still load index.php as that is what it is set in apache config file..very confusing...can anyone help please?[code]ErrorDocument 400 /error.php?error=400ErrorDocument 401 /error.php?error=401ErrorDocument 402 /error.php?error=402ErrorDocument 403 /error.php?error=403ErrorDocument 404 /error.php?error=404php_value magic_quotes_sybase offphp_value magic_quotes_gpc onphp_value magic_quotes_runtime onDirectoryIndex index.php[/code]thanks destramic Quote Link to comment https://forums.phpfreaks.com/topic/26259-htaccess/ Share on other sites More sharing options...
hackerkts Posted November 6, 2006 Share Posted November 6, 2006 Hmm.. I just went to see your site, I think it's working perfectly. Quote Link to comment https://forums.phpfreaks.com/topic/26259-htaccess/#findComment-120176 Share on other sites More sharing options...
Destramic Posted November 6, 2006 Author Share Posted November 6, 2006 rofl...thats not my site i just typed that in as a example....but that doesnt work on my site...dont know why it did before.. Quote Link to comment https://forums.phpfreaks.com/topic/26259-htaccess/#findComment-120218 Share on other sites More sharing options...
mounika Posted November 6, 2006 Share Posted November 6, 2006 can anyone suggest how to set url for 404 error Quote Link to comment https://forums.phpfreaks.com/topic/26259-htaccess/#findComment-120240 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.