E
E
Evgeny Kalibrov2012-10-17 00:42:11
Apache HTTP Server
Evgeny Kalibrov, 2012-10-17 00:42:11

apache rule with flag - QSA for lighttpd

Help rewrite apache rule with flag - QSA for lighttpd.

Now available:

RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

I'm trying something like this, but it doesn't work as it should:

url.rewrite-if-not-file = ( "^/(?:\?(.*))?" => "/index.php?_route_=$1" )

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Kalibrov, 2012-10-17
@rework

Thanks to all who sympathize, I figured it out:
Solution:
(url.rewrite-if-not-file = ("^([^\?]+)[\?]{0,1}(.*)$" => "/index.php?_route_=$1&$2")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question