У меня есть сайт, назовем его test.com, и в нем есть список URL-адресов для обслуживания с использованием обратного прокси-сервера Apache (также proxypass и reverse). У меня есть другой набор URL на том же сервере Apache, указывающий на старые страницы сайта.
Ulr for Old site
proxypass /servlet/rfinder https://oldtest.com/servlet/rfinder
Url for NEW SITE
Proxypass / https://test.com/index
Issue is i tried to add the maintenance page to handle the downtime for my new site but it affects my old site traffic also.With the below mentioned config, accessing my new site as http://test.com throws apache error page not my maintenance page
ErrorDocument 503 /maintenance.html
RewriteCond %{REQUEST_URI}% !^/maintenance\.html$
RewriteRule ^/finder /servlet/rfinder [PT]
RewriteRule ^ - [R=503,L]
Any ideas to resolve the issue?Not having idea to exclude my old site url not blocked in the Apache Server.
С помощью конфигурации, доступ к моему новому сайту как http://test.com создает страницу ошибки apache, а не страницу обслуживания