Results 1 to 2 of 2

Thread: Apache virtual host configuration

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

    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 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
    Code:
    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
    Code:
    <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
    Code:
        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
    Location
    Ελλάδα(Αθήνα)-Россия (г. Красноярск)
    Posts
    3,068

    Default Απ: Apache virtual host configuration

    Πάντα Φιλικά, Στάμος.
    Desktop: openSUSE 12,3||x86_64||KDE 4.10.5||AMD PHENOM II X3||AMD RADEON 6990.
    Γλώσσες Προγραμματισμού: C++, Qt developing.
    http://bit.ly/fT8Hfi

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
  •