lighttpd rewrites

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BootsSiR
    Senior Member
    • Dec 2004
    • 239

    lighttpd rewrites

    Has anyone out there gotten VB5 to work with lighttpd? I've been toying with the rules but I'm not sure if my rules are the problem or my upgrade didn't go well.
    Reality Check!
  • Zachery
    Former vBulletin Support
    • Jul 2002
    • 59097

    #2
    We do not have specific rewrite rules available for lighttpd. You're the first person to talk about it. I'd suggest asking over at the lighttpd community for help coverting our htaccess rules into something useable.

    Comment

    • BootsSiR
      Senior Member
      • Dec 2004
      • 239

      #3
      For anyone else that's wondering about this:

      I'm trying to get vBulletin 5 up and running under lighttpd but I'm having some problems with url rewriting. Here is the apache .htaccess provided by vBulletin. <IfModule mod_rewrite.c>
      Reality Check!

      Comment

      • BootsSiR
        Senior Member
        • Dec 2004
        • 239

        #4
        Got it working
        Reality Check!

        Comment

        • Zachery
          Former vBulletin Support
          • Jul 2002
          • 59097

          #5
          Can you share the working re-writes?

          Comment

          • BootsSiR
            Senior Member
            • Dec 2004
            • 239

            #6
            Sure. They are at the link I posted above but here they are:

            Code:
            url.rewrite-if-not-file = (
                "^/([^\?]+)(\?(.*))?$" => "index.php?routestring=$1&$3",
            )
            url.rewrite-once = (
                "^/(admincp/[^\?]+)(\?(.*))?$" => "index.php?routestring=$1&$3",
            )
            Reality Check!

            Comment

            • Zachery
              Former vBulletin Support
              • Jul 2002
              • 59097

              #7
              Originally posted by BootsSiR
              Sure. They are at the link I posted above but here they are:

              Code:
              url.rewrite-if-not-file = (
                  "^/([^\?]+)(\?(.*))?$" => "index.php?routestring=$1&$3",
              )
              url.rewrite-once = (
                  "^/(admincp/[^\?]+)(\?(.*))?$" => "index.php?routestring=$1&$3",
              )

              Comment

              • BootsSiR
                Senior Member
                • Dec 2004
                • 239

                #8
                Awesome. I really like lighttpd so it's nice to get it working!
                Reality Check!

                Comment

                • Zachery
                  Former vBulletin Support
                  • Jul 2002
                  • 59097

                  #9
                  Do let us know if you run into any problems with it

                  Comment

                  • BootsSiR
                    Senior Member
                    • Dec 2004
                    • 239

                    #10
                    Originally posted by Zachery
                    Do let us know if you run into any problems with it
                    I'll keep that ticket up to date if I run into any issues.
                    Reality Check!

                    Comment

                    • smile4o
                      New Member
                      • Jul 2010
                      • 1
                      • 3.8.x

                      #11
                      Hello,

                      First of all, excuse my bad English. We bought recently vb5. But I need some help. At first glance the above solution works in lighttpd, but unfortunately in our case I can't even go to admincp from the footer nav-list. I see this message:

                      That action could not be completed. Please try again, and if this occurs again please contact the system administrator and tell them how you got this message.

                      And link to admincp is look like this:



                      But accidentally I found that if a put just one slash after the above url, everything work ok:

                      http://example.com/admincp/

                      If this is helpful, web server working as cgi-fcgi. Please advise. Any help would be appreciated

                      Comment

                      Related Topics

                      Collapse

                      Working...