[users@httpd] RE: [SPAM] - Re: [users@httpd] why do I get a 304 when I replace a file with a changed version? - Email found in subject

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

 



Thanks! I should of noted that touch works as well, so I suspect if that is what 'more' does it would work to. I'll try it(I have to wait for ttl to expire so it takes awhile), and will post only if it does not work. I just think it's odd that we would have to use these more unusual methods to copy the files to get the server to recognize a change. When I use copy, xcopy, etc. the time stamps do change, eg. a.htm picks up the time stamp of b.htm so it is different as is the file size. 
 
We can doc to only use cp or touch(after a copy), but I am sure at some point someone will forget and therefor their new doc will never be posted until they check and correct the method they used to replace the file. That's what I plan to do for now anyway.
 
Thanks again!
 
Jennifer Lee
 

________________________________

From: William A. Rowe, Jr. [mailto:wrowe@xxxxxxxxxxxxx]
Sent: Thu 5/4/2006 5:27 PM
To: users@xxxxxxxxxxxxxxxx
Subject: [SPAM] - Re: [users@httpd] why do I get a 304 when I replace a file with a changed version? - Email found in subject



Jennifer R. Lee wrote:
> 
> If I use windows xcopy command, copy command, drag and drop or even the unix
> toolkit mv command to swap these two files and then launch a.htm, Apache acts
> as if there was no change, and sends a 304 every time the TTL expires

Just a wild observation, but xcopy/copy/etc all preserve the time stamp on win.

If you use

more a.htm > b.htm

what happens?  This will 'touch' the datestamp of b.htm to the current time.


---------------------------------------------------------------------
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



<<winmail.dat>>

---------------------------------------------------------------------
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