HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Developers' Forum (http://www.howtoforge.com/forums/forumdisplay.php?f=33)
-   -   ispconfig3 - website path (http://www.howtoforge.com/forums/showthread.php?t=31639)

ilaidlaw 23rd February 2009 04:27

ispconfig3 - website path
 
I'd prefer the web directories be stored under /home/clients rather then /var/clients. I realize I could just make a symlink, but I tried changing the configuration for "Website path" and "Website symlinks", however the resulting apache vhost file still contains /var/www as the base path for DocumentRoot. Switching it back, and using a symlink makes it all work again.

Secondly, a symlink is made into /var/www/[domain]. This symlink points to the directory containing [cgi-bin, log, ssl, tmp, web]. That is also the home directory for shell users. Seems like the symlink should point to the "web" directory instead?

till 23rd February 2009 10:22

You can configure the website path in the ispconfig server settings.

Quote:

however the resulting apache vhost file still contains /var/www as the base path for DocumentRoot. Switching it back, and using a symlink makes it all work again.
This is nescessary and cant be changed if you want to use php or cgi with suexec on your server.

Quote:

Secondly, a symlink is made into /var/www/[domain]. This symlink points to the directory containing [cgi-bin, log, ssl, tmp, web]. That is also the home directory for shell users. Seems like the symlink should point to the "web" directory instead?
No.

ilaidlaw 23rd February 2009 14:38

Quote:

Originally Posted by till (Post 171251)
You can configure the website path in the ispconfig server settings.



This is nescessary and cant be changed if you want to use php or cgi with suexec on your server.



No.

Ok, it caught me by surprise that home directories were exposed to the web by default :) Great work on ispconfig, it's a pretty fantastic piece of software!

Cheers,
Ian


All times are GMT +2. The time now is 00:33.

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