You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by saravanan ganapathy <sa...@yahoo.com> on 2006/09/28 07:28:56 UTC

[users@httpd] Header set Server - not working in apache-1.3.x

Hi,

I am using apache 1.3.33 on debian3.1 and I want to
hide 'server string' in headers. I already configured
'ServerTokens Prod'. 

Now it shows server string as 'Apache' and I need to
change this. So I configured the following in my
httpd.conf and this is not working

LoadModule headers_module
/usr/lib/apache/1.3/mod_headers.so

Header set Server "nothing"

The same above config is working in apache2.x.

Whats the problem in apache1.3.x?

Sarav 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Header set Server - not working in apache-1.3.x

Posted by saravanan ganapathy <sa...@yahoo.com>.
--- Joshua Slive <jo...@slive.ca> wrote:

> On 9/28/06, saravanan ganapathy
> <sa...@yahoo.com> wrote:
> 
> > > If you want to change the server header, you can
> > > edit the source code
> > > (httpd.h, I believe).  But you are wasting your
> > > time.
> >
> > no other way without changing the source code?
> 
> Sure.  Put a proxy server in between apache and the
> internet and have
> the proxy rewrite the header.
> 
> Or edit the binary and replace the string "Apache"
> with whatever you want.
> 

Can you tell me where to edit in binary? 

> Did I mention you are wasting your time?

I don't mind in wasting my time to do what I need to
do. 

Hope I am not wasting your time.

Sarav 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Header set Server - not working in apache-1.3.x

Posted by Joshua Slive <jo...@slive.ca>.
On 9/28/06, saravanan ganapathy <sa...@yahoo.com> wrote:

> > If you want to change the server header, you can
> > edit the source code
> > (httpd.h, I believe).  But you are wasting your
> > time.
>
> no other way without changing the source code?

Sure.  Put a proxy server in between apache and the internet and have
the proxy rewrite the header.

Or edit the binary and replace the string "Apache" with whatever you want.

Did I mention you are wasting your time?

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Header set Server - not working in apache-1.3.x

Posted by saravanan ganapathy <sa...@yahoo.com>.
--- Joshua Slive <jo...@slive.ca> wrote:

> On 9/28/06, saravanan ganapathy
> <sa...@yahoo.com> wrote:
> > --- saravanan ganapathy <sa...@yahoo.com>
> wrote:
> >
> > > Hi,
> > >
> > > I am using apache 1.3.33 on debian3.1 and I want
> to
> > > hide 'server string' in headers. I already
> > > configured
> > > 'ServerTokens Prod'.
> > >
> > > Now it shows server string as 'Apache' and I
> need to
> > > change this. So I configured the following in my
> > > httpd.conf and this is not working
> > >
> > > LoadModule headers_module
> > > /usr/lib/apache/1.3/mod_headers.so
> > >
> > > Header set Server "nothing"
> > >
> > > The same above config is working in apache2.x.
> > >
> > > Whats the problem in apache1.3.x?
> >
> > Any help please?
> 
> If you want to change the server header, you can
> edit the source code
> (httpd.h, I believe).  But you are wasting your
> time.

no other way without changing the source code?

Sarav 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Header set Server - not working in apache-1.3.x

Posted by Joshua Slive <jo...@slive.ca>.
On 9/28/06, saravanan ganapathy <sa...@yahoo.com> wrote:
> --- saravanan ganapathy <sa...@yahoo.com> wrote:
>
> > Hi,
> >
> > I am using apache 1.3.33 on debian3.1 and I want to
> > hide 'server string' in headers. I already
> > configured
> > 'ServerTokens Prod'.
> >
> > Now it shows server string as 'Apache' and I need to
> > change this. So I configured the following in my
> > httpd.conf and this is not working
> >
> > LoadModule headers_module
> > /usr/lib/apache/1.3/mod_headers.so
> >
> > Header set Server "nothing"
> >
> > The same above config is working in apache2.x.
> >
> > Whats the problem in apache1.3.x?
>
> Any help please?

If you want to change the server header, you can edit the source code
(httpd.h, I believe).  But you are wasting your time.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Header set Server - not working in apache-1.3.x

Posted by saravanan ganapathy <sa...@yahoo.com>.
--- saravanan ganapathy <sa...@yahoo.com> wrote:

> Hi,
> 
> I am using apache 1.3.33 on debian3.1 and I want to
> hide 'server string' in headers. I already
> configured
> 'ServerTokens Prod'. 
> 
> Now it shows server string as 'Apache' and I need to
> change this. So I configured the following in my
> httpd.conf and this is not working
> 
> LoadModule headers_module
> /usr/lib/apache/1.3/mod_headers.so
> 
> Header set Server "nothing"
> 
> The same above config is working in apache2.x.
> 
> Whats the problem in apache1.3.x?

Any help please?

Sarav  


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org