drupal when emerged does not insert its self into web root or run the webapp command to do so. Reproducible: Always Steps to Reproduce: emerge drupal Actual Results: ls /var/www/localhost/htdocs $ Expected Results: ls /var/www/localhost/htdocs drupal $ webapp-config -I -h localhost -d /drupal/ drupal 7.23
side note that drupal 500s once it is installed on install.php & index.php system is functioning correctly for mediawiki phpbb dokuwiki & other lamp stack applications.
(In reply to three sixes from comment #0) > drupal when emerged does not insert its self into web root or run the webapp > command to do so. > > Reproducible: Always > > Steps to Reproduce: > emerge drupal > Actual Results: > ls /var/www/localhost/htdocs > $ > > Expected Results: > ls /var/www/localhost/htdocs > drupal > $ > > webapp-config -I -h localhost -d /drupal/ drupal 7.23 This issue is probably related to webapp-config. If you are using python3.2 and up as your interpreter it'll cause issues and it's very likely installed into: /var/www/${vhost_hostname}/htdocs/ <-- Literal location. This is because under python3.2+ webapp-config was using incorrect syntax to call the get() function from the ConfigParser class. This has been corrected and a new version of webapp-config will probably be pushed out soon. For a quick fix edit your configuration file in /etc/vhosts/webapp-config and under the line where it declares: vhost_root="/var/www/${vhost_hostname}" alter the ${vhost_hostname} to make the vhost_root to: vhost_root="/var/www/localhost" or whatever you please. This should fix your issue until the new version is released. Hope this helps.
i am using python3.2 eselected... other packages issued the commands to webapp-config fine & webapp-config -I -h localhost -d /drupal/ drupal 7.23 is what i used against python3.2 to get it to show up in my webroot for localhost. i PERSONALLY don't really have a problem with this so much as with the 500ing once it is inserted into web root. im trying to get this up on the wiki pages because i have known drupal before on ubuntu to be vastly powerful and reformable into many different things. i see the viability of gentoo being a secure bloat free server for web, and that's what ive been targeting for the most part. maybe a little desktop / boot loader / core system stuff here and there but not my primary objective like the web apps. thanks everyone for responding and all of your hard work on gentoo.
just tried this with python 2.7 eselected, and it still fails to insert into webroot. i really don't want to write webapp-configs into wiki pages.
webapp-config -I -h localhost -d /drupal/ drupal 7.23 The above is telling webapp-config to install a package under ${localhost}/htdocs/drupal which usually translates to /var/www/localhost/htdocs/drupal If you want to install to the / of your site, drop the "-d /drupal" from the webapp-config command.
Also this issue should be fixed in the latest version of webapp-config, I apologize if I didn't mention this sooner. If you could please test this for me and report back whether or not this is true.
-ENEEDCONFIRMATION