You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by sc...@openface.ca on 1998/05/16 12:31:55 UTC

os-windows/2238: The "Last Modified" link on an autoindex causes an "Application Error"

>Number:         2238
>Category:       os-windows
>Synopsis:       The "Last Modified" link on an autoindex causes an "Application Error"
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat May 16 03:40:00 PDT 1998
>Last-Modified:
>Originator:     scribble@openface.ca
>Organization:
apache
>Release:        CVS build apache_19980516010023.tar.gz
>Environment:
Windows NT 4, Using MSVC++ version 5.0
>Description:
I have a virtual host www.example.com, with a UNC DirectoryRoot
(//machine/share). If I click on the "Last Modified" link on a directory
listing, I get an Application Error. Here is part of the backtrace:
  _expandtime()
  _Strftime()
  strftime()
strftime() is receiving NULL as the fourth argument (the const struct tm *
argument). As I'm having problems with creating a workspace for Apache, I'm
not sure what calls strftime().
>How-To-Repeat:

>Fix:
I think the problem is with the way UNC paths are being handled. When I changed
the DirecotryRoot to C:\somedir, the "Last Modified" link worked fine. 
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]