Reputation
233
Top tag
Next privilege 250 Rep.
View close votes
Badges
1 5 11
Impact
~33k people reached

  • 0 posts edited
  • 0 helpful flags
  • 5 votes cast
Jul
3
comment How do I use Squid to redirect an incomig request to another host?
I didn't check for the first one, but the second one I was aware. Well, looking at the docs, I assume this answer is on the right track and I'm marking it as correct. thank you.
Jul
2
comment How do I use Squid to redirect an incomig request to another host?
I gave up on Squid and used nginx, much easier and I already have it working. Thanks anyway. Not sure what to do with this question now.
Jul
2
comment How do I use Squid to redirect an incomig request to another host?
Still not working. I tried to modify the basic example here, to simply just redirect everything to a static url, like this print $X[0]." 302:https://hooks.slack.com/services/T18QMD0NM/C09PY5XKO/52lDzmkoxL51p9NLRqxQ9Kq‌​2\n"; and it also doesn't work. So something must be missing.
Jul
2
comment How do I use Squid to redirect an incomig request to another host?
Let us continue this discussion in chat.
Jul
2
comment How do I use Squid to redirect an incomig request to another host?
Also, I believe you made a mistake in hooks.slack.com, there's a / where it should be a .. Am I right?
Jul
2
comment How do I use Squid to redirect an incomig request to another host?
Thanks. But I can't get it working. Not sure if it's the script or I'm doing something wrong. Do you have any idea how I can debug this? How can I print stuff and check their contents? How do I now the script is really being called?
Jul
2
comment How do I use Squid to redirect an incomig request to another host?
I've already went through the documentation and I can't understand how to do it...
Jul
2
comment How do I use Squid to redirect an incomig request to another host?
That's not an option. I don't have access to the GitLab machine.
Oct
14
comment How to protect a folder in Apache but allow PHP scripts to access it?
So, just so I know, will your solution work to the problem I just described or not? Did you test it? I'm a little confused...
Oct
12
comment How to protect a folder in Apache but allow PHP scripts to access it?
This question was asked more than 1 year ago, I don't even remember it's context :/ But I believe it was something like giving a 403 when people tried to access http://www.mysite.com/some/folder/ but if they opened http://www.mysite.com/some_script.php that needed to access /some/folder to read some data, it needed to work.
Jul
26
comment Small confusion with access control directives in Apache
I understand all that, but both of them work the same way. That's what I'm trying to understand... Both deny everything but localhost.
Jun
10
comment Is it possible to simplify my website DNS records?
Yes, you're right. Dumb question I did there...
Jun
10
comment Is it possible to simplify my website DNS records?
So in 1), I might as well remove the other A records and just leave the * one? As for 2), I don't know if I can modify the default server page. But one question, if I removed the * record and manually added the needed A records, a non existent domain, will now give a 404, right?
May
8
comment How to forward UDP Wake-on-Lan port to broadcast IP with IPTABLES?
When I do that iptables command and then try to list all rules with `iptables --list", that doesn't appear.
Nov
10
comment How to forward UDP Wake-on-Lan port to broadcast IP with IPTABLES?
Thanks anyway for your help :)
Nov
10
comment How to forward UDP Wake-on-Lan port to broadcast IP with IPTABLES?
Doesn't work... :( Don't know what else to do.
Nov
9
comment How to forward UDP Wake-on-Lan port to broadcast IP with IPTABLES?
With the -I switch like I said before? How can I see if it's working (without tying WoL itself cause that's tricky)?
Nov
9
comment How to forward UDP Wake-on-Lan port to broadcast IP with IPTABLES?
I have a bunch of rules already for various different services but the --list argument does not reveal anything close to any of those rules. This is what the command shows: pastebin.com/cpgbM69B
Nov
8
comment How to forward UDP Wake-on-Lan port to broadcast IP with IPTABLES?
There's a bunch of them, how do I know which one should I use? I saw in the documentation that -A is for append, what if I used -I to insert a rule for IN_FILTER? Not the same?
Nov
6
comment How to forward UDP Wake-on-Lan port to broadcast IP with IPTABLES?
Shouldn't the port be specified too?