No matter what I try, I can't seem to successfully remove index.php. I'm wondering if the host is lacking some setting in the server environment... otherwise the site hosts just fine.
Here's what I've done:
-- Made an .htaccess file containing nothing but the supported method
(http://ellislab.com/expressionengine/user-guide/urls/remove_index.php.html)
<IfModule mod_rewrite.c>
RewriteEngine On
# Removes index.php from ExpressionEngine URLs
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
-- Cleared the "Name of your site's index page" field in General Configuration
-- In system/expressionengine/config/config.php, I've tried setting the $config['uri_protocol'] to each of the alternate configurations.
I'm running EE 2.6.1. Can't seem to figure out what's going on, at all.
The only thing I can think of is that I'm running from an IP address type URL, e.g. http://xx.xx.xxx.xx/~sitename, but I don't see why that would affect anything.
Thanks to ALL who take a stab at the answer - this is driving me a little bonkers.
RewriteBase /~sitename/