httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Mod Rewrite Help
Date Fri, 17 Aug 2007 13:58:12 GMT
On 8/17/07, wi <icebattle@gmail.com> wrote:
> You'll need to configure a virtual host listening to the 8765 interface.
> Once you've done that, you will simply need to put together a rewrite to
> send requests to /abc.html to whatever target url you want.
>
> Start by reading http://httpd.apache.org/docs/2.2/vhosts/
>
> From there, configuring the rewrite will be the next task.

Or, if you don't want the virtual host, you can use a RewriteCond
based on the %{SERVER_PORT} as mentioned here:
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriterule

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message