Page opens with and without the file extension
Hi friends,
Under my reseller account all user accounts are facing one strange problem.we are able to access any php or html page with and without the file extensions (that is: i can access my file contactus.php via example.com/contactus.php and example.com/contactus urls. And i think that the default behaviour is if u go to example.com/contactus.php it will show the page content and if you go to example.com/contactus it will go to 404 error page.
my host said that this is a normal behaviour and no need to worry. but i doubt about it .i think some configuration in cpanel caused the problem. Any help is appreciated.
cPanel Version 11.52.0 (build 24)
Apache Version 2.4.10
PHP Version 5.3.27
MySQL Version 5.5.46-MariaDB
Architecture x86_64
Operating System linux
Path to sendmail /usr/sbin/sendmail
Path to Perl /usr/bin/perl
Perl Version 5.8.8
Kernel Version 2.6.32-042stab108.5
cPanel Pro 1.0 (RC1)
-
Hello :) Are any Mod_Rewrite rules enabled in any of the .htaccess files under this account? Thank you. 0 -
Thanks for your reply. Found solution. Actually its because of MultiViews. Thanks once again. 0 -
I am happy to see the issue is now resolved. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
3 comments