I cannot get the .htaccess file in my htdocs folder. Google only keeps showing me tutorials on removing the # from 'LoadModule rewrite_module modules/mod_rewrite.so' inside httpd.conf and when I went to do this, the # was already removed. Then find AccessFileName inside httpd.conf, which I could not find. Well it didn't auto generate a .htaccess file (assuming it's suppose to). So I made my own .htaccess.txt file. Then I put this* in there, hoping to remove html from my urls (it's from a tutorial remoivng php, I was hoping it had the same concept) but it didn't work.
Can anybody help me?
*This is what I put:
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^.]+)$ $1.html [NC,L]