ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    What Are You Doing Right Now

    Water Closet
    time waster
    285
    88.9k
    41.8m
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hobbit666H
      hobbit666
      last edited by

      Quick question 🙂

      On CentOS7 and apache how do I redirect http://IP to http://IP/helpdesk ??

      scottalanmillerS 1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @hobbit666
        last edited by

        @hobbit666 said in What Are You Doing Right Now:

        Quick question 🙂

        On CentOS7 and apache how do I redirect http://IP to http://IP/helpdesk ??

        Well you most easily do it with an .htaccess file.

        But the REAL question should be... why would you ever want to do this? I can't think of any scenario where this would be desirable. Step back.... what is the actual goal? I'm sure I know what's wrong, but I'm seeing if you can figure it out.

        dafyreD 1 Reply Last reply Reply Quote 0
        • DashrenderD
          Dashrender
          last edited by

          I'm guessing the goal is to test.

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @Dashrender
            last edited by

            @Dashrender said in What Are You Doing Right Now:

            I'm guessing the goal is to test.

            THen that isn't testing anything, so don't do it. Problem solved.

            1 Reply Last reply Reply Quote 0
            • dafyreD
              dafyre @scottalanmiller
              last edited by

              @scottalanmiller said in What Are You Doing Right Now:

              ... why would you ever want to do this?

              Because it works? Because it has no inherent security issues that I am aware of?

              It could just as easily be done with an index.html and <meta> tag...

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • hobbit666H
                hobbit666
                last edited by

                Because I have an CentOS VM with apache installed.
                Then I have my "sub" sites like helpdesk screenconnect snipeit
                e.g.
                /var/www/html/helpdesk
                /var/www/html/screenconnect
                /var/www/html/snipit

                But when I go to http://IP I get the Apache test page. I want it to default that when http://ip is entered I get the helpdesk site

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • hobbit666H
                  hobbit666
                  last edited by

                  Or should I be changing the default document thingy In the httpd.conf?

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @dafyre
                    last edited by

                    @dafyre said in What Are You Doing Right Now:

                    @scottalanmiller said in What Are You Doing Right Now:

                    ... why would you ever want to do this?

                    Because it works? Because it has no inherent security issues that I am aware of?

                    It could just as easily be done with an index.html and <meta> tag...

                    No matter how easy it is to do... what actual situation exists where you would ever want a default landing IP address to change the URL to a directory? There is something wrong, that's not a goal someone would want. LIke "How do I make this less effective" is not realistically ever an actual goal.

                    It's easy to do loads of impractical things. We don't do them just because we can.

                    That there is no security problem doesn't matter, there is no benefit is the issue.

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @hobbit666
                      last edited by

                      @hobbit666 said in What Are You Doing Right Now:

                      Because I have an CentOS VM with apache installed.
                      Then I have my "sub" sites like helpdesk screenconnect snipeit
                      e.g.
                      /var/www/html/helpdesk
                      /var/www/html/screenconnect
                      /var/www/html/snipit

                      But when I go to http://IP I get the Apache test page. I want it to default that when http://ip is entered I get the helpdesk site

                      That's normal. So you want helpdesk to be the default, you don't want a redirect to it.

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @hobbit666
                        last edited by

                        @hobbit666 said in What Are You Doing Right Now:

                        Or should I be changing the default document thingy In the httpd.conf?

                        Exactly.

                        hobbit666H 2 Replies Last reply Reply Quote 1
                        • hobbit666H
                          hobbit666 @scottalanmiller
                          last edited by

                          @scottalanmiller yeah kind of answered myself while I was typing away lol

                          scottalanmillerS 1 Reply Last reply Reply Quote 1
                          • hobbit666H
                            hobbit666 @scottalanmiller
                            last edited by

                            @scottalanmiller Done and working lol

                            dafyreD 1 Reply Last reply Reply Quote 0
                            • dafyreD
                              dafyre @hobbit666
                              last edited by

                              @hobbit666 said in What Are You Doing Right Now:

                              @scottalanmiller Done and working lol

                              Now check and make sure all of your other subdirectories still work.

                              hobbit666H 1 Reply Last reply Reply Quote 1
                              • hobbit666H
                                hobbit666 @dafyre
                                last edited by

                                @dafyre said in What Are You Doing Right Now:

                                @hobbit666 said in What Are You Doing Right Now:

                                @scottalanmiller Done and working lol

                                Now check and make sure all of your other subdirectories still work.

                                done and still working 🙂

                                1 Reply Last reply Reply Quote 2
                                • scottalanmillerS
                                  scottalanmiller @hobbit666
                                  last edited by

                                  @hobbit666 said in What Are You Doing Right Now:

                                  @scottalanmiller yeah kind of answered myself while I was typing away lol

                                  That's why I asked the question that way. Leading you to the answer. Sometimes figuring out the wording is all that it takes.

                                  1 Reply Last reply Reply Quote 1
                                  • scottalanmillerS
                                    scottalanmiller
                                    last edited by

                                    Did anyone else notice that Andy of SW fame is a police officer now?

                                    NerdyDadN 1 Reply Last reply Reply Quote 0
                                    • NerdyDadN
                                      NerdyDad @scottalanmiller
                                      last edited by

                                      @scottalanmiller said in What Are You Doing Right Now:

                                      Did anyone else notice that Andy of SW fame is a police officer now?

                                      Huh? What makes you think that?

                                      scottalanmillerS T 2 Replies Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @NerdyDad
                                        last edited by

                                        @NerdyDad said in What Are You Doing Right Now:

                                        @scottalanmiller said in What Are You Doing Right Now:

                                        Did anyone else notice that Andy of SW fame is a police officer now?

                                        Huh? What makes you think that?

                                        Other than he said he was working as one and he has been posting pictures all morning of the work he's been doing as a cop?

                                        1 Reply Last reply Reply Quote 3
                                        • T
                                          Texkonc @NerdyDad
                                          last edited by

                                          @NerdyDad said in What Are You Doing Right Now:

                                          @scottalanmiller said in What Are You Doing Right Now:

                                          Did anyone else notice that Andy of SW fame is a police officer now?

                                          Huh? What makes you think that?

                                          I remember years ago he posted that he was cleaning up his feeds and removing some posts, etc....
                                          Just said it was for a job and that is all he could say.

                                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @Texkonc
                                            last edited by

                                            @Texkonc said in What Are You Doing Right Now:

                                            @NerdyDad said in What Are You Doing Right Now:

                                            @scottalanmiller said in What Are You Doing Right Now:

                                            Did anyone else notice that Andy of SW fame is a police officer now?

                                            Huh? What makes you think that?

                                            I remember years ago he posted that he was cleaning up his feeds and removing some posts, etc....
                                            Just said it was for a job and that is all he could say.

                                            Oh, I never noticed that. Yeah, he's at least part time as a constable now.

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 1726
                                            • 1727
                                            • 1728
                                            • 1729
                                            • 1730
                                            • 4443
                                            • 4444
                                            • 1728 / 4444
                                            • First post
                                              Last post