logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: module proxy_module is built-in and can't be loaded
Author
linaren



Joined: 24 Aug 2006
Posts: 1

PostPosted: Thu 24 Aug '06 11:12    Post subject: module proxy_module is built-in and can't be loaded Reply with quote

I have copyed the file mod_proxy.so (/usr/lib/modules/mod_proxy.so) into the folder (/apache/modules/),
then I have add the following lines:

LoadModule proxy_module modules/mod_proxy.so

But I have the error message below when I am trying to restart apache server:

httpd: Syntax error on line 100 of /apache/conf/httpd.conf: module proxy_module is built-in and can't be loaded

Do you have a hint?

Thank you.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Thu 24 Aug '06 13:42    Post subject: Reply with quote

Which OS do you run? *.nix? And which version form Apache?
If *nix OS is right. How is your configure script?

Maybe you tried to load a modul from a diffrent version?
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 611
Location: Milford, MA, USA

PostPosted: Thu 24 Aug '06 17:10    Post subject: Reply with quote

That message usually means that the module was compiled directly into your Apache executable when it was built.
LoadModule is only needed for modules which must be loaded by Apache at startup from a .so file.

If this is the case, then there is no need for a .so file in your \modules directory and no LoadModule directive is needed in your conf file. You should be able to use all the other mod_proxy directives.

You can check which modules are compiled directly into Apache with:
Quote:
for Apache 2.0.x:
C:\Program Files\Apache Group\Apache2\bin\Apache.exe -l

for Apache 2.2.x:
C:\Program Files\Apache Group\Apache2\bin\httpd.exe -l


Note that the switch is the lowercase letter "L", not the digit "one".

-tom-
Back to top


Reply to topic   Topic: module proxy_module is built-in and can't be loaded View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules