Find the answer to your Linux question:
Results 1 to 6 of 6
in my linux box i install Change Apache Version Header script by wget http://people.apache.org/~pquerna/de...d-2.2.0.tar.gz and tar -zxvf httpd-2.2.0.tar.gz cd httpd-2.2.0 and modify include/ap_release.h before compiling nano include/ap_release.h Find #define AP_SERVER_BASEPRODUCT ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    3

    please i need big help on my apache


    in my linux box
    i install
    Change Apache Version Header script
    by
    wget
    http://people.apache.org/~pquerna/de...d-2.2.0.tar.gz

    and

    tar -zxvf httpd-2.2.0.tar.gz
    cd httpd-2.2.0

    and modify include/ap_release.h before compiling

    nano include/ap_release.h

    Find

    #define AP_SERVER_BASEPRODUCT "Apache"

    and replace it with

    #define AP_SERVER_BASEPRODUCT "xxx"


    and compile and install apache

    ./configure --prefix=/usr/local/apache/
    make
    make install
    and after that
    edit my httpd.conf file
    ServerSig off

    Then add this below

    ServerTokens Prod

    after restart my apachi i got this error

    httpd: Syntax error on line 225 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/mod_rewrite.so into server: /usr/local/apache/libexec/mod_rewrite.so: undefined symbol: ap_user_id

    So please help me

  2. #2
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    I don't really know what your issue is, but the first thing I would try is to comment that line out and see what happens.
    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

  3. #3
    Just Joined!
    Join Date
    Apr 2007
    Posts
    3
    sure if comment it out mod rewrite will not work and almost of my site on my server work with this mod

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    Ya I just wanted to see if apache would start. If we could start apache then we can work on the mods.
    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

  6. #5
    Just Joined!
    Join Date
    Apr 2007
    Posts
    3
    i am re build my apache but i want to know how to hide my apache header now ?!!

  7. #6
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    OK I think you are talking about your default page right? If so just write your webpage and call it index.html

    Put it in your /var/www/html folder
    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

Posting Permissions

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