On the rewrite rule, I was working on
RewriteRule ([\w]*)\.(.*) http://domain.com/$1-$2/
BUT what if there is anything before xxx.com like www.xxx.com? I am no pro
with regex but trying to find a way around that.
Thanks
Steffan
On 11/26/12 10:46 AM, "Steffan A. Cline" wrot
sort.
Thanks
Steffan
On 11/26/12 12:53 AM, "Igor Cicimov" wrote:
>
>
> On 26/11/2012 4:17 PM, "Steffan A. Cline" wrote:
>> >
>> > Is there a way to rewrite the HTTP_HOST where the . Is changed to a - ?
>> >
>> > HTTP_HOST= something
domain.com <http://domain.com> $ [NC]
> RewriteRule .* http://domain.com?domain=%{HTTP_HOST}
> <http://domain.com?domain=%%7BHTTP_HOST%7D> [R,L]
>
>
>
>
> On Fri, Nov 9, 2012 at 3:36 PM, Steffan A. Cline wrote:
>> Works a charm with one exception.
>
/8/12 9:36 PM, "Steffan A. Cline" wrote:
> Works a charm with one exception.
>
> www.domain.com redirects to domain.com?domain=www.domain.com
>
> Anyway to fix that? www.domain.com should be ignored since that is the domain
> itself.
>
>
> Thanks
>
&g
Cond %{HTTP_HOST} !^domain.com <http://domain.com> $ [NC]
> RewriteRule .* http://domain.com?domain=%{HTTP_HOST} [R,L]
>
>
> On Fri, Nov 9, 2012 at 1:05 PM, Steffan A. Cline wrote:
>> Thanks for the URL. I did not read this one, but a similar one also on the
>> site
t;
> On Fri, Nov 9, 2012 at 1:05 PM, Steffan A. Cline wrote:
>> Thanks for the URL. I did not read this one, but a similar one also on the
>> site.
>>
>> I did not blindly ask for suggestions without trying it first.
>>
>> The issue I ran into was too many redir
11/8/12 6:32 PM, "Igor Cicimov" wrote:
>
> On Fri, Nov 9, 2012 at 9:59 AM, Steffan A. Cline 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.
>>
&
?domain=abc.com
or
http://domain.com/abc-com/
Any suggestions?
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
stef...@execuchoice.net Phoenix, Az
http
;s virtual host system is crapping out and defaulting to
the default site where the file definitely does not exist?
Thanks
Steffan
---
T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4
Steffan A. Cline
[EMAIL
5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4
Steffan A. Cline
[EMAIL PROTECTED] Phoenix, Az
http://www.ExecuChoice.net USA
AIM : SteffanC ICQ : 57234309
Lasso Partner Allia
10 matches
Mail list logo