mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2026-04-27 00:25:50 +03:00
[GH-ISSUE #178] 404 #113
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
pull-request
question
question
upstream
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nsedit#113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @BoomerB on GitHub (Jun 21, 2018).
Original GitHub issue: https://github.com/tuxis-ie/nsedit/issues/178
Hi,
I installed nsedit on Ubuntu 18.04 with Apache and php-fpm
I did:
git clone https://github.com/tuxis-ie/nsedit.git
cd nsedit/
git checkout tags/v1.1
I created a new domain. Now I wan to edit the SOA record and when I click Save I get an 404 error
PowerDNS logs show the following:
Jun 20 22:41:02 pdnsauth pdns_server[2917]: HTTP: Handling request "/api"
Jun 20 22:41:02 pdnsauth pdns_server[2917]: HTTP: Result for "/api": 200, body length: 34
Jun 20 22:41:02 pdnsauth pdns_server[2917]: HTTP: Handling request "/api/v1/servers/localhost/zones/ltq.lab."
Jun 20 22:41:02 pdnsauth pdns_server[2917]: gpgsql Connection successful. Connected to database '' on '/run/postgresql'.
Jun 20 22:41:02 pdnsauth pdns_server[2917]: HTTP: Result for "/api/v1/servers/localhost/zones/ltq.lab.": 200, body length: 749
Jun 20 22:41:02 pdnsauth pdns_server[2917]: HTTP: Handling request "/api"
Jun 20 22:41:02 pdnsauth pdns_server[2917]: HTTP: Result for "/api": 200, body length: 34
Jun 20 22:41:02 pdnsauth pdns_server[2917]: HTTP: Handling request "/api/v1/api/v1/servers/localhost/zones/ltq.lab."
Jun 20 22:41:02 pdnsauth pdns_server[2917]: HTTP: No route found for "/api/v1/api/v1/servers/localhost/zones/ltq.lab."
Jun 20 22:41:02 pdnsauth pdns_server[2917]: HTTP: Error result for "/api/v1/api/v1/servers/localhost/zones/ltq.lab.": 404
it looks like the prefix was applied twice
@dnshs commented on GitHub (Jun 28, 2018):
In includes/class/PdnsApi.php
Remove localhost from
@BoomerB commented on GitHub (Jul 7, 2018):
Hi,
I did some debugging and the following hack solved the problem for me
Kind Regards
@colbin8r commented on GitHub (Jul 26, 2018):
+1