php - .htaccess not read on localhost xampp -
i have problem .htaccess file not being read apache. i'm using on local machine, port 81. i'm using windows 10.
i created .htaccess file in root directory of .php files. when enter rubbish inside .htaccess file nothing happens (website loads normally). i've checked many tutorials, threads , unable find viable solution.
what have done far:
- entered in .htaccess file check or 500 error (didn't work)
- checked httpd.conf file
allowoverride all
(for directory well) - re-installed xampp
this how settings in httpd.conf now:
# # allowoverride controls directives may placed in .htaccess files. # can "all", "none", or combination of keywords: # allowoverride fileinfo authconfig limit # allowoverride # # controls can stuff server. # <directory /> allowoverride # require denied </directory>
i've got no idea next. ideas?
is section in httpd.con this, or looking other file name?
# # accessfilename: name of file in each directory # additional configuration directives. see allowoverride # directive. # accessfilename .htaccess
Comments
Post a Comment