ispCP - Board - Support
Changing the htdocs dir to something else - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Enhancements (/forum-43.html)
+--- Thread: Changing the htdocs dir to something else (/thread-2722.html)



Changing the htdocs dir to something else - MidNor - 03-13-2008 06:44 AM

Hi there
If I may pick your thoughts on this one.
All the instances of htdocs are hard coded into the files.
I am thinking of changing it to a variable in the config file. This will be as simple as changing the instance of htdocs to some refrance to a variable in the appropriate config.
Please sy if you think that I will be wasting my time
Gerhard


RE: Changing the htdocs dir to something else - BeNe - 03-15-2008 03:34 AM

There is a varibale in the ispcp.conf
Code:
APACHE_WWW_DIR = /var/www/virtual
The rest could be changed in the Apache template
--> /etc/ispcp/apache/parts/dmn_entry.tpl (for example)
Also all the other templates.

Greez BeNe


RE: Changing the htdocs dir to something else - MidNor - 03-15-2008 02:23 PM

The question is.
A) Would it be usefull to do the work
B) Would someone actually be using it.

I will be fixing my requirements with links and changing the apache-template a bit.
Gerhard


RE: Changing the htdocs dir to something else - BeNe - 03-17-2008 02:54 AM

Why should this be usefull ?
Everybody can change it for its own needs...in your case change it.
But per default the settings is Ok for the most Users.

Greez BeNe