refs #4922 Apache rewrite fixes
This commit is contained in:
parent
bc97cd4a0a
commit
b05aaa36ba
|
@ -12,15 +12,9 @@
|
||||||
DocumentRoot /usr/share/hedera-web/spa
|
DocumentRoot /usr/share/hedera-web/spa
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
|
||||||
RewriteCond %{QUERY_STRING} (^|&)srv=([^&]+) [OR]
|
RewriteCond %{QUERY_STRING} (^|&)srv=([^&]+) [OR]
|
||||||
|
|
||||||
RewriteCond %{REQUEST_METHOD} POST
|
RewriteCond %{REQUEST_METHOD} POST
|
||||||
RewriteCond %{CONTENT_TYPE} application/x-www-form-urlencoded
|
RewriteRule ^/$ /usr/share/hedera-web/back/index.php [L]
|
||||||
RewriteCond %{HTTP:Content-Length} >0
|
|
||||||
RewriteCond %{LA-U:REQUEST_BODY} srv= [NC]
|
|
||||||
|
|
||||||
RewriteRule ^/?$ /usr/share/hedera-web/back/index.php [L]
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
<Directory /usr/share/hedera-web/back>
|
<Directory /usr/share/hedera-web/back>
|
||||||
|
|
Loading…
Reference in New Issue