Apache module order with AddModule

Apache module order with AddModule

Post by tonygallag.. » Sat, 08 Jan 2000 04:00:00



Hi there, can anyone help me out with this problem?

I just added mod_ssl so my setup, no problem, regular pages work just
fine. Then I tried to access some URL's with RewriteRule's in, no joy.
The ssl-access_log shows the URL as before the rewrite.

I'm looking at the config files and the modules appear to be executing
in the right order (its the AddModule order that counts right?), but
its not working, so I tried changing the order of the AddModules and
then of the LoadModules also, it makes no difference.

Just as a test I changed the order of the mod_cgi and mod_rewrite
around, that makes no difference also, the rewrite rule continues to
work whether I put mod_rewrite before or after mod_cgi.

So the question seems to be, does AddModule make any difference at all?

Any help would be greatly appreciated.

Tony.

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Apache module order with AddModule

Post by Dan Wilg » Sat, 08 Jan 2000 04:00:00



> Hi there, can anyone help me out with this problem?

> I just added mod_ssl so my setup, no problem, regular pages work just
> fine. Then I tried to access some URL's with RewriteRule's in, no joy.
> The ssl-access_log shows the URL as before the rewrite.

> I'm looking at the config files and the modules appear to be executing
> in the right order (its the AddModule order that counts right?), but
> its not working, so I tried changing the order of the AddModules and
> then of the LoadModules also, it makes no difference.

> Just as a test I changed the order of the mod_cgi and mod_rewrite
> around, that makes no difference also, the rewrite rule continues to
> work whether I put mod_rewrite before or after mod_cgi.

Well, according to one place in the docs, the modules are actually loaded in
the reverse order that they are COMPILED into httpd. Apparently Add/LoadModule
order is not a factor.

I can't say if recompiling will definitely help your problem, but it can't
hurt to try.


** Remove the REMOVE in my address address to reply reply  **

 
 
 

Apache module order with AddModule

Post by Joshua Sliv » Sat, 08 Jan 2000 04:00:00




>> I'm looking at the config files and the modules appear to be executing
>> in the right order (its the AddModule order that counts right?), but
>> its not working, so I tried changing the order of the AddModules and
>> then of the LoadModules also, it makes no difference.

> Well, according to one place in the docs, the modules are actually loaded in
> the reverse order that they are COMPILED into httpd. Apparently Add/LoadModule
> order is not a factor.

I believe that what you say is true for static, but NOT dynamically
loaded modules.  For dynamically loaded modules, the order of
directives in httpd.conf is important.

--
Joshua Slive

http://finance.commerce.ubc.ca/~slive/

 
 
 

1. modules order in apache..

Hi!

I wonder myself which order must i put my modules in my httpd.conf module
list?
i mean, not the basics modules, but these three modules:

mod_php3
mod_perl
mod_ssl

(they are in the same order as in my actual config file...)

can you tell me if i'm wrong :
    1_ mod_ssl is last (to be first, thanks apache!!) because it must
override everything else.
    2_ mod_perl is next, because it is what i use the most...
    3_ mod_php3 is next, because i use it less than mod_perl..
    3_ then come my basics apache modules....

many thanks to you!

2. pipe email to news group directly

3. Apache 2, SSI inconsistency maybe from module order

4. Matrox Mystique drivers for X Windows

5. Apache, PHP & module order

6. Need Help Compiling "Term"

7. Apache 2 Load Module Order

8. Installing RedHat packages with Slackware on

9. apache module order

10. Apache "Order Allow,Deny" vs "Order Mutual-failure"?

11. Apache 2.0.35 AddModule

12. Apache 1.2b6 AddModule directive

13. Compiling apache on linux and AddModule