I'm not sure if this belongs here or in serverfault, so feel free to flag it if necessary. I have a server with a drupal installation at /drupal. I want the URL www.example.com to point to www.example.com/drupal. I don't want to change my server root, just do an Apache Rewrite.
RewriteRule (.*) /drupal/$1
This works, so when I type www.example.com I go to the drupal site. The issue is no other URLs go to the correct spot. So when I type a URL like www.example.com/about, I see the drupal theme but then the content just says
The requested page "/about" could not be found.
The page www.example.com/drupal/about does show up fine. I've also changed $base_url to www.example.com. Any idea what could be wrong?
I've also tested that URLs like www.example.com/?q=node/16 work fine, so the problem is just with clean URLs.