Привет у меня есть файл geometrixxig.com.conf под моей поддерживающей сайты папкой. После включения того файла я перезагрузил апачский сервис. Я использовал команды:
sudo a2ensite geometrixxig.com
Ниже мой conf файл:
<VirtualHost *:80>
ServerAdmin webmaster@example.com
ServerName geometrixxig.com
ServerAlias www.geometrixxig.com
DocumentRoot "/opt/communique/dispatcher/cache/content/geometrixx"
RewriteEngine On
RewriteRule ^/$ /content/geometrixx/en.html [PT,L]
RewriteCond %{REQUEST_URI} !^/apps
RewriteCond %{REQUEST_URI} !^/content
RewriteCond %{REQUEST_URI} !^/etc
RewriteCond %{REQUEST_URI} !^/home
RewriteCond %{REQUEST_URI} !^/libs
RewriteCond %{REQUEST_URI} !^/tmp
RewriteCond %{REQUEST_URI} !^/var
RewriteRule ^/(.*)$ /content/geometrixx/en/$1 [PT]
<Directory "/opt/communique/dispatcher/cache/content/geometrixx">
<IfModule disp_apache2.c>
SetHandler dispatcher-handler
ModMimeUsePathInfo On
</IfModule>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>
Когда я поразил http://geometrixxig.com/, я получаю ошибку: You don't have permission to access /content/geometrixx/en.html on this server.
Я проверил разрешение, которое все 777, но не получение почему не работа.
Если я поразил http://localhost/content/geometrixx/en.html, я получаю страницу
Спасибо
Вы попытались изменить владение рекурсивно?
chown-R www-data:www-data/opt/communique/dispatcher/cache/content/geometrixx