logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Restrict access to a specific port
Author
marekful



Joined: 22 Nov 2012
Posts: 2
Location: UK, London

PostPosted: Thu 28 Mar '13 15:08    Post subject: Restrict access to a specific port Reply with quote

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

PostPosted: Tue 03 Sep '13 12:03    Post subject: Reply with quote

You may post what you tried to jail your apache.
Back to top


Reply to topic   Topic: Restrict access to a specific port View previous topic :: View next topic
Post new topic   Forum Index -> Apache