Server-Error 500

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SeToY
    Senior Member
    • Nov 2009
    • 100

    [CMS] Server-Error 500

    Hello People out there,

    i got a problem with my vB (or my webspace).
    Normally, when you visit "not-known" sites, it give's a 404.
    For example: http://bugs.amxbans.de/safklshatlkatzsatz

    When i do the same now with vB:
    www.amxbans.de/sadhklsazzsazas , i'm getting the INTERNAL SERVER ERROR.

    The main problem now is: I was switching from phpBB3 to vB (clean install). So many ppl are having the link bookmarked (www.amxbans.de/portal.php). If they now visit this site, they get the Server-Error-Page and i got many requests "why is your page down?".

    An error 404 (like normal) would solve this requests.

    What can i do?

    Thanks for your time

    Greetings
  • SeToY
    Senior Member
    • Nov 2009
    • 100

    #2
    Nobody? :<

    Comment

    • Zachery
      Former vBulletin Support
      • Jul 2002
      • 59097

      #3
      Internal server errors need to be debugged by seeing what the real error is. The only want to get the real error is checking the apache error log. Ask your webhost.

      Comment

      • SeToY
        Senior Member
        • Nov 2009
        • 100

        #4
        Okay, as i'm the webhost, i'll check the error-logs while opening such an error500 site.

        Comment

        • SeToY
          Senior Member
          • Nov 2009
          • 100

          #5
          Okay, i've looked into the logs, but nothing is written in /var/log/apache2/error_log while opening a 500 server error-page

          Comment

          • iCafe
            New Member
            • Apr 2005
            • 29
            • 4.1.x

            #6
            error 500

            you have .htaccess in folder ?

            check it for rule.

            Comment

            • SeToY
              Senior Member
              • Nov 2009
              • 100

              #7
              Code:
              RewriteEngine on
              RewriteCond %{HTTP_HOST} !^www\.amxbans\.de$ 
              RewriteRule ^(.*)$ http://www.amxbans.de/$1 [L,R=301]
              
              # If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
              # RewriteBase /forum/
              
              RewriteCond %{REQUEST_FILENAME} -s [OR]
              RewriteCond %{REQUEST_FILENAME} -l [OR]
              RewriteCond %{REQUEST_FILENAME} -d
              
              RewriteRule ^.*$ - [NC,L]
              
              # Forum
              RewriteRule ^threads/.* showthread.php [QSA]
              RewriteRule ^forums/.* forumdisplay.php [QSA]
              RewriteRule ^members/.* member.php [QSA]
              RewriteRule ^blogs/.* blog.php [QSA]
              ReWriteRule ^entries/.* entry.php [QSA]
              
              RewriteCond %{REQUEST_FILENAME} -s [OR]
              RewriteCond %{REQUEST_FILENAME} -l [OR]
              RewriteCond %{REQUEST_FILENAME} -d
              
              RewriteRule ^.*$ - [NC,L]
              
              # MVC
              RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
              Just the normal vB4 with a http redirection http://domain.tld -> http://www.domain.tld

              Comment

              • SeToY
                Senior Member
                • Nov 2009
                • 100

                #8
                Okay:
                I've enabled ModRewrite Friendly URL's in my Testboard and uploaded the .htacces.. error the same: server 500

                Comment

                • Zachery
                  Former vBulletin Support
                  • Jul 2002
                  • 59097

                  #9
                  Internal server errors need to be debugged by seeing what the real error is. The only want to get the real error is checking the apache error log. Ask your webhost.

                  Comment

                  • SeToY
                    Senior Member
                    • Nov 2009
                    • 100

                    #10
                    The only debug-thingy when setting "LogLevel debug" in the apache2.conf is this:

                    Code:
                    [Sat Feb 27 20:33:09 2010] [debug] prefork.c(1016): AcceptMutex: sysvsem (default: sysvsem)
                    nothing more, nothing less.

                    The main point is:
                    When i'm deleting the .htaccess, everything is working fine.
                    www.amxbans.de/salhfsahjsakj is giving a 404 errorpage.
                    When i upload the .htaccess, www.amxbans.de/salhfsahjsakj is giving a 500er Servererror.

                    So something has to be wrong with this .htaccess file
                    Last edited by SeToY; Sat 27 Feb '10, 10:48am.

                    Comment

                    • Gumble
                      Senior Member
                      • Sep 2008
                      • 352
                      • 4.0.0

                      #11
                      Same happening here...

                      Comment

                      • Gumble
                        Senior Member
                        • Sep 2008
                        • 352
                        • 4.0.0

                        #12
                        Ok...

                        Lets try explain this issue.

                        If i use the htaccess provided with the vb 4.0.2 download i get 500 errors using Mod Rewrite Friendly URLs in the options.

                        Without this mod rewrite set there is no problems at all, but using the htaccess listed in http://www.vbulletin.com/forum/showt...s-gt-.htaccess, everything seems to work, and the pages instead 500 errors start giving 404 errors.

                        So it should be something in the htaccess file that need to be changed or added

                        Comment

                        • Gumble
                          Senior Member
                          • Sep 2008
                          • 352
                          • 4.0.0

                          #13
                          BTW there is any possible rule to make http://www.xxx.com/members/1-Gumble appear as http://www.xxx.com/members/Gumble (skipping the member id)

                          Comment

                          • SeToY
                            Senior Member
                            • Nov 2009
                            • 100

                            #14
                            So simply:
                            When using the .htaccess from the thread and not the one provided with the download, everything should work and the 500-Errors should now (correctly) appear as "404"?

                            Comment

                            • Dr.Spike694
                              Member
                              • Mar 2004
                              • 36
                              • 4.0.0

                              #15
                              I am sure you checked this already but...

                              Do you have mod_rewrite enabled on your web server?


                              In your httpd.conf file do you have a line something like this :
                              Code:
                              LoadModule rewrite_module modules/mod_rewrite.so


                              Not
                              commented out like this (this is the default):
                              Code:
                              #LoadModule rewrite_module modules/mod_rewrite.so

                              Comment

                              Related Topics

                              Collapse

                              Working...