Re: [users@httpd] mod_rewrite woes

2011-01-21 Thread --[ UxBoD ]--
- Original Message - > On 01/21/2011 08:58 AM, Mark Wiltshire wrote: > > Hi UxBoD > > > > Can you confirm you have > > > > RewriteCond > > RewriteRule > > > > for each of you domains, I believe if you write multiple > > RewriteCond, they all > > have to match for the Rule then to be run. >

Re: [users@httpd] mod_rewrite woes

2011-01-21 Thread Björn Zettergren
On 01/21/2011 08:58 AM, Mark Wiltshire wrote: Hi UxBoD Can you confirm you have RewriteCond RewriteRule for each of you domains, I believe if you write multiple RewriteCond, they all have to match for the Rule then to be run. Try in separate pairs. mod_rewrite will default to do logical AND

Re: [users@httpd] mod_rewrite woes

2011-01-20 Thread Mark Wiltshire
Hi UxBoDCan you confirm you haveRewriteCondRewriteRulefor each of you domains, I believe if you write multiple RewriteCond, they all have to match for the Rule then to be run.Try in separate pairs.RMarkOn 20 Jan 2011, at 20:00, --[ UxBoD ]-- wrote:Hello all,I am switching from LiteSpeed webserver t

Re: [users@httpd] mod_rewrite woes

2011-01-20 Thread Björn Zettergren
On 01/20/2011 09:59 PM, Björn Zettergren wrote: As Eric wrote, you need to put your Rewrites inside the directive, i don't see them there in the above snippet. Possibly the "RewriteEngine On" needs to go there too. /Björn Cheez, i failed to fetch all the latest messages before i posted. Sorry

Re: [users@httpd] mod_rewrite woes

2011-01-20 Thread Björn Zettergren
On 01/20/2011 09:10 PM, --[ UxBoD ]-- wrote: - Original Message - Did you set RewriteEngine on? Where do you define your rules? If there's a VirtualHost handling the request, they need to be defined there. ServerAdmin webmas...@somedomain.com DocumentRoot "/www/somedomain

Re: [users@httpd] mod_rewrite woes

2011-01-20 Thread --[ UxBoD ]--
- Original Message - > you have rules in htaccess subverting your rules in httpd.conf. Hmm, in httpd.conf I have the following directives for the root directory: # Options None AllowOverride None Order deny,allow Deny from all # # Note that from this point forward you m

Re: [users@httpd] mod_rewrite woes

2011-01-20 Thread Joost de Heer
On 01/20/2011 09:00 PM, --[ UxBoD ]-- wrote: Hello all, Now the issue comes when I am trying to redirect a domain URL in the following formats: http://somedomain.com http://somedomain.co.uk http://www.somedomain.co.uk and wish them all to be re-written as: http://www.somedomain.com I have

Re: [users@httpd] mod_rewrite woes

2011-01-20 Thread Eric Covener
you have rules in htaccess subverting your rules in httpd.conf. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-

Re: [users@httpd] mod_rewrite woes

2011-01-20 Thread --[ UxBoD ]--
- Original Message - > What RewriteLogLevel is that? Try 9. > > On Thu, Jan 20, 2011 at 3:23 PM, --[ UxBoD ]-- > wrote: > > - Original Message - > >> On Thu, Jan 20, 2011 at 3:10 PM, --[ UxBoD ]-- > >> wrote: > >> > - Original Message - > >> >> Did you set RewriteEngine o

Re: [users@httpd] mod_rewrite woes

2011-01-20 Thread Eric Covener
What RewriteLogLevel is that? Try 9. On Thu, Jan 20, 2011 at 3:23 PM, --[ UxBoD ]-- wrote: > - Original Message - >> On Thu, Jan 20, 2011 at 3:10 PM, --[ UxBoD ]-- >> wrote: >> > - Original Message - >> >> Did you set RewriteEngine on? >> >> >> >> Where do you define your rules?

Re: [users@httpd] mod_rewrite woes

2011-01-20 Thread --[ UxBoD ]--
- Original Message - > On Thu, Jan 20, 2011 at 3:10 PM, --[ UxBoD ]-- > wrote: > > - Original Message - > >> Did you set RewriteEngine on? > >> > >> Where do you define your rules? If there's a VirtualHost handling > >> the > >> request, they need to be defined there. > > > > Hello

Re: [users@httpd] mod_rewrite woes

2011-01-20 Thread Eric Covener
On Thu, Jan 20, 2011 at 3:10 PM, --[ UxBoD ]-- wrote: > - Original Message - >> Did you set RewriteEngine on? >> >> Where do you define your rules? If there's a VirtualHost handling the >> request, they need to be defined there. > > Hello Eric, > > Thank you for the response. Yes it is a v

Re: [users@httpd] mod_rewrite woes

2011-01-20 Thread --[ UxBoD ]--
- Original Message - > Did you set RewriteEngine on? > > Where do you define your rules? If there's a VirtualHost handling the > request, they need to be defined there. Hello Eric, Thank you for the response. Yes it is a virtual host and I am using the following directives for it:

Re: [users@httpd] mod_rewrite woes

2011-01-20 Thread Eric Covener
Did you set RewriteEngine on? Where do you define your rules? If there's a VirtualHost handling the request, they need to be defined there. - The official User-To-User support forum of the Apache HTTP Server Project. See http://

[users@httpd] mod_rewrite woes

2011-01-20 Thread --[ UxBoD ]--
Hello all, I am switching from LiteSpeed webserver to Apache and having a real issue with mod_rewrite. First of all here are the details of apache: Server version: Apache/2.2.17 (Unix) Server built: Jan 20 2011 16:15:22 Server's Module Magic Number: 20051115:25 Server loaded: APR 1.4.2, APR-