Forum

Looking for help for rewrite rules

Kai
6 November 2012, 13:51
Hi folks,

I'm just trying to make Bugify working on my Hiawatha installation. Unfortunately, the developers only support Apache and I'm definitely not willing to make this move, too.
So, hopefully somebody can help me out how to create a UrlToolkit to match the following Rewrite rules (extracted from the .htaccess file):

- - - - - - - - -

# Rewriting
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

- - - - - - - - -

Any help is very, very appreciated and many tx in advance.

Cheers

Kai



Hiawatha version: 8.4
Operating System: Fedora 17
Hugo Leisink
6 November 2012, 17:22
The UrlToolkit you are looking for is this:
RequestURI exists Return
Match .* Rewrite /index.php
Kai
7 November 2012, 21:52
Hello Hugo,

many tx for the quick response. I tried your suggestion, but it didn't work
After analyzing PHP code the whole day together with a colleague, it turned out, that there are some issues in the application code, which may cause this problem. My colleague already addressed it to the developers and we'll see, what comes back.
So far, I can only say (again) many tx for your help and it's (again) no Hiawatha issue.

Cheers

Kai
Kai
8 November 2012, 13:37
... It's working now Somerset weird issues with php and on the box Itself, but all solved now.

Cheers
Kai
This topic has been closed.