This will be posted on the RTA website also but for those that can make use of this, here it is...
Instructions for inserting the RTA Label header globally to multiple pages if running Apache.
Deploying the RTA Label header globally for ALL of your web pages including
image and movie files please use the following instructions. These have been
tested to work with Apache 2.0+ but may also work with Apache 1.3+.
Add the following to the httpd.conf file on all your front end
servers:
<IfModule mod_headers.c>
hahaha Header set Rating "RTA-5042-1996-1400-1577-RTA"
</IfModule>
However, the main issue with Apache is to make sure that mod_headers has been installed as this is NOT the case by default.
The first step is to check to see if mod_headers is compiled into apache. There
are two ways to check this. In the first case run the httpd program to check
what modules are compiled in to Apache:
/path/to/apache/bin/httpd -l
...
You should see a reference to "mod_headers" here. However, if not you may be
using a shared module, so check for:
LoadModule mod_headers modules/mod_headers.so
in your httpd.conf file.
If you do not have mod_headers installed its not that difficult to add that
functionality. To build apache with mod_headers add --enable-headers to the
./configure command:
cd /path/to/apache/sources
./configure --enable-headers [other configure options]
make
su
make install
See apache dot org for documentation on how to build and install apache along with descriptions of the other configure commands.
Testing: This is an example output of what you should see from the http headers
after installing mod_headers and adding the RTA Rating header in httpd.conf :
200 OK
...
Rating: RTA-5042-1996-1400-1577-RTAhahahahahahahahaha
On Unix/Linux systems you may find the HEAD program that comes with perl useful or you may also want to use wget to check.
|