This topic was marked solved by Nao, on August 25th, 2014, 08:32 PM
domain-url without www make Server 500 error

Gerriet

  • Posts: 18
domain-url without www make Server 500 error
« on June 2nd, 2014, 05:13 PM »
Hello ;D

I not know, is this a bug or not, but I make fractalforums.de comes a Server 500 Error message, with www comes not. In my old forum have not this. So I think is must a bug from Wedge.

PHPVersion is the 5.4.16, is sharing webspace

I hope this is enough infos

Pandos

  • Living on the edge of Wedge
  • Posts: 635
Re: domain-url without www make Server 500 error
« Reply #2, on June 2nd, 2014, 06:09 PM »Last edited on June 2nd, 2014, 06:21 PM
Did you've got some leftovers in your .htaccess from your previous forum?

This is what I get when I try to access your forum without www:
Quote
http://fractalforums.de/SCRIPT?wwwRedirect
This is not Wedge related IMHO. What about your "catch all Domain" ?
Re: domain-url without www make Server 500 error
« Reply #3, on June 2nd, 2014, 06:18 PM »
Please make sure that you've got subdomain independent cookies enabled.
Your forum with and without www are treated like two different subdomains. So the cookie wont work.
The wwwredirect detects this and corrects it.
# dpkg-reconfigure brain
error: brain is not installed or configured

Gerriet

  • Posts: 18
Re: domain-url without www make Server 500 error
« Reply #4, on June 2nd, 2014, 06:37 PM »
Hmmm .. I have in my Domain Options, that I can redirekt a mailadress, when the adress not give. So that is Catchall E-Mail ... but can this a issues from the import over smf ?

I will make a test with my another domains ..

Pandos

  • Living on the edge of Wedge
  • Posts: 635
Re: domain-url without www make Server 500 error
« Reply #5, on June 2nd, 2014, 06:38 PM »
Like I say above. Please enable support for subdomain independent cookies.
Got the feeling that this should do the trick for you.

/?action=admin;area=serversettings;sa=cookie

Gerriet

  • Posts: 18
Re: domain-url without www make Server 500 error
« Reply #6, on June 2nd, 2014, 09:02 PM »Last edited on June 2nd, 2014, 09:08 PM
Ok, I have send a mail to the support and his the answer ..


Wir haben den Sachverhalt für Sie geprüft und konnten hierbei feststellen, dass die fehlerhafte Umschreibung damit zusammen hängt, dass zu
viele interne Umschreibung vorgenommen werden. Die genaue Fehlermeldung diesbezüglich lautet wie folgt.
--------------
We have checked the facts for you and this could see that the faulty description is related to that for
many internal description to be made. The exact error message in this regard is as follows.

Code: [Select]
"Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the
limit if necessary. Use 'LogLevel debug' to get a backtrace."

Pandos

  • Living on the edge of Wedge
  • Posts: 635
Re: domain-url without www make Server 500 error
« Reply #7, on June 2nd, 2014, 11:21 PM »
This is odd...
OK, to prevent infinite looping adding the following by replacing in .htaccess from line 54:

Code: [Select]
<IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteBase /
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteRule ^(.+)$ /index.php/$1 [NC,L,QSA]
</IfModule>

Please check your error log with debugging level enabled to trace the redirect steps. It makes things much more visible and tell you exactly which redirect rules are triggering it.

Please let us know if this fix it for you.
Re: domain-url without www make Server 500 error
« Reply #8, on June 2nd, 2014, 11:31 PM »
Also Apache doesn’t give a shit about its own webroots. It just cares about folders. So Apache maybe listen to .htaccess of its parent folder's.
Please take a look if there are more .htaccess files right BEFORE your webroot.

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: domain-url without www make Server 500 error
« Reply #9, on June 3rd, 2014, 12:58 AM »
Don't waste your time on htaccess files...
The simple fact that it shows wwwRedirect in the URL means that there's a problem with the loadConstants function, in QueryString.php...

Interestingly, I fixed a bug precisely in that area earlier today (I only just committed it though), but it's not directly related to your problem. I found the bug when I tried to access my test forum from my girlfriend's laptop ('Penny Dreadful' was getting dreadfully boring), and it gave me strange graphics and broken links with... wwwRedirect in them.

I'm assuming that the bug is due to the fact that Wedge is built upon the fact that the board URL doesn't have a www in it, but adds a few lines of code to automatically change links to the subdomain-less version if you use www. However, I never tested the other way around....

I'll look into it tomorrow, it's bed time for me.

Gerriet

  • Posts: 18