Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Mythbuntu phpmyadmin change port

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


mitchell.gore at gmail

Nov 17, 2009, 7:58 AM

Post #1 of 3 (554 views)
Permalink
Mythbuntu phpmyadmin change port

Hi,

I am running mythbuntu.

I have mythweb installed with a password and I just installed phpmyadmin.
Ubuntu installs this on port 80 along with mythweb. I can view it by just
adding phpmyadmin to the URL.

To increase security I would like to change the port number of phpmyadmin to
81. This way I can still allow port 80 in from internet but have no chance
of them hitting phpmyadmin.

My googles were saying to add a virtual host but things are not matching
up. I was following this:
http://www.tequilafish.com/2007/08/02/apache-virtualhost-on-ubuntu/

mitchell [at] mytht:/var/www-81$ cat /etc/apache2/sites-available/phpmyadmin
<VirtualHost 192.168.0.254:81>
ServerName phpmyadmin
DocumentRoot /var/www-81
</VirtualHost>

But cant telnet to port 81. Does mythbuntu have the firewall enabled? How
do i move phpmyadmin into /var/www-81? It doesnt have a folder in /var/www.

What am i missing?

Thanks,

--
Mitchell


goofdad at gmail

Nov 17, 2009, 8:58 AM

Post #2 of 3 (506 views)
Permalink
Re: Mythbuntu phpmyadmin change port [In reply to]

On Tue, Nov 17, 2009 at 7:58 AM, Mitch Gore <mitchell.gore [at] gmail> wrote:
> Hi,
>
> I am running mythbuntu.
>
> I have mythweb installed with a password and I just installed phpmyadmin.
> Ubuntu installs this on port 80 along with mythweb.  I can view it by just
> adding phpmyadmin to the URL.
>
> To increase security I would like to change the port number of phpmyadmin to
> 81.  This way I can still allow port 80 in from internet but have no chance
> of them hitting phpmyadmin.
>
> My googles were saying to add a virtual host but things are not matching
> up.  I was following
> this:http://www.tequilafish.com/2007/08/02/apache-virtualhost-on-ubuntu/
>
> mitchell [at] mytht:/var/www-81$ cat /etc/apache2/sites-available/phpmyadmin
> <VirtualHost 192.168.0.254:81>
>   ServerName phpmyadmin
>   DocumentRoot /var/www-81
> </VirtualHost>
>
> But cant telnet to port 81.  Does mythbuntu have the firewall enabled?  How
> do i move phpmyadmin into /var/www-81?  It doesnt have a folder in /var/www.
>
> What am i missing?
>
> Thanks,
>
> --
> Mitchell
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

I think the tutorial is a bit out of date. I know on my ubuntu
server, I have to add the file to /etc/apache2/sites-enabled/, not
sites-available. Typically, this is done by creating
sites-available/XXX, then linking sites-enabled/XXX to
sites-available/XXX. I think the theory here is that this makes it
easier to disable a site if necessary without losing the config for
that site.

Of course, after linking, you'll have to restart apache again!

HTH
--
Doug
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


ryan.goat at gmail

Nov 17, 2009, 10:48 AM

Post #3 of 3 (495 views)
Permalink
Re: Mythbuntu phpmyadmin change port [In reply to]

On Tue, Nov 17, 2009 at 10:58 AM, Mitch Gore <mitchell.gore [at] gmail> wrote:
> Hi,
> I just installed phpmyadmin.
> To increase security I would like to change the port number of phpmyadmin to
> 81.
>
> What am i missing?
>
> Thanks,
>
> Mitchell

Mitchell,

This list is for discussions about mythtv. Your question has nothing
to do with mythtv.
--
_____________
Ryan Patterson
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.