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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 13th October 2008, 02:14
hhhhhh hhhhhh is offline
Member
 
Join Date: Sep 2008
Posts: 36
Thanks: 10
Thanked 0 Times in 0 Posts
Default

Hello falko!

Thank you for your reply.

The display info was:

Code:
total 8
drwxr-xr-x  2 root root 4096 2008-10-07 17:10 .
drwxr-xr-x 14 root root 4096 2008-10-10 23:32 ..
Thank you for your support with me falko
Reply With Quote
Sponsored Links
  #12  
Old 13th October 2008, 12:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

But there's nothing in the directory - no .htaccess, no phpMyAdmin, etc.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #13  
Old 13th October 2008, 13:28
hhhhhh hhhhhh is offline
Member
 
Join Date: Sep 2008
Posts: 36
Thanks: 10
Thanked 0 Times in 0 Posts
Default

Yes, phpmyadmin is inside /var/www/ not inside /var/www/domain1/

And phpmyadmin is linked from /usr/share/phpmyadmin

The .htaccess is inside /usr/share/phpmyadmin

Now every domain directory inside /var/www can go to phpmyadmin writing in url address: www.domain$.com/phpmyadmin

You mean that I should delete the link of phpmyadmin from /var/www and create it into /var/www/domain$ and create .htaccess there, right?

If not what is the best way to do it?

Thank you for your support!

Last edited by hhhhhh; 13th October 2008 at 14:22.
Reply With Quote
  #14  
Old 14th October 2008, 19:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Try this:
Code:
ln -s /usr/share/phpmyadmin /var/www/domain1/phpmyadmin
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #15  
Old 14th October 2008, 23:55
hhhhhh hhhhhh is offline
Member
 
Join Date: Sep 2008
Posts: 36
Thanks: 10
Thanked 0 Times in 0 Posts
 
Default

Hello,

I solved the issue. I'm going to explain if anyone have the same error:

I had in /etc/apache2/conf.d directory the following file: @phpmyadmin.conf

This file are not a real file, was a link file from /etc/phpmyadmin/apache.conf
It had the same content.
For that reason the .htaccess didn't apply its protections.

I deleted the linked file @phpmyadmin and make new ones inside folders of domains to /usr/share/phpmyadmin instead of link to etc/phpmyadmin/apache2.conf. Now .htaccess and .htpasswd run perfect.

Thank you for your support!
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig install issues... flyingaggie Installation/Configuration 2 18th July 2008 10:46
add web site serr57 Installation/Configuration 18 13th April 2008 11:40
directories in /home/admispconfig/ispconfig renamed? Spudchat General 10 12th April 2007 19:37
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
64-bit Debian 3.1 Install Issue naruto Installation/Configuration 14 5th September 2006 04:12


All times are GMT +2. The time now is 17:00.


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