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

    Remove your webroot redirect to /fog when going to >= rc4

    Scheduled Pinned Locked Moved Solved
    General
    6
    11
    2.8k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      You should be able to keep this redirect in the future

      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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      x23piracyX 1 Reply Last reply Reply Quote 0
      • x23piracyX
        x23piracy @Tom Elliott
        last edited by

        @Tom-Elliott that means that was a little mistake in rc4 that will be solved with future releases?

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

        Tom ElliottT 1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @x23piracy
          last edited by

          @x23piracy not a mistake. Added redirect for API system, and Apache wanted a directory index.

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          mtanigawaM 1 Reply Last reply Reply Quote 0
          • mtanigawaM
            mtanigawa @Tom Elliott
            last edited by

            @Tom-Elliott

            Maybe not related, but ran into something similar from 1.3.5-RC10 to 1.4-RC4 upgrade. After installation, when requested to update the schema - only a blank page was shown. To get to the scheme upgrade page, I needed to enter the full path (http://xxx/fog/management/index.php?node=schemaupdater).

            After installation was complete, the normal http://xxx/fog/ did not resolve to the normal http://xxx/fog/management/index.php login page. The page would work as expected if manually entering the full path.

            I resolved this by changing the apache dir.conf list order. index.html was listed first. I placed index.php to the front. After doing this, going to http://xxx/fog would redirect properly and read the .php index file.

            Thank you (all) for all the great work!

            Mark.

            Tom ElliottT S 2 Replies Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @mtanigawa
              last edited by

              @mtanigawa This is essentially what I was referring to. For the fog.conf or 001-fog.conf files I added:
              DirectoryIndex index.php index.html index.htm

              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • S
                Smokinjoe68
                last edited by

                @mtanigawa said in Remove your webroot redirect to /fog when going to >= rc4:

                http://xxx/fog/management/index.php?node=schemaupdater

                I completed the fog installation by entering the full path http://xxx/fog/management/index.php?node=schemaupdater but had the same problem. After the installation was complete the normal http://xxx/fog/ did not resolve to the normal http://xxx/fog/management/index.php login page.
                I am fairly new at Linux and am not sure how to change apache dir.conf list order. index.html.

                drc0ncD 1 Reply Last reply Reply Quote 0
                • S
                  Smokinjoe68 @mtanigawa
                  last edited by

                  @mtanigawa
                  I had the same issues with the upgrade and was able to upgrade the schema with the link provided, but…
                  I had the same problem with my server not going to the normal http://xxx/fog/management/index.php login page.
                  I am fairly new to Linux. How did you change the apache dir.conf list order to put index.php to the front?

                  1 Reply Last reply Reply Quote 0
                  • drc0ncD
                    drc0nc @Smokinjoe68
                    last edited by

                    @Smokinjoe68 If you edit apache2.conf located in /etc/apache2 (I prefer nano) and add DirectoryIndex line below following @Wayne-Workman instructions here

                    <Directory /var/www/>
                            Options Indexes FollowSymLinks
                            AllowOverride None
                            Require all granted
                            DirectoryIndex index.php
                    </Directory>
                    
                    S 1 Reply Last reply Reply Quote 1
                    • Wayne WorkmanW
                      Wayne Workman
                      last edited by

                      #wiki worthy

                      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
                      • S
                        Smokinjoe68 @drc0nc
                        last edited by

                        Thanks all good!

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

                        174

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.4k

                        Posts
                        Copyright © 2012-2024 FOG Project