403 Forbidden

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • raunekk
    Member
    • Jul 2011
    • 37
    • 4.1.x

    403 Forbidden

    I upgraded from VB4 to 5... Everything went smooth. However, after installation, I got the following error while trying to access "admincp"

    Forbidden


    You don't have permission to access /forums/admincp/ on this server.





    Apache/2.2.14 (Ubuntu) Server at www.marineinsight.com Port 80


    -----------

    Kindly help

    Thanks

    Raunek k
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24288
    • 6.0.X

    #2
    I'm also not getting your css loading;
    Your admincp works with core in the url, which is not correct.

    Try reuploading the .htaccess file from the package.
    Also what do you have set as the $config['baseurl'] in forum/config.php?
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • raunekk
      Member
      • Jul 2011
      • 37
      • 4.1.x

      #3
      Uploaded the .htacess file again. Nothing changed.

      here: $config['baseurl']: 'http://www.marineinsight.com/forums'

      Comment

      • Trevor Hannant
        vBulletin Support
        • Aug 2002
        • 24358
        • 5.7.X

        #4
        Is mod_rewrite definitely installed within PHP on your server?
        Vote for:

        - Admin Settable Paid Subscription Reminder Timeframe (vB6)
        - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

        Comment

        • raunekk
          Member
          • Jul 2011
          • 37
          • 4.1.x

          #5
          Yes it is installed within the PHP.

          Our hosting providers ask: What are the rewrites they (vbulletin) put into htaccess?

          Thanks in advance.

          Raunek k

          Comment

          • raunekk
            Member
            • Jul 2011
            • 37
            • 4.1.x

            #6
            anyone?

            Comment

            • Dan Simon
              Member
              • Mar 2004
              • 69
              • 3.6.x

              #7
              You have a copy of the file in your downloaded copy of vB (part of the upload directory). Send them the file so they can see for themselves, if necessary.

              Comment

              • BirdOPrey5
                Senior Member
                • Jul 2008
                • 9613
                • 5.6.3

                #8
                What Dan said would work, the rewrite rules are in the .htaccess file.

                However if you are trying to install VB5 on the same server as the 4.x forum attached to your license then that server is running nginx, not apache, and VB5 is not yet compatible with nginx.

                Comment

                • raunekk
                  Member
                  • Jul 2011
                  • 37
                  • 4.1.x

                  #9
                  Reply from our hosting providers: Our hosting server is running NGINX as a reverse proxy in front of Apache. This means that all PHP is handled by Apache, and as long as VBulletin 5 is compatible with Apache it should work on your server when set up properly.

                  Kindly help!



                  Comment

                  • BirdOPrey5
                    Senior Member
                    • Jul 2008
                    • 9613
                    • 5.6.3

                    #10
                    In the .htaccess file, directly below the line

                    Code:
                    RewriteEngine on
                    Add the line

                    Code:
                    RewriteBase /forums/
                    Try again...

                    Comment

                    • raunekk
                      Member
                      • Jul 2011
                      • 37
                      • 4.1.x

                      #11
                      Still the same error:

                      Forbidden


                      You don't have permission to access /forums/admincp/ on this server.

                      Comment

                      • raunekk
                        Member
                        • Jul 2011
                        • 37
                        • 4.1.x

                        #12
                        Kindly help!

                        Comment

                        • BirdOPrey5
                          Senior Member
                          • Jul 2008
                          • 9613
                          • 5.6.3

                          #13
                          Do you have an .htaccess file in your website root directory? If so temporarily rename it to .htaccess2 or something and see if that allows you to access the admincp or not. Be sure to change it back after you're done testing.

                          This is some sort of server setup issue- it's not a vBulletin error because vBulletin isn't even being initialized if there is a 403 error. It has something to do with .htaccess and your web-server.

                          Comment

                          • raunekk
                            Member
                            • Jul 2011
                            • 37
                            • 4.1.x

                            #14
                            This is the reply we received from our hosting providers:

                            "We have asked several times for the Apache rewrites VBulletin needs implemented on the server. Once you send those over as an attachment we can get them implemented on the server for you for testing.



                            This will be the equivalent of overwriting the old htaccess file the the new file as requested by VBulletin. We need to make sure we are implementing the correct file & rewrites. If you can not provide those rewrites, you will need to contact VBulletin support for the correct rules to implement on your server. Apache based server ."


                            -----------
                            What should we do next?

                            Thanks in advance

                            Comment

                            • BirdOPrey5
                              Senior Member
                              • Jul 2008
                              • 9613
                              • 5.6.3

                              #15
                              You should send them a copy of the contents of the .htaccess file that comes in the vBulletin download package.

                              Comment

                              Related Topics

                              Collapse

                              Working...