Apache Server configuration support - mod_rewrite apache installation

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > August 2006 > mod_rewrite apache installation





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author mod_rewrite apache installation
mcvallet@hotmail.com

2006-08-23, 7:33 pm

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

Sebastian Axmann

2006-08-23, 7:33 pm

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).


mc

2006-08-23, 7:33 pm


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

Sebastian Axmann

2006-08-23, 7:33 pm

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:
> I download and compiled the Unix Source: httpd-2.2.3.tar.gz from
> http://httpd.apache.org/download.cgi


mc

2006-08-23, 7:33 pm


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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com