HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Change website folders (http://www.howtoforge.com/forums/showthread.php?t=59990)

fllopis 18th December 2012 14:01

Change website folders
 
Hi I have the following problem.

In the web configuration of ISPConfig.

The path to the default web site is /var/www/clients/client[client_id]/web[website_id]

And the symbolic link of the website is: /var/www/[website_domain]/:/var/www/clients/client[client_id]/[website_domain]/

From what I've seen ISPConfig3 automatically created in sites-avaible files with each website ending in.vhost

The path of each .vhost is: /var/www/website_domain/web

I need the configuration file which configures ISPConfig3 in each VirtualHost that are created for each website.

I need all of my websites will store in the following path and create the folders ISPConfig website.

I need that web content rather than stored in clients/client1/web1 stored in the following path:

Web site path: /var/www/vhosts/[website_domain]/httpdocs

I need that when i create a new site this will be in /var/www/vhosts/website_domain/httpdocs

Any can help me?

Thanks

till 18th December 2012 14:49

Thats not supported as folder names may not contain variables that can be changed like the domain name or your whole server will break when a user changes a domain.

fllopis 18th December 2012 16:28

We have a clear ISPConfig, and we haven't clients yet.

Our problem is that we want to migrate from plesk ispconfig.

We try to maintain the same structure as in plesk.

So we thought we could do it by symlinks.

Then we need to know, where ISPConfig grabs the files needed to create a new site. That is, the web folder, ssl, backup, etc..

We need to know where the default files used to create the new ISPConfig website.

Being all for now, I await a reply.

webguyz 18th December 2012 16:34

It would seem to me it would be better to try and keep the default structure of ispConfig, otherwise you will never be able to do an ispConfig upgrade without a hassle and other apps might freak out as well.

Would be a nightmare when something breaks because no one can help you since your non-standard. That would keep me up an night :-)

Good Luck!

till 18th December 2012 19:37

Quote:

Then we need to know, where ISPConfig grabs the files needed to create a new site. That is, the web folder, ssl, backup, etc..
It is all created by the apache plugin. Take a lookat /usr/local/ispconfig/server/plugins-enabled/

Like webguyz mentioned, it is very likely that your setup will not work cleanly later and it is unlikely that you will be able to install any ispconfig updates on your server as your structure is incompatible with ispconfig.


All times are GMT +2. The time now is 16:48.

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