Ok so i have installed apache2 2.4 and i am having problems with porting my old wesites/configs across from old server (apache 2.2) to new one.
By default apache 2.4 default web dir is /var/www/html but this can/should be overriden via /etc/apache2/sites-enabled/000-default.conf file.
my 000-default.conf files:
<VirtualHost extern1:80> HostnameLookups Off DocumentRoot /var/www/ ErrorLog /var/log/apache2/error_log TransferLog /var/log/apache2/access_log <Directory "/var/www/"> allow from all AllowOverride all Options +Indexes </Directory> </VirtualHost>
inside my www folder there is
- html folder - index.php (with phpinfo());
However after setting this up, after apache reload, when i access my ip it still opens the default 'debian' webpage and NOT the
index.php file as per
Does any one know what else needs to be done ?