Apache Extensions Issue While Access Website
Description:
While access the website it is giving me 404 not found error.If i type domain.com not working ,domain.com/index.php website is working fine.Seems i need to some settings in .htaccess file.
this is my htaccess file is
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine on
Solution:
– Log in the server with Root log in details.
– Check the .htaccess file once.
– Now go to the below path
cd /etc/httpd/conf/httpd.conf
– find the .htaccess override option.
– config file looking like below ,
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be “All”, “None”, or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All
– Now restart the httpd services.
service httpd restart.
Tags:http.php.html,extension,httpd rewrite,mod write.
Add Comment