Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: module rewrite_module is built-in and can't be loaded |
|
Author |
|
satishbejgum
Joined: 22 Feb 2007 Posts: 6 Location: Hyderabad
|
Posted: Sat 04 Aug '07 10:59 Post subject: module rewrite_module is built-in and can't be loaded |
|
|
I installed apache in SLES 10 machine, using
./configure --prefix=/usr/local/apr-httpd/ --enable-modules=most
make
make install
till now its ok,after including LoadModule rewrite_module modules/mod_rewrite.so in httpd.conf file.
when i tried to start server it showing this error "httpd: Syntax error on line 54 of /usr/local/apr-httpd/conf/httpd.conf: module rewrite_module is built-in and can't be loaded"
can any one help in this
thanks in advance |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3093 Location: Hilversum, NL, EU
|
Posted: Sat 04 Aug '07 15:51 Post subject: |
|
|
Be aware this is a Windows forum. But hopefully some with experience with SLES (Suse Linux Enterprise Server) sees your post.
Steffen |
|
Back to top |
|
tdonovan Moderator
Joined: 17 Dec 2005 Posts: 611 Location: Milford, MA, USA
|
Posted: Sat 04 Aug '07 17:03 Post subject: |
|
|
When you configure Apache with --enable-modules=most , the modules are built into Apache and do not need to be loaded with LoadModule before using them.
You can use mod_rewrite directives like RewriteEngine , RewriteCond, and RewriteRule without any need for a LoadModule directive.
run this: Quote: | /usr/local/apr-httpd/bin/httpd -M | to see a list of built-in (i.e. static) modules. Also see the configure docs.
If you configure Apache with --enable-mods-shared=all , then you could use the LoadModule directive in httpd.conf to load the modules you will be using.
-tom- |
|
Back to top |
|
|
|
|
|
|