TurnKey Linux Virtual Appliance Library

Webmin and phpmyadmin on port 80?

Is it possible to run both webmin and phpmyadmin on port 80? Possibly in a folder /var/www/webmin or /var/www/phpmyadmin?

Thanks in Advance!

Joe

Alon Swartz's picture

yes, but...

Regarding phpmyadmin, you will have to update its apache configuration (/etc/phpmyadmin/apache.conf) to something similar to include the following lines, and update the VirtualHost setting to *:443
NameVirtualHost *:443
Alias /phpmyadmin /usr/share/phpmyadmin
The default phpmyadmin configuration in TurnKey appliances force https, hence the above configuration listens on port 443 instead of 80.

If however you wish to change this, set it to FALSE in /etc/phpmyadmin/config.inc.php
$cfg['ForceSSL'] = FALSE;

Regarding webmin, just follow the steps described in http://www.webmin.com/apache.html

Good luck!

not working...

I have changed the settings to redirect for port 443, and when I browse to the directory, it replies that it doesn't exist. Thanks

Partially Fixed

I got phpmyadmin to work, however, I am having the toughest time implementing the directions on http://www.webmin.com/apache.html No success... Any other pointers? or tutorials specific to the setup of "Turnkey LAMP" Thanks Again! Joe
Alon Swartz's picture

try using the proxy configuration

If your having trouble configuring Webmin to run solely with Apache, you could give the Webmin In A Sub-Directory Via A Proxy a try - explained in the same link above but simpler to configure.

Just take note to change the port 10000 described in the documentation to 12321 (the default webmin port used on TurnKey appliances.

Let us know how it goes.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)