Re: Apache rewrite module From Static to Dynamic

2011-02-22 Thread David Christensen
On 02/20/2011 10:32 PM, David Christensen wrote: But, the log is still owned by root: $ ll apache-sandbox/log/rewrite.log -rw-r--r-- 1 root root 2082 Feb 20 22:27 apache-sandbox/log/rewrite.log According to a Debian Apache maintainer, this is a feature, not a bug. He suggested running logrotat

Re: Apache rewrite module From Static to Dynamic

2011-02-21 Thread Alan Chandler
On 21/02/11 21:00, David Christensen wrote: On 02/21/2011 12:33 PM, Andrei Popescu wrote: On Du, 20 feb 11, 22:22:05, David Christensen wrote: 2. The rewrite log is empty and owned by root: $ ll apache-sandbox/log/rewrite.log -rw-r--r-- 1 root root 0 Feb 20 21:57 apache-sandbox/log/rewrite.log

Re: Apache rewrite module From Static to Dynamic

2011-02-21 Thread David Christensen
On 02/21/2011 12:33 PM, Andrei Popescu wrote: On Du, 20 feb 11, 22:22:05, David Christensen wrote: 2. The rewrite log is empty and owned by root: $ ll apache-sandbox/log/rewrite.log -rw-r--r-- 1 root root 0 Feb 20 21:57 apache-sandbox/log/rewrite.log Why is that a problem? Hint: the third 'r'

Re: Apache rewrite module From Static to Dynamic

2011-02-21 Thread Andrei Popescu
On Du, 20 feb 11, 22:22:05, David Christensen wrote: > > 2. The rewrite log is empty and owned by root: > > $ ll apache-sandbox/log/rewrite.log -rw-r--r-- 1 root root 0 Feb 20 > 21:57 apache-sandbox/log/rewrite.log Why is that a problem? Hint: the third 'r' means the log is readable by anyone

Re: Apache rewrite module From Static to Dynamic

2011-02-21 Thread David Christensen
On 02/20/2011 10:32 PM, David Christensen wrote: -rw-r--r-- 1 root root 2082 Feb 20 22:27 apache-sandbox/log/rewrite.log It might help if I posted the contents of the rewrite log (D'oh!): 2011-02-21 11:23:28 dpchrist@p43400e ~ $ cat apache-sandbox/log/rewrite.log 192.168.0.34 - - [20/Feb/2011:

Re: Apache rewrite module From Static to Dynamic

2011-02-20 Thread David Christensen
On 02/20/2011 10:22 PM, David Christensen wrote: 2. The rewrite log is empty and owned by root: $ ll apache-sandbox/log/rewrite.log -rw-r--r-- 1 root root 0 Feb 20 21:57 apache-sandbox/log/rewrite.log Here's part of the solution to #2 -- I needed to set RewriteLogLevel to something greater th

Apache rewrite module From Static to Dynamic

2011-02-20 Thread David Christensen
debian-user: I have a Debian 6.0.0 (Squeeze) computer with the "apache" Debian package installed: $ cat /etc/debian_version 6.0 $ sudo apache2ctl -v Server version: Apache/2.2.16 (Debian) Server built: Jan 1 2011 21:57:31 I am trying to learn about the Apache rewrite module v

Re: best pactice - apache, rewrite, ssl, virtualhost or .htaccess

2006-08-01 Thread Simo Kauppi
On Mon, Jul 31, 2006 at 10:24:41PM +0200, Ernst-Magne Vindal wrote: > > On Mon, July 31, 2006 19:43, Casey T. Deccio said: > > On Mon, 2006-07-31 at 14:41 +0200, Ernst-Magne Vindal wrote: > >> I have tryed to redir with .htaccess file and by config virtualhosts. Both > >> seams > >> to work ok, bu

Re: best pactice - apache, rewrite, ssl, virtualhost or .htaccess

2006-07-31 Thread Ernst-Magne Vindal
On Mon, July 31, 2006 19:43, Casey T. Deccio said: > On Mon, 2006-07-31 at 14:41 +0200, Ernst-Magne Vindal wrote: >> I have tryed to redir with .htaccess file and by config virtualhosts. Both >> seams >> to work ok, but will be happy for some comments for best practice. > > According to: > http://

Re: best pactice - apache, rewrite, ssl, virtualhost or .htaccess

2006-07-31 Thread Casey T. Deccio
On Mon, 2006-07-31 at 14:41 +0200, Ernst-Magne Vindal wrote: > I have tryed to redir with .htaccess file and by config virtualhosts. Both > seams > to work ok, but will be happy for some comments for best practice. According to: http://httpd.apache.org/docs/2.0/howto/htaccess.html#when .htacces

Re: best pactice - apache, rewrite, ssl, virtualhost or .htaccess

2006-07-31 Thread Roberto C. Sanchez
On Mon, Jul 31, 2006 at 02:41:32PM +0200, Ernst-Magne Vindal wrote: > Hi, I'm running Apache2 on Debian Sarge and redirect some sites to https. > > I have: > debian 2.6.8-16sarge1 > apache2 - 2.0.54-5 with mod_ssl, mod_rewrite > > I have tryed to redir with .htaccess file and by config virtualhos

Re: best pactice - apache, rewrite, ssl, virtualhost or .htaccess

2006-07-31 Thread Jon Dowland
At 1154356892 past the epoch, Ernst-Magne Vindal wrote: > I have tryed to redir with .htaccess file and by config > virtualhosts. Both seams to work ok, but will be happy for > some comments for best practice. .htaccess is more relocatable, as you are keeping the "logic" about your web app togethe

best pactice - apache, rewrite, ssl, virtualhost or .htaccess

2006-07-31 Thread Ernst-Magne Vindal
Hi, I'm running Apache2 on Debian Sarge and redirect some sites to https. I have: debian 2.6.8-16sarge1 apache2 - 2.0.54-5 with mod_ssl, mod_rewrite I have tryed to redir with .htaccess file and by config virtualhosts. Both seams to work ok, but will be happy for some comments for best practice.

apache rewrite

1997-11-16 Thread Hamish Moffatt
Any experts on apache rewrite commands? I want to redirect http://somename.domain.com.au to http://www.domain.com.au/~somename. someone is one particular instance and does not need to be generic. somename.domain.com.au is a cname to www.domain.com.au. It looks like RewriteRule with a RewriteCond