How to enable mod_rewrite on an Apache 2.2 installation? mod_rewrite.so doesn't exist.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey All,

I've installed Apache 2.2.14 on our Redhat Enterprise Linux ES 5.0
box. I use it host a couple of websites and it runs great. :)

I now need to add some redirect rules on Apache.
For example, I need to:
1) redirect http://mywebsite.com to http://www.mywebsite.com
2) redirect /about.html to /page/10/
etc

I executed httpd -l and found out that mod_rewrite wasn't enabled.
There is no mod_rewrite.so file on my machine.

Given that, is there an easy way to enable mod-rewrite without having
to build Apache from scratch?
If I had to bulid Apache from scratch, the configuration files
(httpd.conf, httpd-vhosts.conf etc) would be rewritten, right?

Please advise. Thank you very much for your time!

Thanks,
Joe

PS:
Here's the output of "httpd -l" command:
core.c
mod_authn_file.c
mod_authn_default.c
mod_authz_host.c
mod_authz_groupfile.c
mod_authz_user.c
mod_authz_default.c
mod_auth_basic.c
mod_isapi.c
mod_include.c
mod_filter.c
mod_log_config.c
mod_env.c
mod_setenvif.c
mod_version.c
mod_proxy.c
mod_proxy_connect.c
mod_proxy_ftp.c
mod_proxy_http.c
mod_proxy_scgi.c
mod_proxy_ajp.c
mod_proxy_balancer.c
mod_ssl.c
prefork.c
http_core.c
mod_mime.c
mod_status.c
mod_autoindex.c
mod_asis.c
mod_cgi.c
mod_negotiation.c
mod_dir.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_so.c

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux