0

My htaccess is not working on fedora

I made all AllowOverrides to be All.

I restarted the httpd.service

A site suggesting putting junk into the .htaccess file. I added it, nothing happened, suggessting htaccess isn't being read.

I'm not sure what I'm doing wrong

1 Answers1

3

You may have made a typo in your question but the extremely insecure syntax is AllowOverride All not the plural you used.

The thing is, if you have access to the main Apache configuration you're better off including your configuration in the main httpd.conf instead of relying on .htaccess files, according to the manual

HBruijn
  • 72,524
  • 21
  • 127
  • 192
  • Up for suggesting to avoid .htaccess. But if he made a configuration typo, apache would restart... – melsayed Jul 10 '14 at 00:13
  • I meant I changed all AllowOverride None to AllowOverride All. Adding the rules to /etc/httpd/conf/httpd.conf did nothing – Mark Hatley Jul 10 '14 at 00:39