| > How would you go about httracking the files to a separate
> folder on the webserver, ie /staticpages without needing
> to download and re-upload manually?
Using the httrack in a cron job, directly connecting to localhost, using
aggressive settings (you don't care about bandwidth on localhost):
SITEURL=http://localhost/mysite/
httrack --update --quiet \
"${SITEURL}" \
--disable-security-limits \
--max-rate=1000000 \
--connection-per-second=0 \
--sockets=4 \
-O /home/www/static,/home/www/cache
All links will be rebuild relatively, so you don't have to care about the real
location after the mirror (you can move or reference the mirror wherever you
want to)
| |