I am trying with a simple RewriteRule in apache.
Apache is installed in /var/www/folder3
I have a web-app in folder3 and has files index.php, file2.php.
My requirement is not to show original php file.
That is if index.php is accessed, it should show index.po/index.html
If file2.php is accessed, it should show file2.po/file2.html
Inside the root directory, I have .htaccess file. and its contents are
RewriteEngine On
RewriteRule .* index.php [L]
And in the http.conf file, I have
<Directory /var/www/file2>
Order deny,allow
RewriteEngine On
</Directory>
Please help :wall: