Redirecting http/https requests to /fog causes client smartinstaller to fail
kylebeth94 last edited by kylebeth94
- FOG Version: 1.3.5
- OS: Ubuntu 16.04 LTS
- Service Version:
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 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.
Wayne Workman last edited by Wayne Workman
@kylebeth94 Yes, use the
webrootargument to point to the correct spot.
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.