1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache upgrade broke my forum-Help

Discussion in 'Troubleshooting and Problems' started by Kenneth Holland, Nov 14, 2012.

  1. Kenneth Holland

    Kenneth Holland Active Member

    Hi all,

    My hosting company did a minor apache upgrade (2.2.22 to 2.2.23) and right after that my XF install screwed up. Clicking any link takes you to a 404 page on my BLOG...but they are not connected in any way (they have separate databases) except they are on the same server and domain.

    Does anyone have any idea what me or my server admin can try to remedy this?

    I'm desperate to fix this.

    Here's my forum

    http://airnation.net/hangar

    Thanks in advance. :)

    Ken
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Possible causes:

    1) Your server doesn't have mod_rewrite installed.

    2) Your server doesn't have AllowOverride enabled:

    http://httpd.apache.org/docs/2.0/mod/core.html#allowoverride

    3) The .htaccess file is not in place in your forum directory.

    4) Sometimes you need to specify RewriteBase in your .htaccess file (specify the name of your forum directory):

    Code:
    RewriteBase /xenforo
    
     
  3. Kenneth Holland

    Kenneth Holland Active Member

    Rewritebase/xenforo is there and the .htaccess

    How do i check if mod_rewrite is there?
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    So it's down to #1 and #2, both of which have to do with your Apache config. Since Apache was just upgraded there may have been changes to the config.

    Ask your host about #1 and #2. You can debug it to find out, but your host is the one who has to fix it.
     
  5. Roberto Bilić

    Roberto Bilić Active Member

    Make file info.php and in this file write code <? phpinfo; ?> .... After save and close this file open with browser and search this module.
     
  6. Kenneth Holland

    Kenneth Holland Active Member

    Would the AllowOverride reside in the .htaccess?
     
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    No. That would be in the httpd.conf file on the server. You need root access to edit that file. Then Apache needs to be restarted for the changes to take effect.
     
  8. Kenneth Holland

    Kenneth Holland Active Member

    Ok. I'm waiting for them to call me back. I'll post here after we go over the above.
     
  9. mcadx

    mcadx Member

  10. Kenneth Holland

    Kenneth Holland Active Member

    Fixed. It should have said 'Rewritebase /hangar' .... which is the directory for my forums! I never noticed to change that!

    Thanks for your help!
     

Share This Page