[users@httpd] SSI "config timefmt" not working properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Apache Server version: Apache/2.0.55

I'm having a problem getting "config timefmt" to work using the "DATE_LOCAL"
variable on my home page. I'm using the following code:

<!--#config timefmt="%d-%b-%Y" -->
<!--#echo var="DATE_LOCAL" --> 

The strange thing is the page actually loads the date, but it's loading the
full date, ie. "Wednesday, 17-May-2006 10:26:31 EST", instead of the date
format I have specified above - "17-May-2006".

After doing some testing I have noticed that if I reference the page
directly, ie. http://mywebsite/index.html instead of going to
http://mywebsite/ it works correctly. My config is setup to load
"index.html" by default when no page is specified:

[httpd.conf]

  <Directory "/tst/apache/test3/webdocs">
    XBitHack full

    # The server can be made to avoid following symbolic links,
    # to make security simpler. However, this takes extra CPU time,
    # so we will just let it follow symlinks.

    Options FollowSymLinks Indexes Includes

    # Don't check for .htaccess files in each directory - they slow
    # things down
    #
    AllowOverride None
    Order Allow,Deny
    Allow from all

    DirectoryIndex index.html

[/httpd.conf]


Is there a limitation that SSI doesn't work properly on directories? Is
there a way I can get it to work properly?

Thanks,
Andrew

In order to comply with the laws relating to Privacy and Spam,
could you please ensure that any emails regarding Members Equity Bank's
products and services are not forwarded to those who have previously
advised you that they do not want to receive emails or marketing materials.  
MEMBERS EQUITY BANK PTY LIMITED ABN 56 070 887 679 www.membersequitybank.com.au

This email and any attachments are confidential. If you are not the intended
recipient, you must not disclose, distribute, copy or use the information
contained in this e-mail or any attachments. If you have received this email
in error, please tell us immediately by return email and delete this email
and any attachments.

If you do not want to receive any further emails from Members Equity Bank
about our products and services, please send an email, with UNSUBSCRIBE
in the Subject line, to <unsubscribe_me@xxxxxxxxxxxxxxxxxxxx>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux