Author |
Message |
Topic: Help needed to create rewrite rule that bypasses some rules |
Horizon
Replies: 2
Views: 167
|
|
Hello,
Ideally what we need for bypassing other rules is a new 'Do nothing' action for URLRewrite rules.
This way we could match the pattern (RegEx) for your /pages URLs with a 'do nothing' action ... |
Topic: How to hide extension like '.php' |
Horizon
Replies: 3
Views: 277
|
|
Hello,
There's a way to do what you want.
But how do you know which links must be redirected to a .php file on your server?
WordPress for example does it by taking all Request URIs and redirect ... |
Topic: Moving to Windows Server 2016 |
Horizon
Replies: 4
Views: 706
|
|
Hello,
with Windows Server unlike regular OSes you have to explicitly allow things to happen.
All attempts to connect to local ports from outside for example are denied by default, you have to add ... |
Topic: Moving to Windows Server 2016 |
Horizon
Replies: 4
Views: 706
|
|
Hello,
in order to rule out abyss as a cause of this issue could you try running a totally different software on the same port 443?
You could try running anything else temporarily, even a minecraf ... |
Topic: Abyss Web Server X1 to turn my office PC into a server |
Horizon
Replies: 2
Views: 347
|
|
Hello,
In order to answer your request I have to analyze your needs.
So here's what we know so far:
- You're located in Japan(?) so your office room is probably there.
- You have teleworking e ... |
Topic: Reason for TRUSTAbyss.com being offline |
Horizon
Replies: 13
Views: 7002
|
|
We understand you're busy and we can guess how lack of motivation can affect both the personal and professional life.I don't think that TRUSTAbyss lacks motivation, it rather seems that his new job re ... |
Topic: delete access.log (solution) automated or with prompts |
Horizon
Replies: 4
Views: 847
|
|
Spud2004,
This is probably related to the CSS page used by the forum. Does it need fixing?
You didn't ask this to me, but I do think that the code blocks shouldn't have text spacing the same as no ... |
Topic: /cgi-bin/protected and /cgi-bin |
Horizon
Replies: 3
Views: 835
|
|
The name of the method I mentioned is 'Allow-list Input Validation'.
Perhaps my mentioned method isn't correct if you hardcode the list of allowed keywords in every check of your code.
You will ... |
Topic: /cgi-bin/protected and /cgi-bin |
Horizon
Replies: 3
Views: 835
|
|
Hello,
the exact explanation for the Allow/Deny ordering is:
Order: The order that the server follows to check if access is granted to a
client based on its IP address. If it is set to Allow/Deny, ... |
Topic: Custom error page 403 (forbidden) if server only allow https |
Horizon
Replies: 3
Views: 756
|
|
Hello,
You can do this, but it would be useless.
Much better solution is to simply throw a redirect to HTTPS for any HTTP request.
Basically put the whole / in the 'Serve only over HTTPS' section ... |
Topic: secure_client_renego |
Horizon
Replies: 5
Views: 1363
|
|
According to websites like StackExchange, the worst that could happen would be data leaks.
But the CVE (vulnerability report number) is from 2009, and there has been so many security updates to Ope ... |
Topic: Help needed tweaking rewrite rules in lieu of htaccess |
Horizon
Replies: 6
Views: 4764
|
|
Hello,
I got this for the .htaccess translation of the X3 gallery script:
1. Set this environment variable in your Abyss Web Server hostname configuration to an empty value:
HTTP_MOD_REWRITE
... |
Topic: Help needed tweaking rewrite rules in lieu of htaccess |
Horizon
Replies: 6
Views: 4764
|
|
Hello,
I think that there is a RegEx and a rewrite rules ordering problem in these screenshots.
First you need to give a lower priority to all rules that match everything and rules relative to the ... |
Topic: Rewrite rule example.com to www.example.com |
Horizon
Replies: 2
Views: 973
|
|
Hello,
You can do this using a 'matches regex' condition for the HTTP_HOST / Host HTTP header with:
^(?!www\.)(.+)
Above is a positive pattern match with a negative non-capturing ... |
Topic: Can Abyss be configured to ignore certain rewrite rules? |
Horizon
Replies: 8
Views: 3934
|
|
Hi,
What you want to do is actually possible by tricking Abyss into doing it.
The question then becomes:
Are you requesting a proper solution or is tricking Abyss into doing it or a workaround ac ... |
Topic: Can a single X2 host use 2 different versions of PHP? |
Horizon
Replies: 3
Views: 2777
|
|
Example of how you would typically do symlinks with recursion for every folder:
int enumerate_files = 1;
int enumerate_folders = 2;
void main(string[] args)
{
_do_sym ... |
Topic: Can a single X2 host use 2 different versions of PHP? |
Horizon
Replies: 3
Views: 2777
|
|
Revision #2 (improved):
There's a trick that cans do what you want if you use URLRewrite:
1) Declare the PHP 8 interpreter for the .php8 extension.
2) Declare the PHP 7.4 interpreter for the .p ... |
Topic: escaping the | symbol |
Horizon
Replies: 2
Views: 9433
|
|
If anyone is still looking for how to do this, you can read this:
\0dd character with octal code 0dd
\ddd character with octal code ddd, or back reference
\o{dd ... |
Topic: Celebrating 20 years of Abyss Web Server |
Horizon
Replies: 7
Views: 6101
|
|
Thanks for the details,
Fossil looks very nice, and is provided with precompiled standalone binaries.
I didn't know about it until you mentioned it in your post.
Regarding the Raspberry Pi, I t ... |
Topic: Celebrating 20 years of Abyss Web Server |
Horizon
Replies: 7
Views: 6101
|
|
Abyss Web Server was 76KB at the time for a well-featured server given the technological era back in the 2000s.
Nowadays if you want to just make a dummy program that opens a listening socket on po ... |
Topic: How to set Abyss X2 to redirect all non-WWW to WWW |
Horizon
Replies: 9
Views: 3201
|
|
1.) Should I be using 301 - Moved Permanently or should I be using 308 - Permanent Redirect? I'm currently using 301 - Moved Permanently & everything is working perfectly :-).
You can keep using ... |
Topic: How to set Abyss X2 to redirect all non-WWW to WWW |
Horizon
Replies: 9
Views: 3201
|
|
I'm glad that it worked,
Actually the HTTP redirect status codes are a mess...
There are 301, 302, 307 & 308.
Some redirect codes were supposed to be deprecated, some were meant to be used ... |
Topic: How to set Abyss X2 to redirect all non-WWW to WWW |
Horizon
Replies: 9
Views: 3201
|
|
Hi,
There's a simple solution for what you want to do I think.
(Add the non-www hostname to the list of hostnames your host listens to first.)
Using URLRewrite you can do a rule like this:
Ena ... |
|