LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-17-2006, 02:25 AM   #1
Freezy
LQ Newbie
 
Registered: Mar 2003
Posts: 24

Rep: Reputation: 15
wget mirroring issue - GET variables


I have recently mirrored a web site that makes constant use of GET variables to load pages.

The pages saved look something like 'list.asp?bla=bla.html'.

Unfortunately, I cannot actually view my mirror as the latter part is sent as a GET variable rather than a literal URL.

I'm sure someone has encountered this issue before, any solutions?
 
Old 02-17-2006, 05:26 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Install a local webserver?
can't tell you what webserver processes .asp on linux..
 
Old 02-17-2006, 10:33 AM   #3
Freezy
LQ Newbie
 
Registered: Mar 2003
Posts: 24

Original Poster
Rep: Reputation: 15
The files were downloaded as html. Just like if you download a php file from a web server, it will be parsed as html.
 
Old 02-17-2006, 10:51 AM   #4
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
If you mirrored it by getting the pages over the http protocol (in a browser, with wget, etc) then you didn't get the actual website code but rather the output result of that code. So technically it's not a mirror, but is still viewable. If you want to view what you have, you only need filenames changed from something.asp?foo=bar to something.html If you want to actually mirror the site, you need to contact the webmaster and find a non-http method to transfer the actual .asp source files over (and then a way to display them, since this is a Linux forum, I assume you don't have an IIS server handy.)

Last edited by Darin; 02-17-2006 at 10:54 AM.
 
Old 02-17-2006, 06:31 PM   #5
Freezy
LQ Newbie
 
Registered: Mar 2003
Posts: 24

Original Poster
Rep: Reputation: 15
The only immediate solution I could think of was to mass-rename every file to simply remove the question mark, and then mass-remove question marks from the files to fix the linking.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wget problem with mirroring Tinku Linux - General 3 01-15-2006 08:18 AM
Threads synchronisation problem (mutex variables and contitional variables) zahadumy Programming 6 12-07-2005 12:30 PM
wget issue, basic but typical emailssent Linux - Newbie 3 03-03-2005 03:22 PM
PERL: concatenation of variables issue randomx Programming 2 01-16-2005 04:52 PM
wget issue Equin Linux - General 0 10-17-2004 06:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration