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

XF 1.5 Friendly URLS Internal Server Error

Discussion in 'Troubleshooting and Problems' started by Frozon, Aug 7, 2016.

  1. Frozon

    Frozon Member

    Hi,

    I've spent the whole day trying to set-up friendly URLs but I am stuck on one problem. I made made sure that I have mod_rewrite fully installed and upon enabling Friendly URLs in the SEO, the homepage (www.domain.com) works.

    However, whenever I click on another page (such as www.domain.com/members) I get this error:
    [​IMG]

    I would greatly appreciate any help on this matter.

    Thanks,
    Frozon.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    The server error log may contain some more information on what the error is.
     
  3. Frozon

    Frozon Member

    Thanks for the reply. I'm new at this and it's quite daunting. Where would I find that? I'm using CentOS.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Your sysadmin or host should be able to help, otherwise it's typically something like /var/log/httpd or similar.
     
  5. Frozon

    Frozon Member

    Hi,

    I looked in /var/log/httpd and found nothing related to today's events:

    Code:
    [Sat Aug 06 20:29:54 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Sat Aug 06 20:29:54 2016] [notice] Digest: generating secret for digest authentication ...
    [Sat Aug 06 20:29:54 2016] [notice] Digest: done
    [Sat Aug 06 20:29:54 2016] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
    [Sat Aug 06 20:46:48 2016] [notice] caught SIGTERM, shutting down
    Unable to open logs
    Unable to open logs
    Unable to open logs
    Unable to open logs
    Unable to open logs
    Unable to open logs
    Unable to open logs
    Unable to open logs
    Unable to open logs
    Unable to open logs
    Unable to open logs
    Unable to open logs
    Unable to open logs
    Any other ideas? :/

    Thanks.
     
  6. Mike

    Mike XenForo Developer Staff Member

    I think there may be some more significant issues by the latest messages. You may want to have a sysadmin dig into the "unable to open logs" messages. I don't actually see Apache being started there, so unless your Apache logs have been moved, that seems like a strange error. A possible cause: https://cweiske.de/tagebuch/apache-unable-open-logs.htm (There can be other causes.)

    There may be virtual host-specific error logs. I couldn't comment on where those specifically would be, but they may hold the explanation for this.
     
  7. Frozon

    Frozon Member

    I've managed to fix it. I turned out that I needed to add a # infront of this line:
    #RewriteBase /xenforo

    Thanks for all the help :)
     

Share This Page