Я пытаюсь установить и настроить RSS Lounge на моем Raspberry PI (Wheezy 3.2.27). Это то, что я получаю, когда иду в http://localhost/rsslounge
:
Модуль Apache "mod_rewrite" не загружен
Однако модуль перезаписи включен:
ab@1234 : sudo apache2ctl -t -D DUMP_MODULES
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
version_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
headers_module (shared)
mime_module (shared)
negotiation_module (shared)
php5_module (shared)
reqtimeout_module (shared)
rewrite_module (shared)
setenvif_module (shared)
ssl_module (shared)
status_module (shared)
Syntax OK
Более того, я следил этот тест и сервер ведет себя правильно, поэтому проблема заключается в связи между Apache и RSSLounge.
Вот мой /etc/apache2/sites-availables/default
файл :
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
RewriteEngine on
</Directory>
(папка rsslounge, очевидно, находится в /var/www/
)
Что не так с моей конфигурацией?
RSSLounge находится в / var / www? Если вы устанавливаете его с пакетом, он может находиться в / usr / share / rsslounge, и ваш параметр «RewriteEngine on» не используется. Поместите его в виртуальный хост, чтобы он был доступен во всех ваших каталогах.