This option will reset the home page of this site. Restoring any closed widgets or categories.

Reset

Fix the problem in getting 500 Internal Server Error In Localhost Due To .htaccess

Hi guys here is a simple tip to fix a usual issue that arises on our localhost test servers when .htaccess is added.Its very simple just do the steps that i specify below.

  1. Check your apache httpd.config file first
  2. Open the httpd.conf, dont forget to take a backup of this file before editing it.
  3. Find this entry i specified in the next step
  4. module rewrite_module modules/mod_rewrite.so
  5. It will be commented using #
  6. Take away that # symbol and it will look like
  7. LoadModule rewrite_module modules/mod_rewrite.so
  8. Then find <Directory “C:/xampp1/htdocs”> entry in the httpd.conf file, Make sure that the path in quotes is your web server root path, the above shown path is my root path and it may vary accordingly.You will find this entry just below this line
    #
    # This should be changed to whatever you set DocumentRoot to.
    #
  9. Add this line also AllowOverride All before the closing tag </Directory>
  10. Some times this will be added by default and no need to add it once again.Make a note of this point also.

Thats it you are done.Restart your Apache webserver and try the URL and it will load fine.

VN:F [1.5.7_846]
Rating: 0.0/10 (0 votes cast)
VN:F [1.5.7_846]
Rating: 0 (from 0 votes)

Related posts:

  1. How to run CGI or Perl Scripts in IBM Http Server [IHS] or Apache Servers
  2. Adding Handlers Directly In httpd.conf Of Apache
  3. Fix 500 Internal Server Error In WordPress
  4. Custom Error Pages Using .htaccess
  5. Find Absolute Path Of A File Or Directory Using PHP
  6. How to install XAMPP
  7. Disable the TRACE and TRACK For More Security

Leave a Reply

Comments (required)

Spam Protected