| Commit | Line | Data |
|---|---|---|
| 4a3fb6ba DP |
1 | Apache2 + mod_rewrite |
| 2 | Works out of the box.. | |
| 3 | ||
| 4 | ||
| 5 | LightHTTPD: | |
| 6 | http://nordisch.org/2007/2/6/drupal-on-lighttpd-with-clean-urls | |
| 7 | ||
| 8 | IIS 6: | |
| 9 | add an error404.asp that passed everything to drupal. | |
| 10 | ||
| 11 | <% | |
| 12 | Response.Expires=0 | |
| 13 | strQString=Request.ServerVariables("QUERY_STRING") | |
| 14 | If (InStr(strQString,"/d5/")) Then | |
| 15 | pos=Instr(strQString,"/d5/")+3 | |
| 16 | Id=Right(strQString,Len(strQString)-pos) | |
| 17 | Response.Redirect("/d5/index.php?q=" & Id) | |
| 18 | End If | |
| 19 | Response.Redirect("index.htm") | |
| 20 | %> | |
| 21 | ||
| 22 | ||
| 23 |