Open GoogleCodeExporter opened 9 years ago
See also: https://issues.apache.org/jira/browse/INFRA-1315
Original comment by ian...@gmail.com
on 29 Nov 2007 at 12:44
Ted Husted opened a thread to discuss this issue on the AutoExport Google Group
http://groups.google.com/group/couldit-autoexport/browse_thread/thread/4f48c0df7
df206e2/#
Original comment by ian...@gmail.com
on 29 Nov 2007 at 12:45
I hacked around this by running on the static webserver:
cd /var/www/localhost/htdocs
find . -name "*.html" -exec grep -H "dev.schibstedsok.no" {} \; | gawk
-F"dev.schibstedsok.no" '{print $2}' | gawk -F\" '{print $1}' | gawk -F\'
'{print
$1}' | gawk -F""" '{print "https://dev.schibstedsok.no"$1}' | grep
".png\|.gif\|.jpeg" > protected-images.txt
wget --no-check-certificate -x -nH -i protected-images.txt
find . -name "*.html" | xargs sed -i
's\https://dev.schibstedsok.no\http://sesat.no\g'
ofcourse you'll have to change the domain names (dev.schibstedsok.no is the
original
confluence server, sesat.no the static webserver), and you need proper access
to the
original confluence when running the wget command.
Original comment by michaels...@gmail.com
on 14 Mar 2008 at 9:12
Original issue reported on code.google.com by
ian...@gmail.com
on 29 Nov 2007 at 12:43