I’m trying to use PHP under OpenSuse Linux and almost everything works excepting virtual hosts separation. Now I’m trying two configure just to hosts: one for my scripts and another one for phpMyAdmin for mySQL. After I’ve succeeded to use phpMyAdmin from a different directory everything seemed me to be OK, but later I’ve got a problem again. It was that now by default IP of Apache that is 0.0.0.0 I have phpMyAdmin instead of my script. It stayed the same even when I’ve commented the link to new virtual host this way
Include /etc/apache2/default-server.conf
#Include /etc/apache2/vhosts.d/phpmyadmin.conf
The file phpmyadmin.conf was created from vhosts.template.conf. It contains
<VirtualHost phpmyadmin:80>
ServerAdmin webmaster@phpmyadmin
ServerName phpmyadmin
phpmyadmin host was set using Yast as ::2. Also I’ve replaced the directory and the host name in all the file like with
DocumentRoot /srv/www/phpmyadmin
ErrorLog /var/log/apache2/phpmyadmin
CustomLog /var/log/apache2/phpmyadmin combined
After that I still can’t get access to the default Apache directory with my scripts even I’ve commented phpmyadmin.conf and restarted Apache. Tell me please how can I restore accessibility of the default Apache directory.