RE: [users@httpd] Mixing ReWrite and AliasMatch

2014-03-02 Thread Darren Ward (darrward)
ill advise how I go Darren -Original Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: Monday, 3 March 2014 10:05 AM To: users@httpd.apache.org Subject: Re: [users@httpd] Mixing ReWrite and AliasMatch On Sun, Mar 2, 2014 at 3:27 PM, Darren Ward (darrward) wrote: > Tha

Re: [users@httpd] Mixing ReWrite and AliasMatch

2014-03-02 Thread Eric Covener
On Sun, Mar 2, 2014 at 3:27 PM, Darren Ward (darrward) wrote: > Thanks > > Still can't get this string to be matched though > > RewriteCond %{HTTP_USER_AGENT} ^CaptiveNetworkSupport* > RewriteRule ^(.*)$ /library/test/success.html [PT] > > Isn't matching: > > wifi-tc:192.168.104.39 - - [28

RE: [users@httpd] Mixing ReWrite and AliasMatch

2014-03-02 Thread Darren Ward (darrward)
a simple one... Darren -Original Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: Sunday, 2 March 2014 11:23 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Mixing ReWrite and AliasMatch On Sun, Mar 2, 2014 at 7:09 AM, Darren Ward (darrward) wrote:

Re: [users@httpd] Mixing ReWrite and AliasMatch

2014-03-02 Thread Eric Covener
On Sun, Mar 2, 2014 at 7:09 AM, Darren Ward (darrward) wrote: > Thanks Igor > > So in my example if I see a UserAgent starting with CaptiveNetworkSupport > then I should rewrite the URL to http://originalhost/library/test/success.html > > THEN the AliasMatch ending in /success.html should then ma

RE: [users@httpd] Mixing ReWrite and AliasMatch

2014-03-02 Thread Darren Ward (darrward)
's the best method to test a ReWrite and check debugs or logs? Darren -- From: Igor Cicimov [mailto:icici...@gmail.com] Sent: Friday, 28 February 2014 6:55 PM To: users Subject: Re: [users@httpd] Mixing ReWrite and AliasMatch On 27/

Re: [users@httpd] Mixing ReWrite and AliasMatch

2014-02-27 Thread Igor Cicimov
On 27/02/2014 12:23 PM, "Darren Ward (darrward)" wrote: > > Hi Guys > > I'm trying to combin a couple of things and I don't think it is going to work so I'm looking for some advice please... > > Essentially I want to have a ReWrite rule that detects when an Apple captive portal detect is perfromen

[users@httpd] Mixing ReWrite and AliasMatch

2014-02-26 Thread Darren Ward (darrward)
Hi Guys I'm trying to combin a couple of things and I don't think it is going to work so I'm looking for some advice please... Essentially I want to have a ReWrite rule that detects when an Apple captive portal detect is perfromend and send the request to a page that should emulate the require