Michael Schröpl: präprozessor selbst gebaut

Beitrag lesen

es geht darum, eine navigationsleiste in bestehende seiten einzufügen, ohne diese zu verändern. kann man das mit php??? also ich will einfach nicht, dass die mitarbeiter code in die seiten einfügen müssen, damit die navigationsleiste erscheint.

Apache-Webserver-Dokumentation:

"HeaderName

Syntax: HeaderName filename
Context: server config, virtual host, directory, .htaccess
Override: Indexes
Status: Base
Module: mod_dir

The HeaderName directive sets the name of the file that will be inserted at the top of the index listing. Filename is the name of the file to include, and is taken to be relative to the directory being indexed. The server first attempts to include filename.html as an HTML document, otherwise it will include filename as plain text.

Example:
   HeaderName HEADER
when indexing the directory /web, the server will first look for the HTML file /web/HEADER.html and include it if found, otherwise it will include the plain text file /web/HEADER, if it exists.

See also ReadmeName."