Jump to content

Custom page for when using "Ignore packets that do not match a domain on the system"


Scott1234

Recommended Posts

I notice when using "Ignore packets that do not match a domain on the system" you eventually get this page after some time.

Can we customize this? I don’t see it in the customization options, but if we put the appropriately named file in pbxwebai will it work? and if so, what is the naming for this file. 

 404 Not Found
Content-Type: text/html
Cache-Control: no-cache
Cache-Control: no-store
Content-Length: 186

<html><head>
<title>Error</title>
</head><body>
<h1>Please use a valid domain name.</h1>
<b></b>
<p>Please ask your system administrator to check the log file.</p>
</body></html>

 

Link to comment
Share on other sites

That is actually a good point. Why not having an error page — it might show the same content like now but should be customizable. The main concern here are robots trying the PBX out, and we want to provide as little information as possible and as little overhead as possible as well.

Link to comment
Share on other sites

1 hour ago, Vodia PBX said:

That is actually a good point. Why not having an error page — it might show the same content like now but should be customizable. The main concern here are robots trying the PBX out, and we want to provide as little information as possible and as little overhead as possible as well.

Yeah, I was thinking to remove any content on it totally or redirect any requests that don't match to main business webpage, which would be off the pbx system, or is there a way to have it totally drop the request if nonmatching. Currently It spends some time loading a non-matching request before that page spits out. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...