ubuntu Gutsy+apache2+php5; не работает mod_rewrite в apache, на все попытки написать что-либо похожее на:
RewriteEngine On
RewriteBase /
RewriteRule ^oldstuff\.html$ newstuff.html
в .htaccess, ругается 500 err, подскажите в чём может быть дело?
не работает mod_rewrite в apache (internal server error)
Модераторы: SLEDopit, Модераторы разделов
-
zmeeed
- Сообщения: 32
- ОС: Mandriva 2006, 2007 PP+
Re: не работает mod_rewrite в apache
<Directory "/var/www">
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs-2.2/mod/core.html#options
# for more information.
Options All
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
AllowOverride All
# Controls who can get stuff from this server.
Order allow,deny
Allow from all
</Directory>
Options All по умолчанию None
и надеюсь что в httpd2 -M rewrite_module (shared)
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs-2.2/mod/core.html#options
# for more information.
Options All
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
AllowOverride All
# Controls who can get stuff from this server.
Order allow,deny
Allow from all
</Directory>
Options All по умолчанию None
и надеюсь что в httpd2 -M rewrite_module (shared)