|
Yes, the .htaccess was left in the directory I copied it from. I’ve now moved it into the root directory on the server. Rookie mistake. Sorry.
However, the rewrites are still not working correctly. I verified that mod_rewrite is enabled. I’ve also been playing with the RewriteBase command in the .htaccess, but it is giving me “page not found” on any seo friendly URLs.
My web directory on my Mac is at:
/Applications/MAMP/htdocs/mysite
I’ve set up my hosts file and apache to point dev.mysite.com to that directory.
For the RewriteBase comand I’ve tried:
RewriteBase / # shows page not found for seo urls
RewriteBase /mysite/ # shows internal server error
RewriteBase /Applications/MAMP/htdocs/mysite/ # shows internal server error
Does anyone have any ideas for me?
|