Archives

July 2016
December 2015
December 2013
April 2013
January 2013
December 2011
November 2011
September 2011
December 2010
November 2010
March 2010
February 2010
January 2010



How to enable .htaccess? 2-2-2010

By the default apache disable .htaccess files from getting its effect on the directories and the subdirectories, and to enable this function you have to go into the following steps:



1- Locate the file httpd.conf in your apache folder, and open it using any text editor such as notepad or something else.

2- Search for the line ";LoadModule rewrite_module modules/mod_rewrite.so" and remove the ";" semicolon from the beginning of the line.

3- Search for the phrase "AllowOverride None" and replace it with "AllowOverride All" in the same file.

4- Save the changes and restart your apache using your Apache Service Monitor.



In this case and if you put your .htaccess file in the directory, then it would affect the directory listing, redirect and all the .htaccess configurations.



Regards,

Wail Shalabi.


 

Leave your comment
* Name:
* Email:
* Subject:
* Comment:
* Confirm: Please write the code above
 

Contacts

Mob: +4915753779176
E-Mail: wail(at)wailshalabi.com
Web: www.wailshalabi.com

Feed back form

 
Tags

PROJECT WEBSITE ABILITY LIKE SEARCH NIZAR VALUE QABBANI USERNAME NAME RESULTS USING WHERE ONE MYSQL TEXT APPLICATION NEW FOLLOWING DATA POST CODE TITLE EXAMPLE KNOW SEE SERVER KASS TIME WORDS COM OUT TYPE PRINT FILE HEAD VIDEOS NOT HOPE INTERNET WOULD TAG EMAIL ANY FRIENDS FORM AFTER PROGRAM GOING WHILE WORLD MORE SAME HTTP LAST ASP WILL PASSWORD CLIPS WRITE DEAR AGAIN MOBILE FINALLY NUMBER EVERY SENT COOKIES CSS PUT OPEN WORD SEND BACK WWW THEM SCRIPT TELL NOW PHRASE INPUT DATABASE CONNECT GOOGLE FTP TOP VARIABLE QUIZ SHOOF JSP