Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Restrict access to a specific port |
|
Author |
|
marekful
Joined: 22 Nov 2012 Posts: 2 Location: UK, London
|
Posted: Thu 28 Mar '13 15:08 Post subject: Restrict access to a specific port |
|
|
According to the documentation, Allow from is only applicable in the Directory directive.
If I run Apache listening on multiple ports, and I want to restrict which hosts can access it on a specific port but don't want to restrict access on other ports, how would I do that?
At first, I figured I want to apply some restrictions within the VirtualHost. That doesn't seem an option, at least not with the Allow from.
---
Server version: Apache/2.2.22 (Ubuntu) |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 03 Sep '13 12:03 Post subject: |
|
|
You may post what you tried to jail your apache. |
|
Back to top |
|
|
|
|
|
|