I tried using the following rule:
RewriteEngine On
RewriteRule ^(.*)$ /~user/sub/index.cgi [L]
but I am getting an error. This is intended to redirect all requests within my sub/ subdirectory (which is in a web docs on a server) to a single script, but it is not working. What would the correct rule be?
Thanks!