Redirect /fog/management to root X.X.X.X
-
@Wayne-Workman Please see my previous reply to you, you can see exactly what I did including the contents of the php file.
-
@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!
-
@Wayne-Workman No worries, ya I am going to look at apache default config
-
@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
-
-
-
@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?
-
@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.
-
@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
-
@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.