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

    Fog not redirecting

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    6
    1.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.
    • Chris WhiteleyC
      Chris Whiteley
      last edited by

      I have version 1.2.0 just recently upgraded from .32 and when we go to the root of fog [url]http://servername/[/url] in a web browser it is supposed to redirect you to [url]http://servername/fog/management[/url], and instead it takes us to this Apache 2 Ubuntu Default Page. Is there any way to fix this? Thanks,

      1 Reply Last reply Reply Quote 0
      • B
        BPSTravis Developer
        last edited by

        That’s the default behavior of Apache 2. Someone must have manually redirected the web server to point to /fog on your last install.

        I don’t remember how to do this off the top of my head but i’m sure a quick google search will get you going.

        [SIZE=12px]signature:[/SIZE]
        [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

        1 Reply Last reply Reply Quote 0
        • Chris WhiteleyC
          Chris Whiteley
          last edited by

          I have searched google and these forums and can’t seem to find the one that will work properly. I have tried doing the /var/www/index.html and putting in extra code, someone else had said to edit the 000apache2.conf and that didn’t work, so that is why I posted here.

          1 Reply Last reply Reply Quote 0
          • B
            BPSTravis Developer
            last edited by

            [url]http://stackoverflow.com/questions/5891802/how-do-i-change-the-root-directory-of-an-apache-server[/url]

            [SIZE=12px]signature:[/SIZE]
            [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

            1 Reply Last reply Reply Quote 0
            • Chris WhiteleyC
              Chris Whiteley
              last edited by

              I have tried to do changes and had to reverse them as it messed everything up. Do you know exactly what I should do to the 2 files? the /etc/apache2/apache2.conf and the [SIZE=14px][COLOR=#000000][FONT=Consolas]/etc/apache2/sites-available/000-default.conf to get them working?[/FONT][/COLOR][/SIZE]

              1 Reply Last reply Reply Quote 0
              • Chris WhiteleyC
                Chris Whiteley
                last edited by

                I actually figured out that it was neither of those files! The /var/www/index.html has moved to /var/www/html/index.html so I added a file that just had this bit of code in it:

                [CODE]<html>
                <head>
                <meta http-equiv=“Refresh” content=“0; URL=fog/index.php”>
                </head>
                </html>
                [/CODE]

                and now it redirects! Please pass this on as it is a nice feature

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

                217

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project