Re: [us...@httpd] Rewrite rules

2011-01-05 Thread Igor Galić
- "Joost de Heer" wrote: > >> As a side note, are there resources you would recommend to help me > >> with this type of task? > > > [List of resources] > > There's also Rich Bowen's mod_rewrite book > (http://www.amazon.com/exec/obidos/asin/1590595610/drbacchus/). To my shame, the only Apa

Re: [us...@httpd] Rewrite rules

2011-01-05 Thread Joost de Heer
>> As a side note, are there resources you would recommend to help me >> with this type of task? > [List of resources] There's also Rich Bowen's mod_rewrite book (http://www.amazon.com/exec/obidos/asin/1590595610/drbacchus/). Joost

Re: [us...@httpd] Rewrite rules

2011-01-05 Thread Igor Galić
- "Jeff Poling" wrote: > Jim, > > Thank you. That worked really well. > > As a side note, are there resources you would recommend to help me > with this type of task? For this particular task: http://wiki.apache.org/httpd/WhenNotToUseRewrite For rewrite, when useful: http://httpd.apache

RE: [us...@httpd] Rewrite rules

2011-01-04 Thread Jeff Poling
www.moodyministries.net >From the Word. To Life. -Original Message- From: Jim Riggs [mailto:apache-li...@riggs.me] Sent: Tuesday, January 04, 2011 10:53 AM To: users@httpd.apache.org; Jeff Poling Subject: Re: [us...@httpd] Rewrite rules On Jan 4, 2011, at 10:22 AM, Jeff Poling wrote: > I am very

Re: [us...@httpd] Rewrite rules

2011-01-04 Thread Jim Riggs
On Jan 4, 2011, at 10:22 AM, Jeff Poling wrote: > I am very new to apache configuration, having inherited responsibility for it > this fall. I need some assistance with (hopefully) a simple rewrite rule. > > We are using apache in a reverse proxy configuration. For a URL like: > > http://www.

[us...@httpd] Rewrite rules

2011-01-04 Thread Jeff Poling
I am very new to apache configuration, having inherited responsibility for it this fall. I need some assistance with (hopefully) a simple rewrite rule. We are using apache in a reverse proxy configuration. For a URL like: http://www.mydomain.com/site/test I want to rewrite it as https://www.m

[us...@httpd] rewrite rules and allowoverride with mass vhost

2010-09-25 Thread Richard Riley
Hi, Hopefully a simple Q as I am running around in circles a little bit. I wish to use mass vhosts. I would like all sites to share a common codebase/page repository - in this case "lib" which is a symbolic link elsewhere. Each site has its own custom, db and images directories. I can get these d

Re: [us...@httpd] Rewrite rules question

2009-04-22 Thread Igor Cicimov
The following works for me RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^(.*)$ https://www.domain.com.au$1 [R=301,L] Cheers, Igor On Thu, Apr 23, 2009 at 8:07 AM, André Warnier wrote: > John Oliver wrote: > >> A site has the following rules: >> >> RewriteEngine on >> RewriteBase / >> Rewrite

Re: [us...@httpd] Rewrite rules question

2009-04-22 Thread André Warnier
John Oliver wrote: A site has the following rules: RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] I've been asked to ensure that www.domain.com goes to https://domain.com so I tried: RewriteEngine

[us...@httpd] Rewrite rules question

2009-04-22 Thread John Oliver
A site has the following rules: RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] I've been asked to ensure that www.domain.com goes to https://domain.com so I tried: RewriteEngine on RewriteBase / Rew