Subject: Re: rel. local links, abs. external, replace skipped |
Author: Albert25 |
Date: 06/10/2012 23:32 |
| Sounds good. So I just removed a few options. But there are still absolute
links to pages in the original domain.
For example:
a href=http://wiki.my.lan/index.php/Special:RecentChanges
I'm trying to have such links point to an error page.
Maybe I still have something wrong among all these options:
httrack <http://$site/index.php/Special:Allpages> \
--path "$backupdir,$backupdir/logs" \
--build-top-index --mirror --extended-parsing=0 \
--updatehack --disable-passwords --urlhack \
--robots=0 --keep-alive --max-rate=25000 \
-F "Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)" \
--user w7user \
"+*.css" \
"+$site/index.php/Special:AllPages" \
"-$site/index.php/Special:*" \
"-$site/index.php?title=Special:*" \
"-$site/index.php/User:*" \
"-$site/index.php?title=User:*" \
"-$site/index.php/Discussion_User:*" \
"-$site/index.php/Help:*" \
"-$site/index.php?title=*&oldid=*" \
"-$site/index.php?*&action=edit" \
"-$site/index.php?*&action=history*" \
"-$site/index.php?*redlink=*" \
"-$site/index.php?*feed=*"
| |
|
|
|
|