httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <cove...@gmail.com>
Subject Re: [users@httpd] Need help with rewriting of rules...
Date Thu, 12 Jun 2008 17:54:02 GMT
On Thu, Jun 12, 2008 at 1:37 PM, Sameer Madan <sameer27.in@gmail.com> wrote:
> Hi,
>
> I am a total newbie to apache. I am trying to use the rewrite engine to
> rewrite rules as follows:
>
> I want to rewrite
>
> http://127.0.0.1/<some URL>
>
> to
>
> http://<some URL>
>
>
> In other words, I want to remove the '127.0.0.1'  from between. Any help on
> this would be appreciated. A straightforward rule which I can copy-paste
> into my .htaccess file would be awesome... :)
> Also I need to know which folder to place my .htaccess file in.

Can you fully explain what you're trying to do?  Rewriting to
eliminate the hostname doesn't make much sense.

What result are you trying to achieve?


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
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