Phpmyadmin nur für Localhost..

Und alles was mit phpMyAdmin seine Verwandtschaft findet hat hier seinen Platz.

Phpmyadmin nur für Localhost..

Postby Mr.Pink » 04. May 2006 08:46

Hallo.
Was muss ich machen um Phphmyadmin nur über Localhost verfügbar zu machen?
Thx
Mr.Pink
 
Posts: 31
Joined: 13. August 2005 09:38

Postby Wiedmann » 04. May 2006 10:06

In einer deiner Apache-Configdateien wird ein Alias für phpMyAdmin definiert. Ändere dort das "Allow from all" in "Allow from localhost".
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Mr.Pink » 04. May 2006 12:55

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.. :(
Mr.Pink
 
Posts: 31
Joined: 13. August 2005 09:38

Postby Wiedmann » 04. May 2006 13:04

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.)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Mr.Pink » 04. May 2006 13:41

Auf die Idee kam ich auch schon..
Ich hab leider nix mit phpmyadmin in der httpd conf.
Und unter alias find ich nix passendes.
Mr.Pink
 
Posts: 31
Joined: 13. August 2005 09:38

Postby Wiedmann » 04. May 2006 14:59

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.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Mr.Pink » 06. May 2006 16:35

Alles abgesucht. Ich finde da nix. Ich nutze xampp 1.5.2
Mr.Pink
 
Posts: 31
Joined: 13. August 2005 09:38

Postby deepsurfer » 06. May 2006 17:00

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.
chirio Deep
Wie sagte einst der MCP aus Tron auf dem Bildschirm zu schreiben Pflegte
" ... end of communication ... "
User avatar
deepsurfer
AF Moderator
 
Posts: 6440
Joined: 23. November 2004 10:44
Location: Cologne
Operating System: Win-XP / Win7 / Linux -Debian

Postby Mr.Pink » 08. May 2006 07:35

Thx :)

Ich Dumpfbacke :(
Mr.Pink
 
Posts: 31
Joined: 13. August 2005 09:38


Return to phpMyAdmin

Who is online

Users browsing this forum: No registered users and 11 guests