You are here: Re: Website cleanup « HTML « IT news, forums, messages
Re: Website cleanup

Posted by RICHARD BROMBERG on 06/07/06 15:21

Thanks

I like that idea better than permenantly deleting stuff.


"Stan McCann" <me@stanmccann.us> wrote in message
news:Xns97DB563E6A4BBstanmccann@216.234.192.142...
> "Alan J. Flavell" <flavell@physics.gla.ac.uk> wrote in
> news:Pine.LNX.4.64.0606071416060.7218@ppepc20.ph.gla.ac.uk:
>
> > On Wed, 7 Jun 2006, RICHARD BROMBERG wrote:
> >
> >> Their work habits were no better than mine and now there are dozens
> >> of images that were uploaded to the Host and likewise dozens of old
> >> HTML files that are completely orphaned, i.e. nothing references
> >> them.
> >>
> >> Does anyone have a suggestion or know of a utility that will
> >> identify these unused files so I can clean up the site.
>
> > Personally, when getting rid of believed-to-be-orphaned files, I
> > set their filemode on the server so that the HTTPD cannot read them,
> > and then watch out for any corresponding errors in the logs for a
> > while, before finally deleting them. That way, it's easy to
> > reinstate any that weren't really orphaned.
>
> I do something similar. Rather than messing with file attributes, I
> rename the files placing a common extension on all files. That way, I
> can delete the whole lot in one go by deleting everything in the web
> space with that file extension. I usually use a file extension like
> 6.7.6 so somepage.html becomes somepage.html.6.7.6 and somegif.gif
> becomes somegif.gif.6.7.6; same for jpg, css, php or whatever. Maybe
> not better, but a bit different.
>
> --
> Stan McCann, "Uncle Pirate" http://stanmccann.us/
> Webmaster, NMSU Alamogordo http://alamo.nmsu.edu/
> Implementing http://blinkynet.net/comp/uip5.html

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация