1) An easy approach to have your application in the root URL is to uncomment the following lines in your application configuration file /installdir/apps/your_application/conf/httpd-app.conf (previous version is your_application.conf). This approach only changes the initial page of your application, not the internal urls, all the links point to "http://example.com/your_application". If you do not see these lines you can add them at the end of the file. Note that "your_application" could be wordpress, joomla, drupal, etc.
RewriteEngine On