|
Hi this is a little OT
My problem best fits in this discussion board though.
Basically I have wget'ed a site. Say www.mysite.com and riddled all through it is HREF references such as www.mysite.com/part2.htm. Now that I have the whole site locally I would like to be able to view each bit without having to be on the net. So the question is there a HTML that will do the right thing and recursively strip the root URL out of the correct places and leave the references intact. I suppose you could use sed or perl but I was wondering if there was some tool that would do it a bit neater. e.g I suspect other tools might blindly strip some URLS out when that is not wanted.
Thankyou,
Tom.
|
|
|
|
|
anonymous wrote:
Now that I have the whole site locally I would like to be able to view each bit without having to be on the net
Isn't that the purpose of a web ripper ?
anonymous wrote:
I would like to be able to view each bit without having to be on the net
Offline mode does not work ? As long as your site is known by IE (is in the cache), it solves urls even if they point to web sites.
|
|
|
|
|
anonymous wrote:
Isn't that the purpose of a web ripper ?
Yes of course, the webpage has already been ripped with wget just it was written poorly and has references to its self instead of relative. I was looking for an automated tool that would fix it.
Tom
|
|
|
|
|
A few regular expressions could do most of the trick.
I see dumb people
|
|
|
|
|
I wanted to set a custom wrror page for 404 error. I have a few questions.
Can I have asp file there?
Can I have <include> tags in that page to include my left/banner/footer??
I was born intelligent Education ruined me!.
|
|
|
|
|
|
Will do that!!
I was born intelligent Education ruined me!.
|
|
|
|
|
SPS wrote:
Can I have asp file there?
Can I have tags in that page to include my left/banner/footer??
Yes, indeed.
Remember the custom error page is no different to any other page on your server, IIS has simply been told about it, that is all. So you can put whatever you want in.
However, saying that it is best to have a simple custom error page to ensure it loads fast and does not rely on too many other components which may be the cause of being sent to the error page in the first place.
Paul Watson Bluegrass Cape Town, South Africa
My humble photographic tribute to our world[^]
|
|
|
|
|
Thanks
I was born intelligent Education ruined me!.
|
|
|
|
|
Is there a way to move a file using a physical path instead of virtual? I want to move a file that is not available in my www folder, but rather in my db folder where my databases are. I want to rename an uploaded file to the value of a variable in the database.
objFSO.MoveFile Server.MapPath("d:/inetpub/domain/db/images/"&File.FileName&""),
Server.MapPath("d:/inetpub/domain/db/images/"&funeralID&".jpg")
of course won't work. I need to change this to a physical path but am unable to get anything I try to work...is there another function or syntax for the movefile function that i can use? thanks for your help!
|
|
|
|
|
Surely they are all ready physical paths?
Try something like...
objFSO.MoveFile Server.MapPath("../db/images/"&File.FileName&""),
Server.MapPath("../db/images/"&funeralID&".jpg")
...where the paths are relative from the location of the script containing the VBScript. Server.MapPath will return the physical path for you.
|
|
|
|
|
Hi,
Does anyone know if it is safe to involve Automation inside a CGI Application ?
(I have got many problems with Lotus123.Workbook.98 Automation : Automation Server can not be closed after used and CGI application can run once - the first time that Automation started !).
Is there any techniques for IIS (ASP) to interact or to involve executable file on server ?
aTpnT
|
|
|
|
|
Hi,
I have IIS running on w2k pro with all sp's instaled. When I do iisreset and then I call asp or isapi app on my localhost, that first call is realllly slow if application settings is set to medium or high. After the first call everything is working fine.
What is the problem here?...
tx
|
|
|
|
|
This is not a problem.. First time you navigate to a page, IIS "initializes" itself. Also if you have any database connections, it takes time to connect, then IIS keeps it in connection pool.. and so on.
So everything is ok
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
|
|
|
|
|
Before I was running w2k advanced server and that call was about 2-3 seconds and on current instalation of w2k pro is 50-60 seconds... that IS problem, right?
|
|
|
|
|
Hmm... yeah 50-60 seconds is a problem.. On my w2k pro it takes around 5 seconds (first call).. Then I have no idea what the problem
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
|
|
|
|
|
Ok
Thank you for your time
|
|
|
|
|
Hi, everyone!
I have seen hours of help, but still can not understand
what means descent and what means baseline.
Can you give me an explanation? Thanks in advance.
Cheers,
George
|
|
|
|
|
I want to write a CGI Application by Visual Basic.
It is easy to involve Automation like Excel Automation,...
But I start with nothing.
How a VB CGI Application to output result and get input information ?
aTpnT
|
|
|
|
|
If you look on MSDN that have a simple framework for doing that. I believe I found the link through http://www.iisfaq.com/ but that's been a while back.
Also, Wrox makes a book that has an almost complete framework for that. I think it's *VB6 Web*.
|
|
|
|
|
Thanks so much 'Anonymous'.
I think my problem will be solved.
Give me your name please...
aTpnT
|
|
|
|
|
How to create a pop-up window... I need to run my html/asp codes on it... is it possible??
I was born intelligent Education ruined me!.
|
|
|
|
|
OOps..... I got the answer for the above... just a window.open()....
Phew!!!
I was born intelligent Education ruined me!.
|
|
|
|
|
I'm trying to develop a part of my site that has a user enter information into a form and when they click the "download" button for the form, I want a file to be downloaded to the client and then have them redirected to an ASP page that sends a mail to me with the information that they entered in the form and tells them that the download completed successfully. I have the ASP page working that sends the mail and I have the form working and all that, but I'm trying to figure how to get the file to download before the ASP page is loaded or, at the very least, before the ASP page is fully loaded and displays the "completed" message.
|
|
|
|
|
Maybe you could create an ISAPI extension or another CGI app that will download the file and redirect you to another page upon completion.
Jason Henderson start page ; articles
henderson is coming
henderson is an opponent's worst nightmare
* googlism *
|
|
|
|