• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.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 Apr 9, 2017, 4:10 PM

    Hi,

    i recently have installed rc4 and i had to remove my redirect from webroot to /fog due to a redirect error:

    alt text

    just want to let you know if you experience the same 😉

    Regards X23

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

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Apr 9, 2017, 8:59 PM

      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

      X 1 Reply Last reply Apr 10, 2017, 8:12 AM Reply Quote 0
      • X
        x23piracy @Tom Elliott
        last edited by Apr 10, 2017, 8:12 AM

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

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

        T 1 Reply Last reply Apr 10, 2017, 9:04 AM Reply Quote 0
        • T
          Tom Elliott @x23piracy
          last edited by Apr 10, 2017, 9:04 AM

          @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

          M 1 Reply Last reply Apr 10, 2017, 9:23 AM Reply Quote 0
          • M
            mtanigawa @Tom Elliott
            last edited by Apr 10, 2017, 9:23 AM

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

            T S 2 Replies Last reply Apr 10, 2017, 10:07 AM Reply Quote 0
            • T
              Tom Elliott @mtanigawa
              last edited by Apr 10, 2017, 10:07 AM

              @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 Apr 10, 2017, 2:10 PM

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

                D 1 Reply Last reply Apr 10, 2017, 2:34 PM Reply Quote 0
                • S
                  Smokinjoe68 @mtanigawa
                  last edited by Apr 10, 2017, 2:23 PM

                  @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
                  • D
                    drc0nc @Smokinjoe68
                    last edited by Apr 10, 2017, 2:34 PM

                    @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 Apr 21, 2017, 8:23 PM Reply Quote 1
                    • W
                      Wayne Workman
                      last edited by Apr 11, 2017, 1:14 PM

                      #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 Apr 21, 2017, 8:23 PM

                        Thanks all good!

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

                        152

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project