Hosting Articles Technical Articles

Apache Extensions Issue While Access Webs

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:

Apache Extensions Issue While Access Website

– 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.

About the author

admin

Add Comment

Click here to post a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.