In your case make sure AllowOverride All is on, your editing the. If you have any trouble the Apache Manual (ErrorDocument Directive) should help you out further. Instead of ErrorDocument 404 /errordocs/404.html you could also do ErrorDocument 404 or even just display a simple message ErrorDocument 404 "Sorry can't allow you access today" You'd need to insert something that looks like this htaccess file within the root directory (If one doesn't exist) LoadModule rewrite_module modules/mod_rewrite.soįind the relevant directory tag for your www root and change AllowOverride None to AllowOverride AllĬreate an. I'm assuming you're using Apache rather than IIS Įnsure you have mod rewrite enabled (You can do this by locating the line below in the nf file (usually within the /conf/ directory This maybe different if you're using shared hosting and removing the semi colon from the start of the line)
0 Comments
Leave a Reply. |