Jump to content

.htaccess


Destramic

Recommended Posts

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=400
ErrorDocument 401 /error.php?error=401
ErrorDocument 402 /error.php?error=402
ErrorDocument 403 /error.php?error=403
ErrorDocument 404 /error.php?error=404

php_value magic_quotes_sybase off
php_value magic_quotes_gpc on
php_value magic_quotes_runtime on

DirectoryIndex index.php
[/code]

thanks destramic
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.