Solved

Any Apache Gurus Out There?

Posted on 2009-07-11
3
224 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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
XAMPP 3 74
erroer in installing php7.0.7 on an apache 2 machine 4 150
LINUX CENTOS + APACHE 9 71
htaccess - disable PHP in specific directory 1 16
As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

685 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