You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Yang Zhang <ya...@gmail.com> on 2010/04/24 09:24:17 UTC

[users@httpd] .htaccess not working

I'm using the Ubuntu stock install of Apach, but for some reason,
.htaccess files are not having any effect, despite that AccessFileName
is set to .htaccess.

E.g., here's a .htaccess, and neither the auth nor rewrite stuff is
working. In fact, I can just put gibberish into .htaccess, and no
complaints come up. Any hints would be greatly appreciated -- thanks!

AuthType Basic
AuthName "Password Required"
AuthUserFile /www/passwords/password.file
AuthGroupFile /www/passwords/group.file
Require Group admins

RewriteEngine On
RewriteBase /wp/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^(.+)$ /index.php/$1 [L,QSA]
RewriteRule . /wp/index.php [L]
-- 
Yang Zhang
http://yz.mit.edu/

---------------------------------------------------------------------
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] .htaccess not working

Posted by Yang Zhang <ya...@gmail.com>.
D'oh: I thought AllowOverride was not None for this, but now it's fixed.

On Sat, Apr 24, 2010 at 11:01 AM, Yang Zhang <ya...@gmail.com> wrote:
> No, it's not on that server.
>
> On Sat, Apr 24, 2010 at 4:16 AM, Sharl.Jimh.Tsin <am...@gmail.com> wrote:
>> 嗨,同胞:
>> i checked your site http://yz.mit.edu/wp/,
>> the rewrite module seems to work now.
>>
>> Best regards,
>> Sharl.Jimh.Tsin
>>
>>
>>
>> 2010/4/24 Yang Zhang <ya...@gmail.com>:
>>> o
>>
>> ---------------------------------------------------------------------
>> 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
>>
>>
>
>
>
> --
> Yang Zhang
> http://yz.mit.edu/
>



-- 
Yang Zhang
http://yz.mit.edu/

---------------------------------------------------------------------
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] .htaccess not working

Posted by Yang Zhang <ya...@gmail.com>.
No, it's not on that server.

On Sat, Apr 24, 2010 at 4:16 AM, Sharl.Jimh.Tsin <am...@gmail.com> wrote:
> 嗨,同胞:
> i checked your site http://yz.mit.edu/wp/,
> the rewrite module seems to work now.
>
> Best regards,
> Sharl.Jimh.Tsin
>
>
>
> 2010/4/24 Yang Zhang <ya...@gmail.com>:
>> o
>
> ---------------------------------------------------------------------
> 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
>
>



-- 
Yang Zhang
http://yz.mit.edu/

---------------------------------------------------------------------
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] .htaccess not working

Posted by "Sharl.Jimh.Tsin" <am...@gmail.com>.
嗨,同胞:
i checked your site http://yz.mit.edu/wp/,
the rewrite module seems to work now.

Best regards,
Sharl.Jimh.Tsin



2010/4/24 Yang Zhang <ya...@gmail.com>:
> o

---------------------------------------------------------------------
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