rewrite htaccess file

{Step One}

open : /usr/local/....../apache2/conf/httpd.conf

#
# This should be changed to whatever you set DocumentRoot to.
#

......

    #
    # 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

......

{Step Two}

Change AllowOverride None -> AllowOverride All

{Step Three}

apache restart ......Done.