Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread: CentOS2Alma discussion
1. Disable url cache in your browser. For Firefox: go to about:config and switch off 'network.http.use-cache' option.
2. Create domain with web hosting and enable php support with php-fpm module on apache.
3. add .htaccess on domain with the follow strings:
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)\.php$ http://google.com [L,R=301]
4. Create some index.php on domain. E.g. with phpinfo();
5. try to open web page http://<youdomain>/index.php
Actual result - this rule doesn't work.
The problem was in fact that ProxyPassMatch directive redirects all REQUEST_URI before the .htaccess rules was used.