Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Apache http.conf

Empfohlene Antworten

Hi,

wie kann ich Apache so einstellen das er nur anfragen von

einer bestimmte IP annehmen soll ??

mit "Listen 127.0.0.0:80" geht schonmal nicht, wenn ich das so mache wird der apache garnicht mehr gestartet.

danke

gruß

MadCro

:marine

Hi,

das geht auch mit htaccess.

<Directory /docroot>

Order Deny,Allow

Deny from all

Allow from xxxx

</Directory>

A (partial) domain-name

Example: Allow from apache.org

Hosts whose names match, or end in, this string are allowed access. Only complete components are matched, so the above example will match foo.apache.org but it will not match fooapache.org. This configuration will cause the server to perform a reverse DNS lookup on the client IP address, regardless of the setting of the HostnameLookups directive.

A full IP address

Example: Allow from 10.1.2.3

An IP address of a host allowed access

A partial IP address

Example: Allow from 10.1

The first 1 to 3 bytes of an IP address, for subnet restriction.

A network/netmask pair

Example: Allow from 10.1.0.0/255.255.0.0

A network a.b.c.d, and a netmask w.x.y.z. For more fine-grained subnet restriction. (Apache 1.3 and later)

A network/nnn CIDR specification

Example: Allow from 10.1.0.0/16

Similar to the previous case, except the netmask consists of nnn high-order 1 bits. (Apache 1.3 and later)

Gruß Jaraz

Originally posted by MadCro

mit "Listen 127.0.0.0:80" geht schonmal nicht, wenn ich das so mache wird der apache garnicht mehr gestartet.

Klar, daß das nicht geht. Müßte heißen Listen 127.0.0.1:80. Bei mir funktioniert's so ohne Probleme. Oder war das oben nur ein Tupfehler? :rolleyes:

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.