[ php-blog-Bugs-2959891 ] DirectoryIndex incorrect when space in path

"SourceForge.net" <[email protected]> Fri, 26 Feb 2010 23:04:10 +0000
Newsgroups gmane.comp.serendipity.trackers
Message-ID <[email protected]>
Bugs item #2959891, was opened at 2010-02-26 16:04
Message generated for change (Tracker Item Submitted) made by bhardie
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=2959891&group_id=75065

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installer/Upgrader
Group: CVS/SVN/Nightly
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Brian Hardie (bhardie)
Assigned to: Nobody/Anonymous (nobody)
Summary: DirectoryIndex incorrect when space in path

Initial Comment:
When Serendipity is installed to a location with a space in the path (i.e. http://example.com/serendipity withspaces/) the index.php page will not be loaded by default if no file is specified.  It appears to be due to the DirectoryIndex directive's local-url part in .htaccess not being encoded.  According to http://httpd.apache.org/docs/2.2/mod/mod_dir.html, "Local-url is the (%-encoded) URL of a document on the server relative to the requested directory".  mod_dir considers 
  DirectoryIndex /serendipity withspaces/index.php
to mean two possible indexes, "/serendipity" and "withspaces/index.php".


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=2959891&group_id=75065

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev