Forum Moderators: phranque
1. I mirrored a web page on my computer and I am trying to fix things in order to access the local copy.
2. To copied the page using "wget" which downloaded about 12.000 files named: "content.aspx?item=&lang=yyyy". These are the real filenames on disk (including the "?" and "&" characters). One web page refers another with such URLs. All of them were rewritten by wget in order to be relative, not absolute so it should work locally (on the downloaded mirror)
3. I did some adjustment with ".htaccess" but my main problem is I can not "persuade" Apache that:
www.mydomain.com/content.aspx?item=&lang=yyyy
should go and read the file:
/var/www/content.aspx?item=&lang=yyyy
instead of reading "content.aspx" and passing it the query-string "item=&lang=yyyy".
Is there a way to solve this problem?
Thank you!
Instead of using WGET to download the HTML pages which are created by content.aspx, you need to use SFTP or FTP to download the site's files, so that all scripts and databases are downloaded in their original form.
If the server was Windows-based, then you'll need to run your local copy of the site on a Windows server (IIS) as well, unless you have a lot of free time to adapt things...
Jim
The redirect allows me to test the site, without ever getting the error message appear.