Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th April 2012, 22:51
orasis orasis is offline
Senior Member
 
Join Date: Mar 2007
Posts: 166
Thanks: 11
Thanked 7 Times in 7 Posts
Default ISPconfig 3 - Folder Protection acts weird

A nice feature in ISPconfig 3 but it if used it wipes out an already existing .htaccess file in order to add the auth code inside. It should jsut add the code to "the end" of the file.

Now concerning the .htpasswd that it is creating in the same directory, would it be possible to create it out of the public /web/ directory ?

cheers, thanks in advance

Last edited by orasis; 10th April 2012 at 22:55.
Reply With Quote
Sponsored Links
  #2  
Old 11th April 2012, 07:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,340
Thanks: 810
Thanked 5,169 Times in 4,053 Posts
Default

The .htpassd file is always in the same directory then the .htaccess file, downloading the .htpasswd is blocked in apache by default, so nobody can access it from the web.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 11th April 2012, 07:29
orasis orasis is offline
Senior Member
 
Join Date: Mar 2007
Posts: 166
Thanks: 11
Thanked 7 Times in 7 Posts
Default

thanks till for the answer, how about the first part of my post ?
Reply With Quote
  #4  
Old 11th April 2012, 07:36
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,340
Thanks: 810
Thanked 5,169 Times in 4,053 Posts
Default

Quote:
Originally Posted by orasis View Post
thanks till for the answer, how about the first part of my post ?
The folder protection feature is a function to protect new empty subfolders, so the current behaviour that overrides .htaccess files is intended. Editing existing .htaccess files can cause the protection to fail as the script would have to parse the whole content of the file as there might be other protections inside or directives which could override the protection. We might add a .htaccess file parse in future versions though.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 11th April 2012, 07:46
orasis orasis is offline
Senior Member
 
Join Date: Mar 2007
Posts: 166
Thanks: 11
Thanked 7 Times in 7 Posts
Default

right.. thanks for that information.

Well I didn't think it would have to be so complicated, seeing how cPanel does it, I thought it was more easy.
Reply With Quote
  #6  
Old 11th April 2012, 08:02
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,340
Thanks: 810
Thanked 5,169 Times in 4,053 Posts
Default

There is already a feature requst for that:

http://bugtracker.ispconfig.org/inde...1933&project=3
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 11th April 2012, 08:15
orasis orasis is offline
Senior Member
 
Join Date: Mar 2007
Posts: 166
Thanks: 11
Thanked 7 Times in 7 Posts
 
Default

nice, well it will just help a lot especially those that use ispconfig 3 for customers

waiting for this feature!

cheers and thanks a lot
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 3: can't send or receive messages zogthegreat Installation/Configuration 6 22nd May 2010 14:45
web folder privileges are getting reset by ISPConfig wpwood3 Installation/Configuration 3 29th March 2010 22:59
ISPConfig 3.0.0.6 Beta released till General 38 21st September 2008 19:15
Does ISPConfig Have a HTTPS:// folder? HCS Installation/Configuration 7 20th December 2006 13:30
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16


All times are GMT +2. The time now is 20:30.


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