Rewrite .htaccess for OSX

3 years ago

bendenbroeder
Member | 1
+
+1
-

Just downloaded and created first simple application to review Nette framework. Two points worth mentioning in the documentation, specifically for OSX10.10:

  • (not specific to OSX) make sure the AllowOverride All is set for the project directory. Per default it may be set differently, specifically if combined with other development projects. This setting preferrably can be set in a file like /etc/apache2/other/<username>.conf which is automatically included in httpd.conf.
  • (specific to OSX) make sure the <project>/www/.htaccess file also set the RewriteBase /~<username>/<project>/www so that the rewriting will work correctly.

Hope this helps.