Date: Tue, 28 Nov 2006 10:03:43 -0500 From: "Darrell D. Mobley" <dmobley (at mark) uhostme.net> Subject: [coba-e:08010] Re: BQ & SSI To: <coba-e (at mark) bluequartz.org> Message-Id: <001101c712fe$66690420$6600a8c0@YOUR4105E587B6> In-Reply-To: <C18FD237.F536%webmaster (at mark) muntada.com> X-Mail-Count: 08010Abdul-Rashid, I wanted to thank you for the time you took to investigate and respond to this. The rest of the list must be tryptophanned out from the U.S. holiday (nice excuse). As I have come to expect, getting a response from this list is more difficult than Saddam Hussein getting a pardon (normal excuse). Like finding a lawyer, if I had of thrown money around, I probably would be covered up with options. You had the common decency to try, no matter how simple the question was. _____ From: Abdul-Rashid Abdullah [mailto:webmaster (at mark) muntada.com] Sent: Sunday, November 26, 2006 11:23 PM To: coba-e (at mark) bluequartz.org Subject: [coba-e:07996] Re: BQ & SSI I have done some experimentation and found that it is not necessarily what you might be thinking. Take a look at what this code outputs for you (http://www.muntada.com/test.shtml): <!--#config timefmt="%A, %B %d, %Y" --> <!--#echo var="DATE_LOCAL" --> <p> <!--#flastmod virtual="test.shtml" --> <p>Using <!--#exec cmd="/bin/date +%A, %B %d, %y" --> <br> <!--#exec cmd="/bin/date '+%A, %B %d, %Y'" --> <pre> <!--#printenv --> </pre> You will see that the flastmod actually will take the timefmt but the var="DATE_LOCAL" will not. So this is not a time formatting issue but an issue of the variable DATE_LOCAL. If you run the exec cmd of /bin/date you can format according to your desire. You will see that when you do a printenv that the formatting even for the last mod doesn't seem to take. I searched google and found this relative comment regarding DATE_LOCAL: > Those assume that your web server is setting DATE_LOCAL in it's > environment, and that it's paying attention to what you set timefmt to be. http://lists.freebsd.org/pipermail/freebsd-questions/2005-September/099758.h tml That being the case, it seems that the issue is how the Apache is setting the DATE_LOCAL variable. I am not sure yet on how to influence this, but it seems that this is a common enough of an issue that someone mentioned it in the freebsd mailing list. Hopefully that helps even though it doesn't directly solve the DATE_LOCAL issue, but still gives you what I think is an acceptable work around. -Rashid On 11/26/06 10:18 PM, "Darrell D. Mobley" <dmobley (at mark) uhostme.net> wrote: An off-list email suggested that there were better ways to accomplish this than using SSI. However, this is for an existing customer who is confused as to why the BQ implementation of Apache's SSI is any different from any other Apache set up. I tried it and I couldn't get it to format either. So the question is: why is the BQ implantation of Apache and SSI different than any other Apache server? _____ From: Darrell D. Mobley [mailto:dmobley (at mark) uhostme.net] <mailto:dmobley (at mark) uhostme.net%5d> Sent: Saturday, November 25, 2006 10:09 PM To: coba-e (at mark) bluequartz.org Subject: [coba-e:07979] BQ & SSI I am trying to put a server side include in a page for the current date. When I use the following: [!--#config timefmt="%A %B %d, %Y" --] [!--#echo var="DATE_LOCAL" --] ( < and > changed for display reasons) I can not change the date format from the standard format. What do I need to do to configure the time format to display "Weekday Month day, Year"?8010_2.html (attatchment)(tag is disabled)