You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eben <eb...@bakedbean.net> on 2004/06/12 00:45:50 UTC

[users@httpd] mod_rewrite and apache 2.0.47 question

I am running apache 2.0.47 on fedora core1.  I set up a standard name 
based vhost and the set up the RewriteEngine On directive in the 
.htaccess file.  I am getting the following logged error: 
/home/site/www/.htaccess: RewriteEngine not allowed here

All other .htaccess directives seem to be working as expected, and 
.htaccess is specified as the htaccess file in the main conf.

It's curious becuase I have the exact same scenario set up on both win2k 
and another linux server both running apache 2 and this works fine in 
the .htaccess.  I must be missing some access directive or something in 
my conf... any suggestions or insight is appreciated.


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] mod_rewrite and apache 2.0.47 question

Posted by Joshua Slive <jo...@slive.ca>.
On Fri, 11 Jun 2004, Eben wrote:

> I am running apache 2.0.47 on fedora core1.  I set up a standard name
> based vhost and the set up the RewriteEngine On directive in the
> .htaccess file.  I am getting the following logged error:
> /home/site/www/.htaccess: RewriteEngine not allowed here
>
> All other .htaccess directives seem to be working as expected, and
> .htaccess is specified as the htaccess file in the main conf.
>
> It's curious becuase I have the exact same scenario set up on both win2k
> and another linux server both running apache 2 and this works fine in
> the .htaccess.  I must be missing some access directive or something in
> my conf... any suggestions or insight is appreciated.

Check the AllowOverride directive in httpd.conf.

(Also check that you have FollowSymLinks in your Options directive, but
that shouldn't be the problem based on your error message.)

Joshua.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] mod_rewrite and apache 2.0.47 question

Posted by Tim Burden <ti...@burden.ca>.
AllowOverride must be at least FileInfo (or All)


-----Original Message-----
From: Eben [mailto:eben@bakedbean.net] 
Sent: June 11, 2004 6:46 PM
To: users@httpd.apache.org
Subject: [users@httpd] mod_rewrite and apache 2.0.47 question

I am running apache 2.0.47 on fedora core1.  I set up a standard name 
based vhost and the set up the RewriteEngine On directive in the 
.htaccess file.  I am getting the following logged error: 
/home/site/www/.htaccess: RewriteEngine not allowed here

All other .htaccess directives seem to be working as expected, and 
.htaccess is specified as the htaccess file in the main conf.

It's curious becuase I have the exact same scenario set up on both win2k 
and another linux server both running apache 2 and this works fine in 
the .htaccess.  I must be missing some access directive or something in 
my conf... any suggestions or insight is appreciated.


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org