View Single Post
Old 28th July 2011, 19:33
boclodoa boclodoa is offline
Junior Member
Join Date: Jul 2011
Posts: 2
Thanks: 2
Thanked 0 Times in 0 Posts

Thank you for the quick response

Originally Posted by till View Post
The database tables get generated automatically when you call the edit file the first time. I'am sure that this works in ISPConfig as I used it yesterday when coding the VM module. You hould get a error message if its not possible to create the table. Which exact messages do you get when you call the edit file in the browser?
the message I get is:
Table 'dbispconfig.support_act' doesn't exist
what I did to get this response is:
-- duplicate /usr/local/ispconfig/interface/web/help to /usr/local/ispconfig/interface/web/drupispc
-- change all the appearances of the word "help" with the word "drupispc", and the word "message" with the word "act" (even in the file names).
-- try to use the "send" form

How do you want to integrate drupal and ispconfig? Shall ispconfig websites be created from drupal or shall drupal be installed automatically in a website from within ispconfig?
I have a drupal installation in /var/www/drupal

What I imagine for this module, roughly speaking, is a button (create drupal) next to a websites listbox (in this case chosen), on click:
# mkdir /var/www/
# mkdir /var/www/
# mkdir /var/www/
# mkdir /var/www/
# cp -a /var/www/sites/default/default.settings.php /var/www/
# ln -s /var/www/ /var/www/sites/
# chown ...
# chmod ...

to get this scheme to work you have to add /var/www/drupal to the PHP open_basedir, and use
DocumentRoot /var/www/drupal
php_admin_flag safe_mode Off
in apache directives. (using the options of the website within ispconfig)

I think this way does not affect the file permission structure of ispconfig 3 (almost), and allow the client to manage his/her relevant drupal files.

Last edited by boclodoa; 28th July 2011 at 20:30.
Reply With Quote