Lightbox2

Главные вкладки

Комментарии

Аватар пользователя G.A. Vinogradov G.A. Vinogradov 26 ноября 2010 в 14:28

По всей видимости на сервер либо отключен mod_rewrite, либо недоступна настройка через .htaccess . Вам просто нужен нормальный хостинг Wink

Аватар пользователя illureal illureal 26 ноября 2010 в 14:36

у меня даже на локалхосте такая же хрень была... через .htaccess настройка возможна а на счет mod_rewrite где копать?

Аватар пользователя G.A. Vinogradov G.A. Vinogradov 26 ноября 2010 в 14:39

illureal wrote:
у меня даже на локалхосте такая же хрень была...

А локалхост самому настраивать надо ) Находите httpd.conf , находите там строчку с mod_rewrite, расскомментируете ее. Попутно еще надо в конструкции поставить AllowOverride All

#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "!!!!!!!!!!Your htdocs directory">
    #
    # 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 Indexes FollowSymLinks
    #
    # 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>
Аватар пользователя illureal illureal 26 ноября 2010 в 16:48

Вот что хостер написал:
Его включают через .htaccess. Т.е. надо создать в корне этот файл и указать в нет только активацию mod_rewrite и необходимые параметры для mod_rewrite. Тот .htaccess который был у вас, целеком будет вызывать ошибку т.к. присутствует много "лишнего" кода.

Куда и чего писать?