Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 28th March 2013, 11:38
ispcomm ispcomm is offline
Senior Member
 
Join Date: Aug 2010
Posts: 166
Thanks: 19
Thanked 11 Times in 11 Posts
Default /web to /htdocs change for web-root (apache/nginx)

Hello,

This might be a silly question, but I'l looking to moving some sites to being managed with ispconfig.

These sites are not owned by me so I must replicate all database users/passwords and directory paths (or they break).

I need to change the default web root from /some/path/web to /some/path/htdocs

That is... web root must be in a directory called "htdocs" and not "web".

I can change all path with ispconfig, except the final "web" dir.

I did some grepping in ispconfig and so far I seem to have found that the relevant paths are hard-coded in apache2_plugin.inc.php and nginx_plugin.inc

For example here we have:
$app->system->chmod($data['new']['document_root'].'/web';

Falko: can I proceed with a patch? Shall I create a new placeholder defaulting to "web"?

Thank you
Reply With Quote
Sponsored Links
 

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
Update to ISPConfig 3.0.4 phpMyAdmin Problems midcarolina General 6 14th November 2011 16:54
monit howto Jamesk5 HOWTO-Related Questions 11 5th August 2008 16:10
apache not working cruz Server Operation 21 29th October 2007 01:19
cannot connect to ispconfig guidovanh Installation/Configuration 22 3rd March 2006 20:52
ISPConfig pop3 problem mphayesuk General 21 31st October 2005 11:53


All times are GMT +2. The time now is 05:06.


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