mod_rewrite apache installation

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


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-23-2006
mcvallet@hotmail.com
 
Posts: n/a
Default mod_rewrite apache installation

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

  #2 (permalink)  
Old 08-23-2006
Sebastian Axmann
 
Posts: n/a
Default Re: mod_rewrite apache installation

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


  #3 (permalink)  
Old 08-23-2006
mc
 
Posts: n/a
Default Re: mod_rewrite apache installation


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

  #4 (permalink)  
Old 08-23-2006
Sebastian Axmann
 
Posts: n/a
Default Re: mod_rewrite apache installation

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


  #5 (permalink)  
Old 08-23-2006
mc
 
Posts: n/a
Default Re: mod_rewrite apache installation


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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:50 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0