nginx rewrites?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dartho
    Member
    • Sep 2005
    • 95
    • 3.8.x

    nginx rewrites?

    I only have nginx servers. In saying this, I should probably have learnt how to do this myself by now, but has anyone worked out rewrites for NGINX to allow VB5 to work?

    Thanks!
  • Hartmut
    Senior Member
    • Nov 2007
    • 2870
    • 4.2.x

    #2
    Rewrites can go into the server{} section of your nginx configuration. A quick read of this page will help you figure out how to translate mod_rewrite directives to nginx's HTTP rewrite module syntax.

    No private support, only PM me when I ask for it. Support in the forums only.

    Comment

    • dartho
      Member
      • Sep 2005
      • 95
      • 3.8.x

      #3
      I did have a go before posting - came up with:
      location / {
      if (!-e $request_filename){
      rewrite ^(.*)$ /index.php?routestring=$1 break;
      }
      rewrite ^/(admincp/)$ /index.php?routestring=$1 break;
      }
      But this doesn't work for me, and I could find variations that worked either...

      Comment

      • shri
        Senior Member
        • Apr 2000
        • 478
        • 3.6.x

        #4
        dartho - give me a couple of days. Fair number of new concepts to figure out before I can tackle nginx.

        The IIS7 ruleset seems to be easier to grasp rather than wade through several .htaccess files in the apache2 sub-folders.

        Comment

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

          #5
          There is an open Bug regarding Nginx rules - some of what's in there may be helpful:

          Vote for:

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

          Comment

          • shri
            Senior Member
            • Apr 2000
            • 478
            • 3.6.x

            #6
            Excellent! Should be a good starting point.

            Comment

            • Zachery
              Former vBulletin Support
              • Jul 2002
              • 59097

              #7
              Please comment in the bug that you're an nginx user and want to see support for it

              Comment

              • dartho
                Member
                • Sep 2005
                • 95
                • 3.8.x

                #8
                Thanks for the replies. VotedA in the tracker, there are some good comments there that should help me get running also.

                Comment

                Related Topics

                Collapse

                Working...