GitHub user UAnton edited a comment on the discussion: Can't upload ISO or 
template

@weizhouapache 

`httpd.conf  https.conf  
root@s-114-VM:~# cat /etc/apache2/https.conf 
RewriteEngine On
RewriteCond %{HTTPS} =on
RewriteCond %{REQUEST_METHOD} =POST
RewriteRule ^/upload/(.*) http://127.0.0.1:8210/upload?uuid=$1 [P,L]
Header always set Access-Control-Allow-Origin "*"
Header always set Access-Control-Allow-Methods "POST, OPTIONS"
Header always set Access-Control-Allow-Headers "x-requested-with, content-type, 
origin, authorization, accept, client-security-token, x-signature, x-metadata, 
x-expires"`

GitHub link: 
https://github.com/apache/cloudstack/discussions/10277#discussioncomment-12189521

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to