White page problems after installation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jeanlgentile
    New Member
    • Sep 2012
    • 6
    • 4.2.X

    #31
    Ah, I suppose I should have mentioned I tried both. Not sure its required with Apache, but I went ahead and restarted the httpd service after each change to the file just to be sure. Currently it looks like this:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]


    #needed because admincp is an actual directory.
    RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]
    </IfModule>

    I get the home page just fine (http://lamp11.homeschooltracker.com) but as you will see..404 errors when trying to do things like log in.

    /jlg/

    Comment

    • Wayne Luke
      vBulletin Technical Support Lead
      • Aug 2000
      • 73976

      #32
      Please use the config.php in the first post here: https://www.vbulletin.com/forum/show...See-this-first

      set the base_url value to http://lamp11.homeschooltracker.com

      After that do you still have the same problems?
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud demonstration site.
      vBulletin 5 API

      Comment

      • jeanlgentile
        New Member
        • Sep 2012
        • 6
        • 4.2.X

        #33
        No change. Heres what I most recently did:

        Replaced with (new) presentation config file, changing only the "baseurl" to "http://lamp11.homeschooltracker.com". Restarted Apache. I'm assuming you are seeing the same results I am at that URL.

        /jlg/

        Comment

        • Wayne Luke
          vBulletin Technical Support Lead
          • Aug 2000
          • 73976

          #34
          And mod_rewrite is enabled on the server?
          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud demonstration site.
          vBulletin 5 API

          Comment

          • jeanlgentile
            New Member
            • Sep 2012
            • 6
            • 4.2.X

            #35
            Yes, rewrite is enabled and symptoms remain the same. For the record, the things that have been checked so far are:


            1) mod_rewrite is confirmed enabled in httpd.conf and loaded
            2) PHP version 5.3.15
            3) Apache version 2.222
            4) Fresh install of 5.0 beta 11 (clean folder, clean db) into root of web server at /var/www/html
            5) .htaccess file confirmed correctly uploaded from /upload folder to root of forum
            6) config.php created using template from https://www.vbulletin.com/forum/show...See-this-first


            And the symptom is that you can see the home page at http://lamp11.homeschooltracker.com but links such as the login button show a 404 error (as you can see using the previous link)

            Comment

            • Wayne Luke
              vBulletin Technical Support Lead
              • Aug 2000
              • 73976

              #36
              Yes, the 404 error is a symptom of mod_rewrite not working for some reason. There is no blog directory if you look at the files. The .htaccess we provide with the software would catch that and rewrite the URL so the proper page shows up. The server is not doing this so you get a 404 error on all your links.
              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud demonstration site.
              vBulletin 5 API

              Comment

              • jeanlgentile
                New Member
                • Sep 2012
                • 6
                • 4.2.X

                #37
                Thanks. That was enough to point me in the right direction. In order to get mod_rewrite functioning on the server as a whole, not only do you need it in the list of enabled modules, but you need to go into the /etc/httpd/conf/httpd.conf file (location varies depending on server os) and ensure that "AllowOverride" is set to "All" for the directory where the files are located. In my case that was <Directory "/var/www/html" >

                The whole site is now working very nicely.

                Comment

                • Wayne Luke
                  vBulletin Technical Support Lead
                  • Aug 2000
                  • 73976

                  #38
                  Great, I am glad it is resolved. Let us know if you have other issues.
                  Translations provided by Google.

                  Wayne Luke
                  The Rabid Badger - a vBulletin Cloud demonstration site.
                  vBulletin 5 API

                  Comment

                  Related Topics

                  Collapse

                  Working...