Jump to content

.htaccess and 404 redirect


dannyd

Recommended Posts

I'm trying to configure the .htaccess file to include:

 

ErrorDocument 404 /404page.html

 

But if I add anything in my .htaccess my site goes down with a misconfiguration error.

 

My httpd.conf file has this:

 

  <Directory "/usr/local/apache/htdocs">

    AllowOverride AuthConfig                  //should this be set to ALL ?

  </Directory>

 

What could I be missing ?

 

Link to comment
https://forums.phpfreaks.com/topic/124669-htaccess-and-404-redirect/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.