I have a problem that has caused me several headaches, and I hope someone has a light that they can share.
Earlier, I ran OS X Mountain Lion without any fine structure problems. Since upgrading to OS X Mountain Lion, I have had nothing but trouble as it overwrites your httpd.conf and other settings. One of them seems to be htaccess. I have a vhosts installation, and some previously working using slim are now broken into any URL except /.
So, my htaccess file has not changed since the update, so I wonder what the problem is. I use htaccess by default, as indicated in the slim framework download, I even tried a custom one, but to no avail.
A visit /creates the desired page. Visiting another URL does this:
Not Found
The requested URL /myurl was not found on this server.
Are there any clues?
mod_rewrite is enabled, and this is my installation for vhost:
<Directory "/Users/chris/Sites/slimphp/">
Allow From All
AllowOverride All
</Directory>
<VirtualHost *:80>
ServerName "slim.php"
DocumentRoot "/Users/chris/Sites/slimphp"
</VirtualHost>
source
share