httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <icici...@gmail.com>
Subject Re: [users@httpd] mod rewrite
Date Fri, 09 Nov 2012 01:32:40 GMT
On Fri, Nov 9, 2012 at 9:59 AM, Steffan A. Cline <steffan@hldns.com> wrote:

> I am trying to figure out a specific rewrite.
>
> I have a default host set up to catch any domains not served on the
> specific server.
>
> I am trying to direct unknown domains in a manner such as :
>
> default domain would be domain.com
>
> So, abc.com hits, it would be rewritten to
>
> http://domain.com?domain=abc.com
>
> or
>
> http://domain.com/abc-com/
>
> Any suggestions?
>

Yes, read the mod_rewrite page its all in there

http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html


>
>
> Thanks
>
> Steffan
>
> ---------------------------------------------------------------
> T E L  6 0 2 . 7 9 3 . 0 0 1 4 | F A X  6 0 2 . 9 7 1 . 1 6 9 4
> Steffan A. Cline
> Steffan@ExecuChoice.net                             Phoenix, Az
> http://www.ExecuChoice.net                                  USA
> AIM    : SteffanC                     Skype : steffancline
> GOOGLE : Steffan.Cline@gmail.com        MSN : steffan@hldns.com
> YAHOO  : Steffan_Cline                  ICQ : 57234309
> ---------------------------------------------------------------
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message