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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 25th March 2013, 10:58
ispcomm ispcomm is offline
Senior Member
Join Date: Aug 2010
Posts: 167
Thanks: 19
Thanked 11 Times in 11 Posts
Default Migration - change web root from /web to /htdocs


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.

How do I change that final part (?) It's ok to mod a module (but which one?)

Edit: Being a little impatient, I did some grepping in ispconfig and so far I seem to have found that the relevant paths are hard-coded in apache2_pligin.inc.php and nginx_plugin.inc

For example here we have:

Perhaps this thread needs moving in "Development" now. I'm willing to add the patch to change the fixed /web to a variable /$WEB_DIR

Falko: can I proceed?

Last edited by ispcomm; 25th March 2013 at 11:29.
Reply With Quote
Sponsored Links


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
Quota Exceeded errors IKShadow Installation/Configuration 14 20th January 2011 17:39
/boot is 100% full Sohail Khawaja HOWTO-Related Questions 6 6th January 2010 21:32
Wrong steps by upgrading ISPC Berry Installation/Configuration 14 14th November 2007 17:27
apache not working cruz Server Operation 21 29th October 2007 01:19
Apache - Virtual hosts - ISPConfig Hans Server Operation 8 23rd April 2006 17:29

All times are GMT +2. The time now is 01:42.

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