Почему не работает ProxyRequests?
Не могу настроить редирект с test.ru:3000 на test.ru.
<VirtualHost 127.0.0.2:80>
ServerSignature On
ServerName test.ru
ServerAlias test.ru www.test.ru
AddDefaultCharset utf-8
Header set Access-Control-Allow-Origin "*"
ProxyRequests On
ProxyVia On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://127.0.0.1:3000/
ProxyPassReverse / http://127.0.0.1:3000/
CustomLog /var/log/apache2/user-logs/test.ru/access.log combined
LogLevel warn
SuexecUserGroup kontora kontora
DocumentRoot "/home/test/test.ru/www/build/"
<Directory "/home/test/test.ru/www/build/">
Options FollowSymLinks IncludesNOEXEC
AllowOverride AuthConfig Limit FileInfo Indexes Options=FollowSymLinks,IncludesNOEXEC,Indexes,MultiViews
Require all granted
<FilesMatch "\.(pl|cgi)$">
AddType application/x-httpd-perl .pl .cgi
Action application/x-httpd-perl "/cgi-wrapper/perl"
</FilesMatch>
</Directory>
ScriptAlias /cgi-bin/ "/home/test/test.ru/cgi-bin/"
<Directory "/home/test/test.ru/cgi-bin/">
Options FollowSymLinks IncludesNOEXEC
AllowOverride AuthConfig Limit FileInfo Indexes Options=FollowSymLinks,IncludesNOEXEC,Indexes,MultiViews
Require all granted
</Directory>
ScriptAlias /cgi-wrapper/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Require all granted
</Directory>
<FilesMatch "\.(php|php5|php4|php3|phtml)$">
AddType application/x-httpd-php .php
Action application/x-httpd-php "/cgi-wrapper/php"
</FilesMatch>
<Location /cgi-wrapper/php>
Require all granted
</Location>
<Location /cgi-wrapper/php>
SetHandler fcgid-script
</Location>
</VirtualHost>
В чем ошибка может быть? Сайта на test.ru не открывается в итоге