[BlueOnyx:27027] Re: 5209R to 5210R, 2 things noticed
Tomohiro Hosaka
bokutin at gmail.com
Mon Jun 10 00:42:01 -05 2024
Hi
I found out one more thing.
2024-05-30 03:54 に Tomohiro Hosaka via Blueonyx さんは書きました:
> Hello.
>
> I have started the upgrade from 5209R to 5210R using easy-migrate.pl.
>
> It works almost fine and looks great!
>
> I noticed two things.
>
> First thing.
> Immediately after bringing up a suspended Vsite, I can access it from
> my browser.
> If I turn suspend off and on from the admin screen, I can't access it.
> It seems that the hook is not triggered after easy-migrate.pl.
diff conf/vhosts/siteXX.just_after_importing
conf/vhosts/siteXX.after_suspend_off_on
--- conf/vhosts/siteXX.just_after_importing 2024-06-10 13:12:09.962243377 +0900
+++ conf/vhosts/siteXX.after_suspend_off_on 2024-06-10 14:30:05.844189275 +0900
@@ -21,6 +21,15 @@
ErrorDocument 404 /error/404-file-not-found.html
ErrorDocument 500 /error/500-internal-server-error.html
RewriteEngine on
+# BEGIN VHOST SUSPEND RULES
+RewriteCond %{REQUEST_URI} /error/.*
+RewriteRule .* - [L]
+RewriteCond %{REQUEST_URI} /libImage/.*
+RewriteRule .* - [L]
+RewriteCond %{HTTP_HOST} ^123.123.123.123(:80)?$ [OR]
+RewriteCond %{HTTP_HOST} ^host.domain.tld(:80)?$ [NC]
+RewriteRule .* - [L,F]
+# END VHOST SUSPEND RULES
RewriteCond %{HTTP_HOST} !^123.123.123.123(:80)?$
RewriteCond %{HTTP_HOST} !^host.domain.tld(:80)?$ [NC]
Perhaps for some reason /usr/sausalito/handlers/base/vsite/suspend.pl
has not been called.
/usr/sausalito/conf/base/vsite/vsite.conf
53-Vsite.fqdn perl:base/vsite/preview_site.pl
54-Vsite.site_preview perl:base/vsite/preview_site.pl
55:Vsite.suspend perl:base/vsite/suspend.pl
56-
57-# handle keeping all site admin capabilities in sync with what
Sorry for the report only.
Thanks
More information about the Blueonyx
mailing list