refs #4922 Apache rewrite fixes

This commit is contained in:
Juan Ferrer 2024-11-26 12:43:11 +01:00
parent bc97cd4a0a
commit b05aaa36ba
1 changed files with 1 additions and 7 deletions

View File

@ -12,15 +12,9 @@
DocumentRoot /usr/share/hedera-web/spa
RewriteEngine On
RewriteCond %{QUERY_STRING} (^|&)srv=([^&]+) [OR]
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{CONTENT_TYPE} application/x-www-form-urlencoded
RewriteCond %{HTTP:Content-Length} >0
RewriteCond %{LA-U:REQUEST_BODY} srv= [NC]
RewriteRule ^/?$ /usr/share/hedera-web/back/index.php [L]
RewriteRule ^/$ /usr/share/hedera-web/back/index.php [L]
</VirtualHost>
<Directory /usr/share/hedera-web/back>