Clint's picture

Ok, so I was working on adding some new virtual host in the Apache module through Webmin. When inadvertantly I deleted the phpmyadmin from the list.

Could someone please post the virtual host config for phpmyadmin? I am using this on the LAMP appliance.

 

Thanks

Forum: 
Alon Swartz's picture

I hope this helps...
 
 
/etc/phpmyadmin/apache.conf

<VirtualHost *:12322>
    SSLEngine on
    SSLCertificateFile /etc/ssl/certs/cert.pem
    ServerAdmin webmaster@localhost
    DocumentRoot /usr/share/phpmyadmin/
</VirtualHost>

<Directory /usr/share/phpmyadmin>
    Options Indexes FollowSymLinks
    DirectoryIndex index.php

    <Files setup.php>
        Deny from all
    </Files>

    <IfModule mod_php5.c>
        AddType application/x-httpd-php .php
        php_flag magic_quotes_gpc Off
        php_flag track_vars On
        php_flag register_globals Off
        php_value include_path .
    </IfModule>
</Directory>


Clint's picture

Thank you, that did it.

Add new comment