Announcement

Collapse
No announcement yet.

I'm going to be screwing around with the site for a little bit

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

  • I'm going to be screwing around with the site for a little bit

    I got a letter today saying that since we don't own a license for dead-ends.com to have the forum on it that they are going to shut off my server in the next 24 hours if I don't fix it. So a little bit of mod_rewrite lovin and a redirect and we should be golden.

  • #2
    Jesu-Criste d'enfer sur le carton!

    At least you reminded me to renew my domain, though.

    Comment


    • #3
      You any good with mod_rewrite?

      Of all the useless server side shit I know - this is something I am terrible at.

      Comment


      • #4
        I remember, from when we changed over to admaero.com. I still owe you one. What's the platform and shell? If it's compliled, I can't hang, but (hey, air brakes, there's Tony), I've worked with pdksh and I still have my hair. I'll help if I can. It's cold in here anyway and I wouldn't mind turning the heater on.

        -denise

        Comment


        • #5
          Nothing fancy - I did a bulk domain rewrite on dead-ends.com to satisfying the licensing guys - and I'll go back later and actually tweak the rules to allow content from http://www.dead-ends.com to display, but do a redirect to the parked domain of http://www.nationalhearse.net/forums when you access ^/forums$ from any other domain in this directory tree.

          Also got a notice taht someone has been sending spam from the machine - I believe a user had their account compromised. Always fun.

          Comment


          • #6
            I'm really not familiar with the product at all, but I spent nine years researching bullshit software that was written by ragheads in MUMPS and Caché, pulling UNIX data into Windows spreadsheets, writing workarounds for pdksh, etc. and I will do some research if you need it. Nothing wrong with learning something new. If I have the docs, I can almost always breeze through them. That's why they moved me into engineering. I actually have my comptia+, but it's nothing but a scam to sell hint books, like those old ms-dos Sierra games. I have no problem with the routers in the house, but I will be the first to tell you that I'm no expert. Are the docs online? I'm slightly curious.

            -denise

            Comment


            • #7
              Here ya go Denise:



              What I'm trying to do is only redirect requests that come in from http_host ^(www.)dead-ends.com/forums$ to nationalhearse.net/forums - but not redirect anything onto itself (ala just redirecting any requesting_uri for ^/forums$ and getting the nhaa site into a redirect loop).

              For the interim I've got it set to redirect any request coming in for anything that isn't nationalhearse.net to just go to nationalhearse.net/forums to satisfy the license folks:

              Code:
              RewriteCond %{HTTP_HOST} !^www.nationalhearse.net$ [NC]
              RewriteRule ^(.*)$ http://www.nationalhearse.net/forums/$1 [R=301,L]

              Comment


              • #8
                Are you losing ticks over it? Tony was just here, and I only get to see him every two months or so, so I haven't been doing anything serious. I'm getting megaperformance out of the board, but I would hate to think that you're losing bits somewhere else.

                IMO, some platforms are nothing but workarounds, but if you need to get it out of there, I'll try to help.

                -denise (harmlessa megabitchicus overactivus gfactoratus)

                Thus further sayeth naught. My head hurts.

                Comment


                • #9
                  Well, if I were still in the health care industry, I would already have your answer...install the latest version and patch kit and reboot the server, but you and I both know that I'm being a smartass. I'll keep going....

                  Comment


                  • #10
                    It's not really a server issue so much as a script-ish problem with redirecting the URI from the request to a different host. Problem with mod_rewrite is that it might as well be written in ancient Mandarin - my regex is a little weak, so I'm not making very good progress with it.

                    "The great thing about mod_rewrite is it gives you all the configurability and flexibility of Sendmail. The downside to mod_rewrite is that it gives you all the configurability and flexibility of Sendmail"

                    Comment


                    • #11
                      I'm assuming that mod_rewrite.c is part of the apache source? I get the feeling that I'm looking at it from the inside out and you're looking at it from the outside in. I have a nasty habit of fixing broken code at the source instead of learning the high end, which is probably why they quit letting me talk to hospital clients. Tony crashed out of Systems for the same reason...do a search on "Anthony C. McCracken" + vms sometime. It blew my mind. If you run VMS, you're running his code, whether you know it or not. I still think that DEC owes him a fortune, but, Compaq, HP, Linux, Apache, BSD...we aren't using real computers anymore. The term "open source" means, "I wrote it while I was taking a shit, and you fix it". I have to stay current on some of this stuff though, at least until our new god king takes over the Internet IAW the 14 points, then it won't matter, because I'll forge an exit visa before I'll work for this regime.

                      Comment

                      Working...
                      X