Solved

Any Apache Gurus Out There?

Posted on 2009-07-11
3
236 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 14

Expert Comment

by:Deepak Kosaraju
ID: 24834811
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
ID: 24834857
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
ID: 24834901
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

691 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