Apache Reference Manual (7)
Jun 13, 2016 am 10:13 AM
Syntax:
Context: server config, virtual host
Status: core
Compatibility: Location is only available in Apache 1.1 and later.
The
Note that URLs do not have to line up with the filesystem at all, it should be emphasized that
For all origin (non-proxy) requests, the URL to be matched is of the form /path/, and you should not include any http://servername prefix. For proxy requests, the URL to be matched is of the form scheme://servername/path, and you must include the prefix.
The URL may use wildcards In a wild-card string, `?' matches any single character, and `*' matches any sequences of characters.
Apache 1.2 and above: Extended regular expressions can also be used, with the addition of the ~ character. For example:
would match URLs that contained the substring "/extra/data" or "/special/data". In Apache 1.3 and above, a new directive
The Location functionality is especially useful when combined with the SetHandler directive. For example, to enable status requests, but allow them only from browsers at foo.com, you might use:
SetHandler server-status
order deny,allow
deny from all

Article chaud

Outils chauds Tags

Article chaud

Tags d'article chaud

Bloc-notes++7.3.1
Éditeur de code facile à utiliser et gratuit

SublimeText3 version chinoise
Version chinoise, très simple à utiliser

Envoyer Studio 13.0.1
Puissant environnement de développement intégré PHP

Dreamweaver CS6
Outils de développement Web visuel

SublimeText3 version Mac
Logiciel d'édition de code au niveau de Dieu (SublimeText3)

Sujets chauds

Le C++ est-il front-end ou back-end ?

Comparaison des performances du framework PHP : la confrontation ultime entre vitesse et efficacité.

Intégration et extension du contrôle de concurrence des fonctions Golang et des bibliothèques tierces

Le module évasif protège votre site Web des attaques DOS de la couche application

Comment effectuer des tests de concurrence et le débogage dans la programmation simultanée Java ?

Comment ajouter un serveur dans Eclipse

Application d'algorithmes dans la construction de 58 plateformes de portraits

Comment déployer et maintenir un site Web en utilisant PHP
