Archive for the ‘drupal’ Category

Apache solr for drupal on debian

Installing apache solr with tomcat6 on debian in /usr/local (based on http://xdeb.org/node/1213) Change /etc/apt/sources.list so that non-free packages can be used: ?View Code BASH1 deb http://ftp.nl.debian.org/debian/ lenny main contrib non-free Install Java: ?View Code BASH1 apt-get install sun-java6-jdk Install Tomcat6 to /usr/local: ?View Code BASH1 2 3 4 cd /usr/src wget http://apache.osuosl.org/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24.tar.gz tar xzf apache-tomcat-6.0.24.tar.gz [...]

Drupal on Lighttpd

In the lighttpd config: ?View Code LIGHTTPD1 2 3 4 5 6 7 8 9 $HTTP["host"] == "host" { server.document-root = "/home/exitable/public_html/" url.rewrite-final = ( "^/([^.?]*)\?(.*)$" => "/index.php?q=$1&$2", "^/([^.?]*)$" => "/index.php?q=$1", "^/([^.?]*\.html)$" => "/index.php?q=$1" ) server.error-handler-404 = "/index.php" } and then add to the /sites/default/settings.php file some code to catch 404 pages: ?View Code PHP1 [...]