can't get mod_rewrite to work
Posted: Tue Jan 30, 2007 1:15 am
From what I've read, mod_rewrite is compiled in by default, but when I do "apache2ctl -l", I get:
So I add "LoadModule mod_rewrite /usr/lib/apache2/modules/mod_rewrite.so" to my apache2.conf file, but then when I restart apache, I get this error:
Code: Select all
Compiled in modules:
core.c
mod_access.c
mod_auth.c
mod_log_config.c
mod_logio.c
mod_env.c
mod_setenvif.c
prefork.c
http_core.c
mod_mime.c
mod_status.c
mod_autoindex.c
mod_negotiation.c
mod_dir.c
mod_alias.c
mod_so.c
I've done a bit of searching around and come up with basically nothing. Any insight would be greatly appreciated.Syntax error on line 393 of /etc/apache2/apache2.conf:
Can't locate API module structure `mod_rewrite' in file /usr/lib/apache2/modules/mod_rewrite.so: /usr/lib/apache2/modules/mod_rewrite.so: undefined symbol: mod_rewrite