PDA

View Full Version : help with 404 status


sidneyrill
03-19-2007, 11:23 PM
I noticed many posts in regards with a 404 status when accessing a category.

The right solution has been given so far:
Enable your rewrite on your apache server and make sure you have this also in your access file.

The part that has been left out is that you have to restart your apache when you enable mod rewrite for it to become effective.

I am running my own server and therefor it is easy for me to restart my server.
If you depend on a host and have a shared account, your host might not be to willing to restart the server...
They should have the mod rewrite set on enabled in the first place.

I figured this out after having the 404 status problem and had everything set as it needed, but only after I restarted my Apache server, the rewrite started working.
I hope this might help someone out

Regards,
John

James
03-19-2007, 11:45 PM
Content visible to registered users only.


would like to add that any host that will not restart apache is an utter moron there is no need to restart the server a simple apache restart is fine.
I also suggest anyone using a host that does not have mod_rewrite enabled or set up on the server to find another host.
Practical server admin knowledge dictates that anytime anyting is enabled or disabled in httpd.conf or php.ini an apache restart is dictated.
If you don't know that you really shouldn't be editing things.

With that said a 404 error when access a category is not always a mod_rewrite issue. It can be a simple case of the needing to rebuild the categoriescache. It can be as simple as the htaccess file not uploaded or overwritten it can be yahoo hosting that does not allow .htaccess files.