1
Я новичок в настройке сервера. На данный момент я должен настроить localhost с LAMP и картой opencart. Но все-таки бросает внутренняя ошибка сервера 500.apache2 бросает ошибку внутреннего сервера 500 после AllowOverride All, localhost
Даже я попытался следующие вещи
sudo a2enmode rewrite
apache2ctl configtest // for syantax
apache2ctl -t // for syntax
/etc/apache2/sites-available/000-default.conf файл
ServerName localhost
ServerAdmin [email protected]
DocumentRoot /var/www/
<Directory "/var/www/">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
файл /etc/apache2/apache2.conf
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /usr/share>
AllowOverride None
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
/var/www/opencart/.htaccess
Options +FollowSymLinks
Header add Access-Control-Allow-Origin "*"
RewriteEngine On
RewriteBase /ot
RewriteCond $1 !^(robots\.txt)