httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Yau" <>
Subject RE: [users@httpd] mod_proxy / mod_rewrite question
Date Tue, 20 Jan 2004 22:16:55 GMT
Okay, I'm a bit unclear on your question.

Do you want to redirect http://localhost/ to  ?
Or do you want http://localhost/ to return the contents of ?

The first one is fairly easy with mod_rewrite.
In fact you will find your answer here:
And it'd be something like:
RewriteRule     ^/?(.*)    http://$1

The second one is not a mod_rewrite thing but would be a programming thing
which I have the theory on how to do it but have never programmed something
like that before so wouldn't be able to tell you specifically(but the basic
is talk to port 80 of the server and get back the text and then display it)

  -----Original Message-----
  From: Amit Thakkar []
  Sent: Tuesday, January 20, 2004 11:38 AM
  Subject: [users@httpd] mod_proxy / mod_rewrite question

  Hello All:

  I am attempting to use a java based web browser within an applet with in

  In order for this to work as I wish I need to use either mod_rewrite or
mod_proxy to accomplish the following for me:

  redirect all requests from http://localhost/ to whatever follows the

  for example

  http://localhost/ return the content from


  Is this possible... I've search but I haven't found out whether this can
be done or not.


  Find high-speed ‘net deals — comparison-shop your local providers
here. ---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info. To unsubscribe, e-mail: " from the digest: For additional commands, e-mail:

View raw message