apache2 upgrade not enable mod_rewrite - Help !

Discussion in 'Apache' started by icoman, Jul 15, 2008.

  1. #1
    i have a web server on a linux platform (Fedora Core release 3 <<Heidelberg>>),

    I already upgraded the apache from 2.0.53 to 2.0.63.. The install have mod_rewrite.c and .h, but because i used the existing configuration data to preserve the apache settings i used command:

    ./config.nice
    make
    make install
    /usr/local/apache2/bin/apachectl restart - comand that doesn't work on my linux server saiyng that file "not found" but there is installed the apache .. i resolved only by restarting the server.

    the result of these upgrade was: on folder /usr/local/apache2/modules/ are 2 files - and mod_rewrite.so is missing ...
    /usr/local/apache2/include/ missing mod_rewrite.h / .c ..
    in the file: httpd.conf .. is missing the line: #LoadModule rewrite_module modules/mod_rewrite.so (and is missing because it is preserved in the process of upgrade = nothing changed in my httpd.conf file) ..

    the other question is that i may install a fresh copy of apache2 and then i will make the neccesary settings on httpd.conf (and I don't know if my server will work because i don't know if i must make other setting for apache2 v. 2.0.63 (Unix) PHP/4.4.0 ) the php and mysql will work ? and will work the apache with that httpd.conf or i need to run other commands for my apache server to work again ?

    my config.nice file that i've runned for upgrade contain:
    #! /bin/sh
    #
    # Created by configure

    "./configure" \
    "--prefix=/usr/local/apache2" \
    "--enable-mods-shared=rewrite" \
    "$@"



    or i should use something like:

    ./config.nice --prefix=/usr/local/apache2 --enable-mods-shared=all --disable-info
    on my upgrade .. and maybe now the compiled apache will install and mod_rewrite ?



    help pls !:(:confused:
     
    icoman, Jul 15, 2008 IP