Basically, php can only be executed in my host's cgi-bin folder.
In my webspace, my index.html file path looks like this:
When a user types that, I would like a mod_rewrite to:
What is the mod_rewrite code to do that? I've tried a bunch of things and it doesn't work. I think it might also have to do with the index.html ACTUALLY having the following path (this is what I have to go to using unix commands):
However, www.example.edu/~username/index.html takes me to the index.html within the WWW folder
Here is my .htaccess file:
LoadModule rewrite_module modules/mod_rewrite.so AddModule mod_rewrite.c <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^/index.html$ /cgi-bin/index.php [L] </IfModule>