Apache server configuration on Ubuntu Linux

view full story

http://serverfault.com – I would like to know how to configure Apache to do the following: Configuration 1 When a user points their browser to http://localhost/ (and gets the contents of /var/www/index.html) the browser redirects to http://localhost/magento/ (and gets the contents of /var/www/magento/index.php) Configuration 2 When the user enters the URL http://localhost/magento/ the contents of the directory /var/www/magento/index.php are displayed but the URL changes to http://localhost/ Conversely when the user enteres http://localhost/ in their browser the URL does not change but the contents of /var/www/mag (HowTos)