Aight, and so i have this website, allows refer to it as htp://www.mysite.com

I've got a rewrite rule to alter htp://www.mysite.com/?q=words%20etc//10 into http://www.mysite.com/words%20etc/0/10 (or htp://www.mysite.com///10 or http://www.mysite.com/0/10 )

.htaccess:ErrorDocument 404 htp://www.mysite.com/404.html
options +FollowSymlinks
rewriteEngine on
rewriteCond %{REQUEST_URI} !-f
rewriteCond %{REQUEST_URI} !-d
rewriteCond %{REQUEST_URI} !index\.php
rewriteRule ^/?([^/]+?)?/?([0-9]+?)/([0-9]+?)$ index.php/%{THE_REQUEST} [NC] 

Now, this creates my local apache 2.2.11 server, no errors. However on my small host's apache 1.3.41 server, I recieve the next error:

[Sat Mar 5 21:42:14 2011] [alert] [client [ip]] /home/_/public_html/mysite.com/.htaccess: RewriteRule: cannot compile regular expression '^/?([^/]+?)?/?([0-9]+?)/([0-9]+?)$'\n 

I imagine it is something cool concerning the apache version as other sites about this host use mod_rewrite with no hitch.

I have attempted getting rid of the +followSymlinks line, the rewrite engine line for gits and shiggles. I've not attempted getting rid of the circumstances cause I do not think i ought to need to, I am most likely wrong.

H4LP!

Answer here: http://www.webmasterworld.com/apache/4277342.htm

I am using ? wrong mostly. Will publish solution if this works.

ErrorDocument 404 /404.html
options +FollowSymlinks
rewriteEngine on
rewriteCond %{REQUEST_URI} !-f
rewriteCond %{REQUEST_URI} !-d
rewriteCond %{REQUEST_URI} !/index\.php
rewriteRule ^/?([^/]+)/([0-9]+)/([0-9]+)$ index.php?q=$1&s=$2&p=$3 [NC]
rewriteRule ^/?([0-9]+)/([0-9]+)$ index.php?q=&s=$1&p=$2 [NC]

fixeddddd.