Results 1 to 2 of 2

Thread: Apache virtual host configuration

  1. #1
    Join Date
    Aug 2009
    St-Petersburg, Russia

    Question Apache virtual host configuration

    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 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.

  2. #2
    Join Date
    Nov 2010
    Ελλάδα(Αθήνα)-Россия (г. Красноярск)

    Default Απ: Apache virtual host configuration

    Πάντα Φιλικά, Στάμος.
    Desktop: openSUSE Leap 15.3||x86_64||Gnome 3.14 & KDE 5||AMD Ryzen 7 8 core||Nvidia GTX 1080 Ti Gaming Edition
    Γλώσσες Προγραμματισμού: C++, Qt developing.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts