Yet Another htaccess question

I’m moving a site to a new host. The htaccess file on the old host was working great for friendly urls like

RewriteRule ^/([a-zA-Z0-9_-]+)$ index.php?var1=$1

However, on the new host, I have a temporary address to browse, which I think is my problem. I’ve got an address like: until the actual domain is transferred…

first line of my htaccess: DirectoryIndex index.php
This is working correctly, so I know the htaccess file is being found and at least functioning…

So my index page is
Friendly urls are currently like:

I’ve tried the unaltered rule as the original and a number of other combinations. Can’t get it to work.
File (not working) as it sits currently is:

DirectoryIndex index.php
Options +FollowSymlinks
RewriteEngine On
RewriteRule ^/~mysite/([a-zA-Z0-9_-]+)$ index.php?var1=$1


I would try:

[code]RewriteEngine On

RewriteBase /~mysite/

RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?var1=$1

Sponsor our Newsletter | Privacy Policy | Terms of Service