if add it in so that .htaccess looks like (nothing else included in the file):
Options +FollowSymlinks
RewriteEngine On
RewriteRule ^link([^/]*).html$ rewrite.php?link=$1 [L]
I get this type of error on every server:
[Fri Aug 08 13:32:14 2008] [alert] [client xxx.xxx.xxx.xxx] /home/username/public_html/.htaccess: Illegal option RewriteEngine
if I take out the options so the .htaccess looks like:
RewriteEngine On
RewriteRule ^link([^/]*).html$ rewrite.php?link=$1 [L]
then it is ignored entirely, and generates a missing page error when supposedly rewriting the php page as html:
[Fri Aug 08 13:35:54 2008] [error] [client xxx.xxx.xxx.xxx] File does not exist: /home/username/public_html/link2.html, referer:
http://www.sitenamehere.com/rewrite.php?link=1
Also, if I add this to .htaccess:
XBitHack On
I get this error:
[Fri Aug 08 13:38:00 2008] [alert] [client xxx.xxx.xxx.xxx] /home/username/public_html/.htaccess: XBitHack takes one argument, Off, On, or Full
Doesn't matter what I try in the rewrite rules, it fails completely with the options included or it can't find the page... many times just ignored completely. But .htaccess is working on other items such at restricting countries, access, etc. I've tried this onseveral servers that are current on CP. Many had CP 10.x and these same exact rules worked previously but do not now after upgrades of cpanel and apache. XBitHack worked previously as well.
I get same results whether on apache 1.3.41 or the latest 2.2.x
So the latest changes to include mod_rewrite by cpanel must have altered teh way to be able to use such things in .htaccess, maybe?