I've recently deployed a web application to my Linux Redhat server using Capistrano which creates the following directory structure in the site's document root:
In order to load the current directory on page load, I changed my httpd.conf so that example.com's DirectoryRoot was set to
/var/www/html/example.com/current. The problem is that I want certain directories to be available for browsing which are outside the 'current' directory (phpMyAdmin and Bugzilla). I've tried
touching a .htaccess file to
/var/www/html/example.com but nothing is created...
What do I need to do in order to access directories which are located outside my DocumentRoot? Should I change the DocumentRoot and use .htaccess to forward the web browser to my current directory, or is there a better approach?
Also, as an unimportant side issue: is it wise to use a specific port for certain services? When I used cPanel, they used :2082 and WHM used :2086. Could I do a similar thing on my server to make the services (phpMyAdmin and Bugzilla) a little more hidden?