-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wpad.dat is served only on https when redirection is not enabled #3416
Comments
|
I do not think it is weird behaviour, but works as configured. If you disabled the redirect from port 80 to 443, then port 80 is closed and the user expected to connect directly to port 443. But you are right that this prevents serving wpad.dat via HTTP like expected when using DNS for wpad (DHCP allows to add port to option 252). For this reason I wrote this guide: HOWTO - Setup working wpad.dat with web gui on alternative port The best would be to separate web server for wpad and web gui, like realized in my guide with 2nd web server just for wpad. So the solution would be an alternate default port for web gui while wpad will be served via port 80/http. |
|
This issue has been automatically timed-out (after 180 days of inactivity). For more information about the policies for this repository, If someone wants to step up and work on this issue, |
|
We would like to have the WeBGUI being redirected to port 443 and wpad.dat file being accessible via port 80 and port 443 simultaneously. This can be achieved by omitting https redirects for wpad.dat file in the webgui configuration script /usr/local/etc/inc/plugins.inc.d/webgui.inc. According to lighttpd mod_redirect documentation short-circuiting the redirect rules without triggering a redirect is possible by specifying a blank target. Hence, the redirect expression in the webgui configuration script /usr/local/etc/inc/plugins.inc.d/webgui.inc should be amended as follows: I would be more than happy if this issue can be reopened. Many thanks. |
|
Hi @AdSchellevis, I would appreciate you reopening this issue and accepting the patch provided by @glasid |
|
@johannesfranken best open a PR if you want to merge some feature, although I'm not sure if this specific change will make it into the release. |
Documentation states that using automatic redirection from HTTP to HTTPS port can negatively impact the abiity to load
wpad.datfile.If the user disables the redirection, mainly allowing access to web interface on both 80, 443 something weird is happening regarding the wpad file: it seems to be returned only on the HTTPS port.
This works against the idea of making the wpad file availabe without HTTP in order to avoid errors related self-signed certificates.
The text was updated successfully, but these errors were encountered: