httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernard Hawkes" <>
Subject [users@httpd] Redirection of external URLs to own file system for offline testing - How?
Date Sat, 17 May 2003 19:29:32 GMT
Possibly not relevant, but I'm running under Windows ME.
I'm running Apache web server version 2.0.45.
I'm running in console mode.
The only use I will be putting it to is to test my website offline.
My website is hosted by freeserve, to be precise:-
Because of space limitations I'm intending to open a second account:-
to hold a growing library of images.

I envisage a page on the ockdramsoc site containing html like this:-
<a href=""

This will work fine when uploaded but is giving me problems offline. I want
my Apache webserver, whenever it sees "", to
look in my own file system rather than try to connect to the Internet.

I have spent several hours looking at the documentation on the Apache site
without any success. I had a look at "Redirect" and "VirtualHost" but
either I'm on the wrong lines, there's other things that need setting or
I'm not using them correctly. (Probably all three as I'm very new to this.)
I wouldn't say no to a full solution but tell me what directives I need to
set and I'll have a go at working out the rest from the manual.

I've hardly touched httpd.conf. Things I've set are:-
DocumentRoot "D:/WebsiteODS"
DirectoryIndex home.htm

This configuration is mostly working. I type in a URL of http://localhost
into my browser and my site appears as I would expect it to. The only
problem I have is with external URLs.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message