У меня проблемы с приложением Zend, загруженным на сервер Ubuntu. В то время как такие URLs: http://www.domain.com
, http://www.domain.com/admin/panel
работа, только этот тип ссылок: http://www.domain.com/index/51-picture.html
шоу: Not found.The requested URL /index/51-picture.html was not found on this server.
Apache - url не найден в некоторых случаях
Apache.conf
<Directory/>
Options FollowSymLinks
Allow from All
</Direcory>
<Directory /var/www/>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
сайты-доступные/domain.conf
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName domain.com
ServerAlias www.domain.com
DocumentRoot /var/www/domain
<Directory /var/www/domain/>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Я также разрешено: a2enmod rewrite
Благодарим за помощь.