Announcement

Collapse
No announcement yet.

lighttpd rewrites

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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!

  • #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


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

      http://serverfault.com/questions/442...-url-rewriting
      Reality Check!

      Comment


      • #4
        Got it working
        Reality Check!

        Comment


        • #5
          Can you share the working re-writes?

          Comment


          • #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


            • #7
              Originally posted by BootsSiR View Post
              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",
              )
              http://tracker.vbulletin.com/browse/VBV-5644

              Comment


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

                Comment


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

                  Comment


                  • #10
                    Originally posted by Zachery View Post
                    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


                    • #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:

                      http://example.com/admincp

                      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...
                      X