0
나는 이것을 serverfault에도 올렸지 만, 나는 틀린 그룹에서 물어 본 것 같습니다.Hiawatha and Drupal
저는 Hiawatha 웹 서버를 사용하고 있으며 FastCGI PHP 서버에서 drupal을 실행하고 있습니다.
drupal 사이트는 imagecache를 사용하고 있으며 개인 파일 또는 깨끗한 URL이 필요합니다. 깨끗한 URL로 인해 발생하는 문제는 파일에 대한 요청이 index.php로 다시 작성된다는 것입니다.
나의 현재 설정은 다음과 같습니다
UrlToolkit {
ToolkitID = drupal
RequestURI exists Return
Match (/files/*) Rewrite $1
Match ^/(.*) Rewrite /index.php?q=$1
}
은 위의 작동하지 않습니다. 설정
드루팔의 아파치는 다음과 같습니다
UrlToolkit {
ToolkitID = drupal
RequestURI exists Return
Match (/files/*) Rewrite $1 Return
Match ^/(.*) Rewrite /index.php?q=$1
}
:
<Directory /var/www/example.com>
RewriteEngine on
RewriteBase/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</Directory>