logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: phpmyadmin access issue
Author
daerogers



Joined: 22 Dec 2010
Posts: 3

PostPosted: Wed 22 Dec '10 17:38    Post subject: phpmyadmin access issue Reply with quote

First off Thanks to the lounge for helping me as far to get the server up and running. As you might have guessed Im new at this but so far very successful. Now that I have set up my vhosts file to point to each web domain I cannot access my phpmyadmin. This folder is in the root of the server with the domain name folders ie folder name is yourdomain.com.

I cannot seem to alter the vhost file to get access to the phpmyadmin. I wanted to leave it in root so no one else can access it and help is greatly appreciated.

many thanks
Back to top
daerogers



Joined: 22 Dec 2010
Posts: 3

PostPosted: Wed 22 Dec '10 18:28    Post subject: Reply with quote

think I might have sorted it but would like the input of the pros. Is it safe or do i leave it open to hackers.

Code:
###to access phpmyadmin via localhost
<VirtualHost *:80>
<Directory> to go with it
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/phpmyadmin">
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
</VirtualHost>
###end phpmyadmin access


thanks again
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Thu 23 Dec '10 2:25    Post subject: Reply with quote

with the order allow stuff noboby but you can access the phpmyadmin. So you only have to secure the hardware too Wink
Back to top
daerogers



Joined: 22 Dec 2010
Posts: 3

PostPosted: Thu 23 Dec '10 13:34    Post subject: Reply with quote

Thanks for the response. Im glad this site is here for people like me. Smile
Back to top


Reply to topic   Topic: phpmyadmin access issue View previous topic :: View next topic
Post new topic   Forum Index -> Apache