LINUX.ORG.RU
ФорумAdmin

Как средствами Apache добавлять в начало каждого документа свою строку!?


0

0

Как средствами Apache добавлять в начало каждого документа свою строку!?

чтобы при загрузки страницы скажем до тега <html> вставлялось "Name Hosting" и так во всех документах

спасибо

anonymous

вот так

Modifying static content using a CGI script

The following directives will cause requests for files with the html extension to trigger the launch of the footer.pl CGI script.

Action add-footer /cgi-bin/footer.pl
AddHandler add-footer .html

Then the CGI script is responsible for sending the originally requested document (pointed to by the PATH_TRANSLATED environment variable) and making whatever modifications or additions are desired.

rihad
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.