Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Sheldon Ross
Big Thanks for everyone's help, I was finally able to get it working. To be honest though, I'm not sure what of the many fiddlings I did did it! On Wed, 2009-01-14 at 15:03 -0500, Brian Mearns wrote: > On Wed, Jan 14, 2009 at 2:45 PM, Sheldon Ross wrote: > > Thanks, I've tried several variations

Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Brian Mearns
On Wed, Jan 14, 2009 at 2:45 PM, Sheldon Ross wrote: > Thanks, I've tried several variations on the rule. > > Am I correct in thinking there should be some mod_rewrite log, or at > least mention of it in one of the logs? > Yes, you can specify the path to the rewrite log file with the RewriteLog

Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Sheldon Ross
Thanks, I've tried several variations on the rule. Am I correct in thinking there should be some mod_rewrite log, or at least mention of it in one of the logs? I've used mod_jk,mod_python in the past and I seem to remember them have logs of their own. Is there someway I can verify that mod_rewri

Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Eric Covener
> >RewriteRule ^/bob$ /temp1/temp1/temp2 Cannot match in per-directory context. The rewritebase, including a trailing slash, is stripped before you compare. RewriteLog might help in debugging. -- Eric Covener cove...@gmail.com --

Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Sheldon Ross
I've tried putting ReWriteEngine On in both the apache2.conf and the sites-enabled file. No effect. On Wed, 2009-01-14 at 14:20 -0500, Matt McCutchen wrote: > On Wed, 2009-01-14 at 12:13 -0700, Sheldon Ross wrote: > > I cannot get mod_rewrite to work. > > > > >

Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Bob Ionescu
2009/1/14 Sheldon Ross : >RewriteRule ^/bob$ /temp1/temp1/temp2 That rule (with 'RewriteEngine on' as already mentioned) wouldn't match in a section (per-directory context) but it would match outside of the section (per-server context). Strip the leading slash of the pattern for

Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Matt McCutchen
On Wed, 2009-01-14 at 12:13 -0700, Sheldon Ross wrote: > I cannot get mod_rewrite to work. > > ServerAdmin webmas...@localhost > > DocumentRoot /var/www/ > > Options FollowSymLinks > AllowOverride None > > > Option

[us...@httpd] ReWrite woes

2009-01-14 Thread Sheldon Ross
I cannot get mod_rewrite to work. I have enabled it through 'sudo a2enmod rewrite'. Under /mods-enabled/ there is 'rewrite.load' contents Code: LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so Here is a snippet of my /sites-enabled/ file Code: ServerAdmin webmas...@loc