Forum Moderators: phranque
I am using following codes -
LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c
The LoadModule is ok
But I am getting internal server error with AddModule.
In documentation of Apache 2.0 i have read that AddModule is changed.
So, how to rewrite urls now?
Any help is appreciated.
Regareds,
MB
The AddModule and ClearModuleList directives no longer exist. These directives were used to ensure that modules could be enabled in the correct order. The new Apache 2.0 API allows modules to explicitly specify their ordering, eliminating the need for these directives.
As long as you have mod_rewrite compiled into Apache you should be ready to roll. Use the LoadModule if you enabled the module as a DSO [httpd.apache.org].
[edited by: jdMorgan at 3:44 pm (utc) on Mar. 13, 2005]
[edit reason] Fixed URL format. [/edit]