If you've ever set up .htaccess files and virtual hosts on a
steps did you follow?
I'm using the preconfigured packaged MAMP (Apache, PHP and
installing it, I set up my virtual hosts and copied some
my PC to my Mac, only to discover that my .htaccess files
functioning. I thought it might have to do with the fact that
.htaccess files were created with Notepad.
2) Change "AllowOverride None" to "AllowOverride All" in both
httpd.conf and /private/etc/httpd/users/MyName.conf files.
3) Restart Apache.
I did all the above - and it killed all my virtual hosts. I'm
preconfigured package called MAMP. After undoing the changes,
restarted my servers with the MAMP icon, but nothing
happened. So I went
into Apple's System Preferences > Web Sharing, and
restarted it. That
restored my virtual hosts.
That made me wonder if the Apache server that came
pre-installed with my
MacBook Pro is still running. In fact, I wonder if my
websites have been
feeding off the original Apache rather than MAMP's Apache. If
so, how do
I shut it off, without affecting my MAMP programs? What else
do I need
to do to make my .htaccess files work on a Mac? Should I
.htaccess files in a native Mac text editor?
www.geobop.org - Family Websites
www.invisible-republic.org - Adult political websites (Mature