HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re-hosting mirrored sites
Author: Loren Gordon
Date: 07/13/2005 22:01
 
Hello,
I'm using HTTrack to mirror a few web sites so that I can rehost them on a
closed LAN.  I'm using IIS as the web server.  The one thing I can't seem to
get working is to configure IIS to allow periods that are not part of the
extension in the URL.  Has anyone else run into this?
For example, I tell HTTrack to mirror www.foo.com and www.bar.com within a
single project.  HTTrack nicely retrieves the web sites and creates an index
page that I use when rehosting the sites.  Unfortunately, the sites are saved
into the directories www.foo.com and www.bar.com, so when I browse to them on
the local machine, the address looks like this:

<http://localhost/mirror/www.foo.com/>

IIS barfs all over this.  It initially said, "The page cannot be displayed",
and "HTTP 403.1 Forbidden: Execute Access Forbidden".  So I granted Execute
privileges within the Virtual Directory properties, and now it just says "The
page cannot be found", "HTTP 404 - File not found".

If I change the periods to underscores and edit the index.html accordingly, it
works perfectly.

I've tried changing the Build Options in HTTrack so the site name is not
included, but then the index page doesn't always display the name of the site,
so I'm trying to avoid that and figure out how to get IIS to do what I want.

Any ideas?
 
Reply


All articles

Subject Author Date
Re-hosting mirrored sites

07/13/2005 22:01
Re: Re-hosting mirrored sites

07/17/2005 10:35




d

Created with FORUM 2.0.11