473,485 Members | 1,393 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to redirect a site.htm to a file on the local machine(pc)?

Ok I was thinking if we could redirect a site say > something.com/something.htm to a file on my computer say myfile.htm.

I was thinking if we could do this using hosts, but haven't figured out yet.
This is the Output: I want when I goto something.com/something.htm I should go to c:/myfile.htm.

Thank You
Oct 14 '10 #1
1 1561
Samishii23
246 New Member
You'll need to setup your computer to be a webserver to be able to do that, or else your computer will most likely block all requests to your computer.

Not recommended.
Oct 19 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1868
by: Erik Kullberg | last post by:
I have a text file, produced on a Macintosh. I want to read that file on my PC. Can you tell me how to proceed? / Erik
5
4209
by: Standist | last post by:
I want install software on PC in my local network. First I want copy file to the PC through default share like c$ or d$ on the PC. Then install the software through wmi. I have the administrator...
7
4482
by: Ronald S. Cook | last post by:
In my .aspx page, I am trying to read file that is on a different on the company network. When I map a drive to it and call from within my .aspx page, I get this error:
2
3144
by: kk.simhadri | last post by:
Hi everybody, I want to run a bat file which is on different PC in the same network. I am able to run a batch file in my PC through the following code <% set wshell =...
3
2784
by: Big Charles | last post by:
Hello, My ASP.NET application has to read a DBF file in a CD from CD-Drive of a client PC. Then, I have to pass the data to a DataReader. The route is: Client-PC -Server The DBF file could be...
4
1389
by: AtulTiwari | last post by:
I m very new to Client/Server Programming and wants a help from u all that if any one can help me to share some Code that how can we send Files from one PC to another. Thanks in Advance.
0
1382
by: Pivalig | last post by:
Hello, i try to copy file from Pocket PC to network printer using this code : destination = "\\\\pc1\\ep1000\\Bill.txt"; File.Copy("\\Program Files\\MobileKhelner\\Bill.txt", destination); ...
2
4218
by: mostafijur | last post by:
Hello My PC has 2 ethernet card.I am using 1 port for internet.The 2nd port is connected with another PC and same network address.I want to send data by the 2nd port to that PC on time...
1
1128
by: vipin0022 | last post by:
Hi, Anyone tell me how to execute the .bat file of another pc, it should execute on another pc(both pc using windows os), its urgent. Thanks in advance.
4
2919
by: DaveRook | last post by:
Hi I have upgraded to Office 2007. I am using C# and Access. When I try to my website on my local PC, I get the error message: The 'Microsoft.ACE.OLEBD.12.0' provider is not registered on...
0
7116
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7161
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7275
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5418
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4857
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3058
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3063
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1376
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
595
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.