Results 1 to 2 of 2
  1. #1

    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?

  2. #2
    Join Date
    Oct 2004
    Location
    Kerala, India
    Posts
    4,771
    Try
    /usr/local/apache/conf/httpd.conf

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •