Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

can't enable htaccess

I'm trying to get htaccess working on my Mac OS Server (10.12.6) I have enabled "allowed overrides using .htaccess…" in the advanced pane under web server. I have manually edited the http.conf (and kind of every .conf file in /Library/Server/Web/Config/apache2). What I'm adding is kind of


AllowOverrides All

Order Allow, Deny


under my server directory. But as soon as I add anything to my .htaccess-file I get an error in the error_log telling:


"…<IfModule not allowed here…"

If I remove the <IfModule line it will complain about the next line instead like

RewriteCondition not allowed etc.


So it is reading my htaccess-file but I can't put anything in it!


Any suggestions?

Posted on Nov 15, 2017 7:23 AM

Reply

There are no replies.

can't enable htaccess

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.