mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1154] Modify "The page you visit not found" Default Error Page Into Own Designed 404 Error Page #902
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#902
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 @jerrychong25 on GitHub (Mar 24, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1154
What version of frp are you using (./frpc -v or ./frps -v)?
0.24.1
What operating system and processor architecture are you using (
go env)?Linux
Configures you used:
N/A
Steps to reproduce the issue:
Describe the results you received:

Describe the results you expected:
I would like to modify this default error page into own designed 404 error page.
(Example: https://blog.hubspot.com/blog/tabid/6307/bid/33766/10-clever-website-error-messages-from-creative-companies.aspx)
How could I achieve this?
Thanks.
Additional information you deem important (e.g. issue happens only occasionally):
N/A
Can you point out what caused this issue (optional)
N/A
@lou-lan commented on GitHub (Mar 24, 2019):
github.com/fatedier/frp/utils/vhost/resource.go
@jerrychong25 commented on GitHub (Mar 25, 2019):
Thanks for pointing out the location of this error page. I will modify it here.
Anyway, how could I recompile this latest source code with modified resource.go into linux executable file frps?
This is my first time dealing with Go source codes.
Thanks.
@lou-lan commented on GitHub (Mar 25, 2019):
@jerrychong25 commented on GitHub (Mar 28, 2019):
@lou-lan,
I faced following error when running make frps, as per screenshot below:

Error Logs:
FYI. I used commit
cbf9c73(Version: 0.24.1) to compile this frps.Could advise on this?
Thanks.
@lou-lan commented on GitHub (Mar 28, 2019):
@fatedier commented on GitHub (Mar 28, 2019):
@jerrychong25 Try the latest version.
@jerrychong25 commented on GitHub (Mar 29, 2019):
@lou-lan and @fatedier,
I checked out latest version 0.25.3 and recompile using
make frps.And it is running without any issues now.
Build Logs:
Thanks for the great help =)
@LinboLen commented on GitHub (May 5, 2025):
right now can use