Hiawatha and Drupal

Posted by Botto on Stack Overflow See other posts from Stack Overflow or by Botto
Published on 2010-04-09T11:21:54Z Indexed on 2010/04/09 11:23 UTC
Read the original article Hit count: 349

Filed under:
|

I posted this on serverfault as well, but I probably asked in the wrong group.

I am using the Hiawatha web server and running drupal on a FastCGI PHP server.
The drupal site is using imagecache and it requires either private files or clean urls. The issue I am having with clean urls is that requests to files are being rewritten into index.php as well.

My current config is:

UrlToolkit {
    ToolkitID = drupal
    RequestURI exists Return
    Match (/files/*) Rewrite $1
    Match ^/(.*) Rewrite /index.php?q=$1
}

The above does not work.


Drupal's apache set up is:

<Directory /var/www/example.com>
  RewriteEngine on
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</Directory>

© Stack Overflow or respective owner

Related posts about hiawatha

  • Hiawatha and Drupal

    as seen on Stack Overflow - Search for 'Stack Overflow'
    I posted this on serverfault as well, but I probably asked in the wrong group. I am using the Hiawatha web server and running drupal on a FastCGI PHP server. The drupal site is using imagecache and it requires either private files or clean urls. The issue I am having with clean urls is that requests… >>> More

  • Clean URLS on Hiawatha

    as seen on Server Fault - Search for 'Server Fault'
    I am using the Hiawatha web server and running drupal on a FastCGI PHP server. The drupal site is using imagecache and it requires either private files or clean urls. The issue I am having with clean urls is that requests to files are being rewritten into index.php as well. My current config is: UrlToolkit… >>> More

  • Simple Grouping With TableSorter Plugin

    as seen on Stack Overflow - Search for 'Stack Overflow'
    Im playing around with the Tablesorter plug-in for jQuery and was trying to get a very simple grouping functionality added into it. Using the follow html/js works great until you click sort again and reverse the order. The headers get moved to the bottom of the group when this happens. The following… >>> More

Related posts about drupal