• 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

#1
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:


I would greatly appreciate any help on this matter.

Thanks,
Frozon.
 

Brogan

XenForo moderator
Staff member
#4
Your sysadmin or host should be able to help, otherwise it's typically something like /var/log/httpd or similar.
 
#5
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.
 

Mike

XenForo developer
Staff member
#6
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
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 :)