apachemod-rewriteurl-rewritingzeus

Apache mod rewrite rules to Zeus rewrite rules


This morning I wanted to move my development website online (in a protected folder), but I figured out that our host (on a shared server) does not use apache mod_rewrite but Zeus rules. I've never heard about that before but it seems that apache rules could be automatically converted via a command line, but as you can guess I have no such access on the server.
So, do you know any online coverter from Apache rules to Zeus ones? (I tried google but found nothing).

Or could someone translate these simple rules with his server:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]

It should normaly be something like:

match URL into $ with ^[^\/]*\.html$
if matched then
   set URL = index.php
endif

But it just doesn't do anything, just the annoying 404 error page.

Cheers,
Nicolas.


Solution

  • I finally fixed the problem.
    First I fixed my rules issues with this ressource, but that wasn't working at all, so I decided to put the script.rewrite file in the WEBROOT folder of my website... and then it worked!
    I didn't put it in the root at first because the website is located in a subfolder, but it seems that the script.rewrite file isn't detected in this subfolder...

    Hope it could help some people around,
    Nicolas.