Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    2

    Default Mod_rewrite Anomaly

    I have encountered the same mod_rewrite issue in both Apache 1.3 and Apache 2.2 whereby a simple regex pattern can match ANY webroot directory name except the webroot directory named "scripts" (/home/user/public_html/scripts). Initially i thought there might simply be a conflicting Alias/ScriptAlias/ScriptAliasMatch directive in httpd.conf somewhere, but i haven't found any. I've looked at the apache log at loglevel debug and it gives me very little information other than that it thinks the directory doesn't exist (which of course it does).

    Now i presume the issue still relates to some conflicting alias hidden somewhere deep in the bowels of the webserver that i haven't found - has anybody got any ideas where i might be able to look? There is absolutely nothing wrong with the regexp pattern, as it works flawlessly for every directory except "scripts". (it works with "script", "scripting" or any other possible variation of "scripts" just not "scripts"!)

    Thanks
    Last edited by tomp_gl; 04-14-2008 at 12:00 AM.

Similar Threads & Tags
Similar threads

  1. Anomaly with folders
    By Luchanu in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-06-2010, 03:48 PM
  2. help: mod_rewrite
    By marquis_ce in forum New User Questions
    Replies: 1
    Last Post: 06-18-2008, 03:00 PM
  3. mod_rewrite
    By its_joe in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-15-2007, 08:14 AM
  4. mod_rewrite
    By Cityhost in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 02-02-2005, 03:26 AM
  5. mod_rewrite
    By cguimont in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-05-2004, 07:50 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube