• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Redirect /fog/management to root X.X.X.X

Scheduled Pinned Locked Moved
General
6
30
11.7k
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.
  • X
    x23piracy
    last edited by x23piracy Feb 16, 2017, 9:24 AM Feb 16, 2017, 3:24 PM

    create a index.html in /var/www with the following content:

    <meta http-equiv="refresh" content="0; URL=/fog">
    

    ║▌║█║▌│║▌║▌█

    B 1 Reply Last reply Feb 16, 2017, 4:11 PM Reply Quote 1
    • B
      bluesky @x23piracy
      last edited by Feb 16, 2017, 4:11 PM

      @x23piracy Thanks, this worked!

      W 1 Reply Last reply Feb 18, 2017, 5:38 AM Reply Quote 0
      • W
        Wayne Workman @bluesky
        last edited by Feb 18, 2017, 5:38 AM

        @bluesky I just tried the steps in the wiki verbatim and they work fine. I’m not sure what is wrong, are you replacing the x.x.x.x with the server IP address?

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        B 1 Reply Last reply Feb 18, 2017, 4:42 PM Reply Quote 0
        • B
          bluesky @Wayne Workman
          last edited by Feb 18, 2017, 4:42 PM

          @Wayne-Workman Please see my previous reply to you, you can see exactly what I did including the contents of the php file.

          W 1 Reply Last reply Feb 18, 2017, 5:34 PM Reply Quote 1
          • W
            Wayne Workman @bluesky
            last edited by Feb 18, 2017, 5:34 PM

            @bluesky sorry about that.

            Apache must be configured by default on Ubuntu to not look for an index.php ? That’s the only thing I can think of. I’m going to have to try it on Ubuntu 16 now and see.

            Glad you got something working though. Linux is all about possibilities and freedom doing things your way!

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            B 1 Reply Last reply Feb 19, 2017, 2:15 PM Reply Quote 0
            • B
              bluesky @Wayne Workman
              last edited by Feb 19, 2017, 2:15 PM

              @Wayne-Workman No worries, ya I am going to look at apache default config

              C 1 Reply Last reply Apr 3, 2017, 10:01 PM Reply Quote 0
              • C
                captjoekpr @bluesky
                last edited by Apr 3, 2017, 10:01 PM

                @bluesky Running into the same issue as well on Ubuntu 16.04

                Wiki seems easy enough, but it looks like apache2 just defaults to find index.html instead of index.php that was created

                Any other ideas?

                Thanks

                X 1 Reply Last reply Apr 3, 2017, 10:09 PM Reply Quote 0
                • X
                  x23piracy @captjoekpr
                  last edited by Apr 3, 2017, 10:09 PM

                  @captjoekpr http://stackoverflow.com/questions/19322345/how-do-i-change-the-default-index-page-in-apache

                  ║▌║█║▌│║▌║▌█

                  C 1 Reply Last reply Apr 4, 2017, 12:43 PM Reply Quote 1
                  • W
                    Wayne Workman
                    last edited by Apr 4, 2017, 3:01 AM

                    Slightly more on topic: http://stackoverflow.com/questions/16192049/how-to-make-apache-serve-index-php-instead-of-index-html

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 0
                    • C
                      captjoekpr @x23piracy
                      last edited by Apr 4, 2017, 12:43 PM

                      @x23piracy Would it not be easier just to disable the default apache site entirely? Since they are both using Port 80, would that not auto direct traffic to the Fog site?

                      W 1 Reply Last reply Apr 4, 2017, 12:50 PM Reply Quote 0
                      • W
                        Wayne Workman @captjoekpr
                        last edited by Wayne Workman Apr 4, 2017, 6:51 AM Apr 4, 2017, 12:50 PM

                        @captjoekpr The idea is to just type an IP in the web browser and it take you exactly where you need to go. The goal isn’t disabling the default page.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        C 1 Reply Last reply Apr 4, 2017, 12:52 PM Reply Quote 0
                        • C
                          captjoekpr @Wayne Workman
                          last edited by Apr 4, 2017, 12:52 PM

                          @Wayne-Workman Fair enough. I keep reading .htaccess is more for admins that don’t have direct/full access to the server where the site lives. But I am guessing it is how everyone got it working here, so I’ll be trying that shortly.

                          Thanks again

                          W 1 Reply Last reply Apr 4, 2017, 11:46 PM Reply Quote 0
                          • W
                            Wayne Workman @captjoekpr
                            last edited by Apr 4, 2017, 11:46 PM

                            @captjoekpr The stackoverflow thread I posted shows how to do it in the apache configuration file - not an .htaccess file. This would be the way I’d recommend doing it.

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

                            1 Reply Last reply Reply Quote 0
                            • 1
                            • 2
                            • 2 / 2
                            • First post
                              Last post

                            150

                            Online

                            12.1k

                            Users

                            17.3k

                            Topics

                            155.4k

                            Posts
                            Copyright © 2012-2024 FOG Project