Re: [users@httpd] mod rewrite

2012-11-26 Thread Steffan A. Cline
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

Re: [users@httpd] mod rewrite

2012-11-26 Thread Steffan A. Cline
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

Re: [users@httpd] mod rewrite

2012-11-25 Thread Steffan A. Cline
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. >

Re: [users@httpd] mod rewrite

2012-11-08 Thread Steffan A. Cline
/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

Re: [users@httpd] mod rewrite

2012-11-08 Thread Steffan A. Cline
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

Re: [users@httpd] mod rewrite

2012-11-08 Thread Steffan A. Cline
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

Re: [users@httpd] mod rewrite

2012-11-08 Thread Steffan A. Cline
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. >> &

[users@httpd] mod rewrite

2012-11-08 Thread Steffan A. Cline
?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

Re: [EMAIL PROTECTED] Apache on Mac OS X 10.3.9 Server

2007-02-22 Thread Steffan A. Cline
;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

[EMAIL PROTECTED] Apache on Mac OS X 10.3.9 Server

2007-02-21 Thread Steffan A. Cline
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