I've just got a python server running, and saw "Server: Apache/2.2.16
(Debian)
" in the HTTP headers. I set "ServerTokens Prod" in my httpd.conf file
and restarted apache, but it didn't make any difference to the Server
header. I also tried rewriting the header through the wsgi
application, but that didn't do anything either (though I can change
most other headers). Is there a reason why apache is ignoring
ServerTokens, or is there a way to overwrite the 'Server' header in
the wsgi script? I attached my httpd.conf file below.

---httpd.conf---
ServerSignature Off
ServerTokens Prod

#tayck.com domain
<VirtualHost *:80>
ServerName tayck.com
ServerAdmin [email protected]

DocumentRoot /var/www

<Directory /blah/wsgi>
Order allow,deny
Allow from all
</Directory>

WSGIDaemonProcess tayck.com processes=1 threads=5 display-name=%
{GROUP}
WSGIProcessGroup tayck.com
WSGIScriptAlias / /var/wsgi/main.wsgi

</VirtualHost>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to