ImagesGuru
Chevereto Member
🎯Description of the issue
I have a white page, using subdomain wildcards.
For exemple : https://es.images.guru
▶🚶Reproduction steps
ServerSignature Off
<ifModule mod_headers.c>
Header set Access-Control-Allow-Origin: *
</ifModule>
# Enable CORS across all your subdomains (replace dev\.local with your domain\.com)
SetEnvIf Origin ^(https?://.+\.images\.guru(?::\d{1,5})?)$ CORS_ALLOW_ORIGIN=$1
Header append Access-Control-Allow-Origin %{CORS_ALLOW_ORIGIN}e env=CORS_ALLOW_ORIGIN
Header merge Vary "Origin"
😢Unexpected result
White page !
Thanks for help
I have a white page, using subdomain wildcards.
For exemple : https://es.images.guru
▶🚶Reproduction steps
- I have created a .es subdomain in my cpanel account
- I have activated ssl certificate for this .es subdomain
- I have edited the .htaccess file :
ServerSignature Off
<ifModule mod_headers.c>
Header set Access-Control-Allow-Origin: *
</ifModule>
# Enable CORS across all your subdomains (replace dev\.local with your domain\.com)
SetEnvIf Origin ^(https?://.+\.images\.guru(?::\d{1,5})?)$ CORS_ALLOW_ORIGIN=$1
Header append Access-Control-Allow-Origin %{CORS_ALLOW_ORIGIN}e env=CORS_ALLOW_ORIGIN
Header merge Vary "Origin"
😢Unexpected result
White page !
Thanks for help