Weirdest thing I've come across.

I'm developing a project internally with Apache 2.2 as the server on Ubuntu 11.10 x64. I have a bunch of sub directories under my www root but none of which are called simply "download", however, if you go to www.mysite.com/download/ it responds.

I have a script file in the document root called download.php but no directory named that. I am using no mod_rewrite rules, I've done a "locate -i download" and the results it shows are not web accessible to begin with.

I have no scripts that dynamically create the directory and at this point am at a loss for where it actually exists. I see no mention of it in my httpd.conf and have checked the alias locations.

All the same, www.mysite.com/download/ responds and shows content. It's mind boggling... ANY advice on where to look?

    The server is actually displaying with the same logic check that my download.php file has. From what I can tell anyway, since nothing which is something along the lines of:

    Simplified

    if(!isset($_GET['variable'])){
         echo "URL is invalid";
    }
    

    Since it hits that stop, it doesn't display anything further but my download.php is the only script that has that specific error message on a stop.

    Not sure I'm understanding mod_speling the way it would apply here. From what I comprehend, that module would allow a user to misspell something like status.html as stats.html and still get the page to display? But it doesn't mention taking a file and converting it to a directory if someone leaves off the extension.

    The only way I've seen .php scripts get re-written as directories - download.php would become /download/ - is with mod_rewrite.

    Nevertheless, neither of those two modules are active.

      I find it interesting that mod_speling is well spelled wrong lol.

        7 days later

        It's that way on purpose --- typical geek humor, actually (as you might already know; otherwise take a look at Eric S. Raymond's Jargon File and light up your inner geek-fu 😉

          dalecosp;11000585 wrote:

          It's that way on purpose --- typical geek humor, actually (as you might already know; otherwise take a look at Eric S. Raymond's Jargon File and light up your inner geek-fu 😉

          Never heard of "the Jargon" or Jargon File before, definitely giving me a smile on this dreary Monday morning.

            Write a Reply...