Hi All,
What is the best way to change the redirect type of the RewriteRule
directive inside /opt/rh/httpd24/root/etc/httpd/conf.d/ood-portal.conf
?
Example:
<VirtualHost *:80> RewriteEngine On RewriteRule ^(.*) https://ood-server:443$1 [R=301,NE,L] </VirtualHost> [...] <VirtualHost *:443> [...] RewriteRule ^(.*) https://ood-server:443$1 [*R=301*,NE,L] [...] </VirtualHost>
to
<VirtualHost *:80> RewriteEngine On RewriteRule ^(.*) https://ood-server:443$1 [R=307,NE,L] </VirtualHost> [...] <VirtualHost *:443> [...] RewriteRule ^(.*) https://ood-server:443$1 [*R=307*,NE,L] [...] </VirtualHost>
Is there a template that gets read by the /opt/ood/ood-portal-generator/sbin/update_ood_portal
script? Or is there a way to specify the redirect type inside /etc/ood/config/ood_portal.yml
?
Thanks