Results 1 to 2 of 2
Thread: Servertokens etc
-
05-18-2006, 12:52 PM #1New Member
- Join Date
- May 2006
- Posts
- 2
Servertokens etc
The headers from my web pages return this:
Server: Apache/1.3.34 (Unix) PHP/5.1.4 mod_ssl/2.8.25 OpenSSL/0.9.7a mod_perl/1.29
X-Powered-By: PHP/5.1.4How can I hide the "powered by php" and minimize the server header?
I read I should set "servertokens min" but I'm a supernoob at ssh and unix, how do I go about that?
I tried this with putty
whereis httpd.conf
reply: httpd: /usr/sbin/httpd /etc/httpd
then I tried
vi /usr/sbin/httpd/httpd.conf
and I got some silly ascii text -.-
vi /etc/httpd/httpd.conf
and it said that was a new file
where can i learn to do this stuff?
-
05-18-2006, 04:21 PM #2Web Hosting Master
- Join Date
- Oct 2004
- Location
- Kerala, India
- Posts
- 4,771
Try
/usr/local/apache/conf/httpd.conf