Solved

Any Apache Gurus Out There?

Posted on 2009-07-11
3
194 Views
Last Modified: 2012-05-07
Can't seem to get any answers at all. Anyone familiar with Apache out there?

Module load order in Apache 2 is not working at all. Mod_Rewrite is running before Mod_Security2. I need Mod_Rewrite to run after Mod_Security
0
Comment
Question by:dilithiumtoys
3 Comments
 
LVL 14

Expert Comment

by:Deepak Kosaraju
Comment Utility
Can you copy and paste you config. Apache file is read top - bottom so make sure u change you sequence.
0
 
LVL 43

Accepted Solution

by:
ravenpl earned 500 total points
Comment Utility
Under 1.3 apache, last loaded module is called first,
Under 2.0 order of modules is unpredictable, which was considered mis-feature, and is fixed in 2.2. Not really though. Under 2.2 modules are registering itself under given class (like Auth module), but still, within one class the order is quite random.
0
 

Author Comment

by:dilithiumtoys
Comment Utility
Thank you to everyone for the suggestions. I have solved this problem, but I am running on Apache 2 for clarity.

I was attempting to feed Mod Rewrite a variable that was created by a custom module. As ravenpl said, it is very unpredictable, which was exhausting.

I was able to do what I wanted to do by causing redirection from with in the custom module.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now