SourceForge.net
2010-02-26 23:04:10 UTC
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
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