This is a discussion on mod_rewrite apache installation within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, I downloaded Apache 2.2.3 and installed it on my machine (linux). I wanted to use the rewrite ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I downloaded Apache 2.2.3 and installed it on my machine (linux). I wanted to use the rewrite Engine and I noticed that I did not have mod_rewrite installed (it does not appear when I type httpd -l or when I try to locate mod_rewrite). How can I install it now, does anybody have a idea ? Do I have to reinstall my Apache ? And if so, how can I do to have this module installed ? thanks, mc |
|
|||
|
Downloaded means..what?Compiled from sources or did you used an prebuild
package from your distributor? mcvallet@hotmail.com schrieb am Mittwoch 23 August 2006 19:56: > I downloaded Apache 2.2.3 and installed it on my machine (linux). > I wanted to use the rewrite Engine and I noticed that I did not have > mod_rewrite installed (it does not appear when I type httpd -l or when > I try to locate mod_rewrite). |
|
|||
|
Sebastian Axmann wrote: > Downloaded means..what?Compiled from sources or did you used an prebuild > package from your distributor? > Sorry, I download and compiled the Unix Source: httpd-2.2.3.tar.gz from http://httpd.apache.org/download.cgi |
|
|||
|
Well,do you still know what the configure commandline was,you used?
It should contain something like " --enable-rewrite " and if needed --enable-mods-shared=" ... mod_rewrite ...".Then recompile. It should be most simple for you just to reinstall apache but there should be also a way just by building the module with the help of apxs/apxs2,which i'm not sure about. mc schrieb am Mittwoch 23 August 2006 23:22: > Sebastian Axmann wrote: >> Downloaded means..what?Compiled from sources or did you used an prebuild >> package from your distributor? > I download and compiled the Unix Source: httpd-2.2.3.tar.gz from > http://httpd.apache.org/download.cgi |
|
|||
|
Sebastian Axmann wrote: > Well,do you still know what the configure commandline was,you used? > It should contain something like > " --enable-rewrite " and if needed --enable-mods-shared=" ... > mod_rewrite ...".Then recompile. > It should be most simple for you just to reinstall apache but there should > be also a way just by building the module with the help of apxs/apxs2,which > i'm not sure about. I looked into the apx solution and now it works. I found the mod_rewrite.c hidden somewhere and than in in the directory where mod_rewrite was located I type this command : [path to apxs]/apxs -i -c mod_rewrite.c And now everything works, thanks mc |