I recently setup a new server that runs Tomcat. I love the application that Tomcat is doing for me.
I wanted this server to be a web server as well, serving up Joomla and PHP stuff. Yet, I can't figure out where Apache's DOCUMENT_ROOT is anymore, or if it even has one (it's now where httpd.conf is telling me where it is!)
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on.
#1. It's a file and its filename is .htaccess (yes, with a dot in the front).