> -----Original Message----- > From: Vincent Bray [mailto:noodlet@xxxxxxxxx] > Sent: 21 August 2007 12:27 > To: users@xxxxxxxxxxxxxxxx > Subject: Re: .htaccess not working > > On 21/08/07, John Clement <john.clement@xxxxxxxxxxxxxxx> wrote: > > > > > > Hi all, > > > > I've taken the following .htaccess from CentOS 4.5 with Apache 2 > > > > ============ > > Options +FollowSymLinks > > > > RewriteEngine on > > RewriteRule ^([0-9]+) index.php?forum_id=$1&%{QUERY_STRING} > > ============ > > > > which works fine, however when putting it onto an old > RHEL3/Apache 2 > > machine that we've got to use for development it just 404s and the > > only log generated is: > > [snip] > > Try http://wiki.apache.org/httpd/RewriteHtaccessIgnored > > If that doesn't help, reply here with answers to the > questions it asks. Thanks for that link, I went through the checks, double checking everything as I went and found it was it was my mistake (I figured it had to have been), I'd left the <Directory> within the virtual server as <Directory /> instead of pointing to the same directory as the DocRoot. Its now working as it should be. Thanks for the nudge in the right direction! jc --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx