Results 1 to 6 of 6

Thread: Moving phpMyAdmin?

  1. #1
    Join Date
    Oct 2009
    Location
    Albuquerque, NM
    Posts
    263

    Question Moving phpMyAdmin?

    Hi,

    I'm moved my phpMyAdmin folder to another to remove it from being attacked via internet and only allow local access, but I seem to be missing an addition setting to successfully do this. I change the "/etc/apache2/conf.d/phpMyAdmin.conf" to reflect the new folder, restart apache and a reboot, but it keeps trying to access the original folder.

    What other file(s) do I need to make changes too?
    OpenSuse 12.1 (3.1.9-1.4) x64, 7.7GB RAM, GNOME 3.2.1
    Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz VT x 4
    NVIDIA GeForce 9500 GT 256/512 MB

  2. #2
    Join Date
    Oct 2009
    Location
    Albuquerque, NM
    Posts
    263

    Default Re: Moving phpMyAdmin?

    Well, I got it to work, but I have another question just to make sure no one from the internet can access phpMyAdmin. This is what I did:

    1) Move the folder to /to/my/folder/phpMyAdmin
    2) Changes to reflect new folder like <Directory /to/my/folder/phpMyAdmin>
    3) Added

    Alias /phpMyAdmin "/to/my/folder/phpMyAdmin"

    4) Added

    Order allow,deny
    Allow from 127.0.0.1 192.168.0.101


    How is this for keeping internet prowlers out?
    OpenSuse 12.1 (3.1.9-1.4) x64, 7.7GB RAM, GNOME 3.2.1
    Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz VT x 4
    NVIDIA GeForce 9500 GT 256/512 MB

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,520
    Blog Entries
    15

    Default Re: Moving phpMyAdmin?

    Quote Originally Posted by VcDeveloper1
    Well, I got it to work, but I have another question just to make sure no
    one from the internet can access phpMyAdmin. This is what I did:

    1) Move the folder to /to/my/folder/phpMyAdmin
    2) Changes to reflect new folder like <Directory
    /to/my/folder/phpMyAdmin>
    3) Added

    Alias /phpMyAdmin "/to/my/folder/phpMyAdmin"

    4) Added

    Order allow,deny
    Allow from 127.0.0.1 192.168.0.101


    How is this for keeping internet prowlers out?

    Hi
    Now you need to test from the internet side..... Having a remote shell
    account helps as well to run additional checks port scans etc.


    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.27-default
    up 23:16, 5 users, load average: 0.23, 0.08, 0.06
    CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU


  4. #4

    Default Re: Moving phpMyAdmin?

    malcolmlewis wrote:
    > VcDeveloper1 wrote:
    > How is this for keeping internet prowlers out?
    >
    > Now you need to test from the internet side..... Having a remote shell
    > account helps as well to run additional checks port scans etc.


    Your config looks OK to me. As Malcolm says, you also need to test it,
    in case we're all missing something! I'd also suggest that you don't
    rely entirely on the correct configuration of everything but add an
    external firewall as well. Normally a router can help with this.

  5. #5
    Join Date
    Oct 2009
    Location
    Albuquerque, NM
    Posts
    263

    Default Re: Moving phpMyAdmin?

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Now you need to test from the internet side..... Having a remote shell
    account helps as well to run additional checks port scans etc.
    Ok thanks!...
    OpenSuse 12.1 (3.1.9-1.4) x64, 7.7GB RAM, GNOME 3.2.1
    Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz VT x 4
    NVIDIA GeForce 9500 GT 256/512 MB

  6. #6
    Join Date
    Oct 2009
    Location
    Albuquerque, NM
    Posts
    263

    Default Re: Moving phpMyAdmin?

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Now you need to test from the internet side..... Having a remote shell
    account helps as well to run additional checks port scans etc.
    Ok thanks!...
    OpenSuse 12.1 (3.1.9-1.4) x64, 7.7GB RAM, GNOME 3.2.1
    Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz VT x 4
    NVIDIA GeForce 9500 GT 256/512 MB

Posting Permissions

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