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
Changing port breaks /pihole #2720
Comments
There is no |
I cloned the git repo as per https://github.com/pi-hole/pi-hole/#one-step-automated-install and followed alternate option 1. |
There is a folder there, but there is no handling for that URL in the lighttpd configuration. That folder holds the 404 page that we use for the soon to be deprecated block page. Any URL will show that page (other than /admin) so 192.168.1.1/pi would redirect to that page. What blocking mode are you using and do you need or use the block page? |
I do not use block page - maybe I should or I missed a configuration step. I was just surprised it stopped working when changing the lighttpd port from 80 to something else. |
If you use NULL blocking or NXDOMAIN you'll see a performance increase over IP. The trade off is that the block page is not functional. But with the change of more and more sites moving to TLS / HTTPS for delivery the block page becomes non-functional as well. |
Thanks for the info. Not an issue then. Closing. |
There does seem to be an issue. I changed the port as described above and when accessing Appending |
@mschoettle This means that |
Thanks for the quick response @DL6ER. I changed The lighttpd error log shows this:
|
Ah, yes, I see this Line 130 in e41c4b5
I have never used the blocking page, however, we should change this as we probably want to keep the blocking page? Pinging @dschaper and @WaLLy3K |
Since this issue is about |
And see #2195 (comment) |
|
… and/or hostname. See issues pi-hole#2195 and pi-hole#2720. Signed-off-by: Matthias Schoettle <git@mattsch.com>
… and/or hostname. See issues pi-hole#2195 and pi-hole#2720. Signed-off-by: Matthias Schoettle <git@mattsch.com>
In raising this issue, I confirm the following:
{please fill the checkboxes, e.g: [X]}
How familiar are you with the the source code relevant to this issue?:
1
Expected behaviour:
Install Pihole on a server with an existing web server on port 80/443, change lighttpd port from 80 to 8088 (to restrict access to only lan access - no web), get normal access for both /admin and /pihole
Actual behaviour:
/pihole no longer works (it does under port 80).
/admin works
Steps to reproduce:
Install Pihole
Change lighttpd.conf port from 80 to 8088
Restart lighttpd and pihole
Goto 192.168.1.xx:8088/pihole
get the following error:
[ERROR]: Unable to parse results from queryads.php: Unhandled error message ()
Debug token provided by uploading
pihole -d
log:https://tricorder.pi-hole.net/i5wobdlcel!
Troubleshooting undertaken, and/or other relevant information:
Running on existing Ubuntu Server 16.04 LTS with both lighttp and Apache
The text was updated successfully, but these errors were encountered: