#1  
Old 10th December 2010, 20:24
mbsouth mbsouth is offline
Junior Member
 
Join Date: Apr 2010
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
Default VHOST Folder

Hi ISPConfig freaks!

Is there a way (or config setting) to rename the web folder in
/var/www/clients/client[id]/web[id]/web to www or docroot permanently?

What I need is:
Quote:
<Directory /var/www/clients/client1/web1/www>
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php
Options +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
or:
Quote:
<Directory /var/www/clients/client1/web1/docroot>
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php
Options +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Thx
mbsouth
Reply With Quote
Sponsored Links
  #2  
Old 11th December 2010, 15:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

I don't think so, but maybe you can create a symlink pointing from www or docroot to web.
__________________
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
  #3  
Old 13th December 2010, 16:13
mbsouth mbsouth is offline
Junior Member
 
Join Date: Apr 2010
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi Falko, thanks for your reply!
I tried symlinks before I post the thread above. Symlinks works as expected but symlinks are more of a patchwork than a solution. To find a better once, I searched the source code to find the definition of the paths inside the document_root.

Unfortunately the result was disappointing:
- there are no common config(file) for paths definition inside the document_root
- the paths are hard coded in multiple files - multiple times

this makes ispconfig not compatible to migrate our existing environments yet:
- no standard for directories within web root (error and stats should be placed outside the web root [in this case: /web])
- our web root is /www (possible solutions will be symlinks but this approach ends in hundreds of support requests)

In our tests ispconfig was the best (free) hosting panel solution at all and
I hope, custom-defined paths are possible in upcomming versions.


mbsouth
Reply With Quote
  #4  
Old 13th December 2010, 16:42
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,492
Thanks: 835
Thanked 5,533 Times in 4,351 Posts
Default

Quote:
- no standard for directories within web root (error and stats should be placed outside the web root [in this case: /web])
ISPConfig has a standard, and this standard is that the name for the error folder is error and that its inside the web folder and the stats folder is inside the web folder and named stats. We use this standard since ispconfig 2. It might be that you used a different standrad in your old enviroment, but this does not mean that ispconfig hs no standard folders.

Quote:
- our web root is /www (possible solutions will be symlinks but this approach ends in hundreds of support requests)
In ispconfig and several other controlpanels, the standard name for thsi folder is web.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 13th December 2010 at 17:04.
Reply With Quote
  #5  
Old 13th December 2010, 23:32
mbsouth mbsouth is offline
Junior Member
 
Join Date: Apr 2010
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Hello Till, thanks for your reply!

Quote:
ISPConfig has a standard, and this standard is that the name...
I have made myself misunderstood, sorry about that.
!!! I did not want to make ISPConfig down - quite the reverse - ispconfig is the best (free) hosting panel solution at all !!!
What I meant was that we do not impose standards to our customers. In this case each customer can create their own folder trees without restrictions (inside the web root). But predefined folders are restrictions (my opinion). In some projects error or stats are used by our customers. I have to migrate more than 300 vhost from different server to a new multi-server-environment!
I´ll do this once[!], straight[!] and flawless! I think ispconfig could help me a lot!

Quote:
In ispconfig and several other controlpanels, the standard name for thsi folder is web.
What makes the use of ispconfig attractive over other control panels? The same standards(?), same restrictions(?) or what?

Things like customized settings, stability, diversity... makes ispconfig attractive and it´s not necessary to compare it with other control panels - ispconfig "shows something a clean pair of heels" (I think this is like - etwas weit zurück/hinter sich lassen?).

Btw - advantages to define the paths in a common config (like /usr/local/ispconfig/server/lib/config.inc.php) are clear code, simple to change, adjustment, debugg and customizable and not realy hard to do.


Thank you for your attention
just my 2 cent
mbsouth

Last edited by mbsouth; 13th December 2010 at 23:39.
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
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 11:49
Images not served by apache over a symbolic link folder hhhhhh Server Operation 0 27th January 2009 05:01
Ebox filesharing - permission in group folder tennents HOWTO-Related Questions 2 31st October 2007 19:18
Squirrelmail and stupid imap folder names ?! rupat Installation/Configuration 2 3rd October 2007 10:12
Rename folder -> create new folder equals contents of old folder BlueStream General 20 15th December 2006 04:32


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


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