Bug 8141 - Weird DirectoryIndex/XBitHack problem
Summary: Weird DirectoryIndex/XBitHack problem
Status: CLOSED DUPLICATE of bug 7966
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_dir (show other bugs)
Version: 2.0.35
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL: http://www.vorpalcloud.org:81
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-16 01:41 UTC by meanieflow
Modified: 2004-11-16 19:05 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description meanieflow 2002-04-16 01:41:36 UTC
Hi, I'm having problems regularly reproducing this, so please bear with me.  
Ok, the first reason I noticed this problem in the first place was that 
whenever I reloaded the root page off of my site, about 2/3 of the time it 
would produce a 416 error.  Reloading always gives the normal page back, but 
reloading again gives the 416 error back most of the time.  Turning off 
XBitHack in my config made this behavior go away.

Ok, here's where it started to get bizarre.  I was going to submit this report 
earlier today, but in testing it with netscape on a Solaris box, it wouldn't 
show itself.  Then I tried with IE for Solaris, and it "occasionally" showed 
itself.  Then... Then I removed the user x bit from index.html, and the 
problem went away.  Then I turned XBitHack back on, and the x bit on 
index.html, and everything was -still- behaving correctly.  (?)

Here's more of the weirdness.  The whole time, if I go to index.html directly, 
ie:
http://www.vorpalcloud.org:81/index.html
instead of
http://www.vorpalcloud.org:81/
it would also work fine, XBitHack or not.  (Note that port 80 is my 
current 'production' apache 1.3.X server)

Anyway, I still can't get the 416 error to resurface itself.  However, the 
server side includes on the index.html page are not working if you don't go 
directly to index.html.  I'm not sure why it's not working with a 
DirectoryIndex style access to index.html, but it isn't.  So...  on a related 
note (why I'm including it with this bug report)....

When I go to http://www.vorpalcloud.org:81/gallery/ from IE under windows, it 
gives me the index.php script as is (doesn't actually run it), but if I go 
directly to it, it works just fine.  Likewise, from other browsers, it works 
just fine without going directly to index.php.

I don't know, something weird seems to be happening with DirectoryIndex style 
accesses.  It's like it's handing me the pages just fine, but if it's not 
bothering to procss them at all.
Comment 1 javier wilson 2002-04-30 18:14:24 UTC
I believe this could be a similar bug to Bug 7966
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7966

At least the bit about your includes in your index.html
files not working well unless you specify url/index.html,
that seems to be the same problem (and it's already been
fixed)
Comment 2 Justin Erenkrantz 2002-04-30 18:21:19 UTC
Yeah, I agree - this looks like 7966 which has already been resolved.  Please
review that PR for the fixes.

Thanks for using Apache!

*** This bug has been marked as a duplicate of 7966 ***