473,609 Members | 1,851 Online
Bytes | Software Development & Data Engineering Community
+ 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 1571
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
1874
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
4217
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 and password of every PC. How can I do this.
7
4485
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
3155
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 = CreateObject("WScript.Shell") wshell.run "c:\file.bat" set wshell = nothing
3
2793
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 between 20MB - 40MB, which is quite large. If the ASP.NET application has to upload the file, then I would have to change in the web.config this value: <httpRuntime maxRequestLength="4096" and instead of 4096, put
4
1404
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
1390
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); It works well, but borrows a lot of time (48 sec) at the first attempt Next attempt after 5 sec working momentaly. I think, that business in WindowsMobile 5 Help m please!
2
4228
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 interval. Can u give me any sugession on to transfer an array or a file from 1 PC to Another PC in a LAN using C programming language ? What types of information I need to learn to write this program? If u have any example it is better for me...
1
1132
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
2928
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 the local machine. I have re-downloaded the connection drivers from http://www.microsoft.com/downloads/details.aspx?FamilyID=7554F536-8C28-4598-9B72-EF94E038C891&displaylang=en
0
8139
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8091
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8232
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7024
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6064
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5524
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4032
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2540
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 we have to send another system
1
1686
muto222
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.