[vox-tech] apache question
Rod Roark
vox-tech@lists.lugod.org
Wed, 7 Aug 2002 18:20:29 -0700
Maybe something like this would work:
cd /usr/sbin
cp -p httpd httpd.backup
perl -pi -e 's/1.3.22/9.9.99/g' httpd
Make sure the source and replacement strings are the same length!
-- Rod
http://www.sunsetsystems.com/
On Wednesday 07 August 2002 05:56 pm, Troy Arnold wrote:
> On Wed, Aug 07, 2002 at 01:29:17PM -0700, Peter Jay Salzman wrote:
> > hola,
> >
> > is there a way of having apache return a bogus version number without
> > having to recompile it?
>
> AFAIK, no. As you've probably already googled by now, the best you can=
do
> is hide the version and OS entirely using the ServerTokens directive.
> if (php) {
> =09see expose_php in your php.ini (was it you asking php questions rece=
ntly?)
> }
>
> Seems weird, considering you can do dman near anything else with Apache
> run-time directives.
>
> -troy