Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

mod_rewrite.so - how can i install ?

Posted on 2010-01-12
1
Medium Priority
?
1,701 Views
Last Modified: 2013-11-08
Using Centos and Apache2 and WHM
I got a strange problem, when i run this command : ./apachectl -l
i see mod_rewrite.c
however i cant find the file mod_rewrite.so using command : find / -name mod_rewrite.so
so i cant add it to my httpd.conf to enable mod_rewrite ,

any help is appreciated.
0
Comment
Question by:Raul77
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 14

Accepted Solution

by:
Monis Monther earned 2000 total points
ID: 26301752
Under CentOS you will find it under

/etc/httpd/modules/mod_rewrite.so

if apache was installed from source you will find it under

/usr/local/apache2/modules/mod_rewrite.so

By default under apache mod_rewrie is enabled under httpd.conf you will find a line like this

LoadModule rewrite_module modules/mod_rewrite.so

you can check with

grep rewrite /etc/httpd/conf/httpd.conf

Note: By loading the rewrite module you still need to enable it either from a httpd.conf or from a ,htaccess file

RewriteEngine ON

then continue the rest of its configs

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question