Redirecting http/https requests to /fog causes client smartinstaller to fail
-
Server
- FOG Version: 1.3.5
- OS: Ubuntu 16.04 LTS
Client
- Service Version:
- OS:
Description
Creating a http/https redirect to make the root directory of the web server /fog causes the installer to break when entering the correct hostname and changing the directory from /fog to /
Is there a specific way to get this redirect to work correctly?
-
@kylebeth94 Yes, use the
webroot
argument to point to the correct spot.
https://wiki.fogproject.org/wiki/index.php?title=FOG_Client#FOG_Client_0.10.0.2B_Installation_Options
If this doesn’t work - this likely means some paths are hardcoded somewhere - and that’d be something that @Senior-Developers would need to find in either the fog server or fog client. -
@kylebeth94 the client does not follow 301 / 302 http codes (redirects). I run one of my development servers on https, and with a webroot of
/
. You’ll need to configure your webserver to serve out/
without using redirects. You can redirect http to https traffic if you desire, but just make sure the client is set to use https then.