Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd January 2007, 15:14
tijn_tux tijn_tux is offline
Member
 
Join Date: Aug 2006
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default Securing phpmyadmin and phppgadmin

Hi all,

If i go to https://mydomain.nl:81/phpmyadmin i get phpmyadmin.. but i want to secure this with a .htaccess ive searched for it, but cant find it..

Same for phppgadmin

Where do i put the .htaccess files?

thnx tijn
Reply With Quote
Sponsored Links
  #2  
Old 2nd January 2007, 15:28
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

phpmyadmin is installed in
Code:
/home/admispconfig/ispconfig/web/phpmyadmin
You can put your .htaccess in there. Beware, this is used for every site on your server, so you should allow acces to all required users.
Reply With Quote
  #3  
Old 2nd January 2007, 15:39
tijn_tux tijn_tux is offline
Member
 
Join Date: Aug 2006
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Strange, that doenst work...

ive put the .htaccess file in about every map named phpmyadmin or phppgadmin but it doenst work..


ps. dutchie
Reply With Quote
  #4  
Old 2nd January 2007, 15:49
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

Can you post the relevant parts of httpd.conf? Does .htaccess work for other sites?
Reply With Quote
  #5  
Old 2nd January 2007, 21:51
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
 
Default

Have also a look here and read what Till says about how to handle .htaccess files: http://www.howtoforge.com/forums/sho...=AllowOverride

Check also the variable for: AllowOverride for that website.

You also can use my phpMyAdmin package at http://www.ispconfig.org/downloads.htm which you can install via the ISPConfig update manager. In that case it will be installed into: /home/admispconfig/ispconfig/web/phpmyadmin (as martinfst mentioned).
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005

Last edited by Hans; 2nd January 2007 at 22:13.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.