Page 1 of 1

Phpmyadmin nur für Localhost..

PostPosted: 04. May 2006 08:46
by Mr.Pink
Hallo.
Was muss ich machen um Phphmyadmin nur über Localhost verfügbar zu machen?
Thx

PostPosted: 04. May 2006 10:06
by Wiedmann
In einer deiner Apache-Configdateien wird ein Alias für phpMyAdmin definiert. Ändere dort das "Allow from all" in "Allow from localhost".

PostPosted: 04. May 2006 12:55
by Mr.Pink
Code: Select all
<Directory "F:/Program Files/xampp/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>


Code: Select all
<Directory "F:/Program Files/xampp/htdocs">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks Includes ExecCGI
    AddType text/shtml .shtml
    AddOutputFilter INCLUDES .shtml

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride All

    #
    # Controls who can get stuff from this server.
    #
    Order allow,deny
    Allow from all


Mehr hab ich leider net.. :(

PostPosted: 04. May 2006 13:04
by Wiedmann
Mehr hab ich leider net..

Wieviel Config-Dateien für den Apache hast du?

BTW: kommt in den geposteten Zeilen irgendwo das Wort "Alias" und "phpmyadmin" vor?

(Lass dir doch einfach mal mit einer Dateisuche die Dateien anzeigen, die das Wort "phpmyadmin" enthalten.)

PostPosted: 04. May 2006 13:41
by Mr.Pink
Auf die Idee kam ich auch schon..
Ich hab leider nix mit phpmyadmin in der httpd conf.
Und unter alias find ich nix passendes.

PostPosted: 04. May 2006 14:59
by Wiedmann
Ich hab leider nix mit phpmyadmin in der httpd conf.

Wird beim XAMPP (je nach Version) auch nciht in der "httpd.conf" gemacht.

--> deshalb ja die Fragem wieviel Configdateien du hast
--> und eine Dateisuche über Dateien und nicht eine Suche in einer Datei.

PostPosted: 06. May 2006 16:35
by Mr.Pink
Alles abgesucht. Ich finde da nix. Ich nutze xampp 1.5.2

PostPosted: 06. May 2006 17:00
by deepsurfer
Sorry PINK, wenn du wirklich "alles" abgesucht hättest so wärst du auf

\xampp\apache\conf\extra\ httpd-xampp.conf gestossen darin wird der ALIAS für phpmyadmin definirt.

DoppelSorry, aber dann kannst du anscheinen nicht mit einem Computer umgehen.....


Code: Select all
 Alias /phpmyadmin "/xampp/phpMyAdmin/"
    <Directory "/xampp/phpMyAdmin">
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>

und dort den "Allow from all" in "All from localhost" umstellen.

PostPosted: 08. May 2006 07:35
by Mr.Pink
Thx :)

Ich Dumpfbacke :(