Re: httpd rewrite, what I'm missing?

2018-07-19 Thread Elias M. Mariani
Just a breaktrough, but the problem persists: - #example of directory that doesn't need to use rewrite. location match "/themes/(.*)/assets/(.*)" { request no rewrite } #index.php is the entry point of the application and runs the php fastcgi. location match "index.php" { fastcgi

httpd rewrite, what I'm missing?

2018-07-17 Thread Elias M. Mariani
Hi, I'm trying to adapt the rewrite rules of OctoberCMS to httpd.conf to avoid using apache-httpd. Now everything is working ok with this rules: - #example of directory that doesn't need to use rewrite. location match "/themes/(.*)/assets/(.*)" { request no rewrite } #index.php i

Re: httpd rewrite and REQUEST_URI value

2018-06-30 Thread Scott Vanderbilt
On 6/24/2018 10:25 PM, Ve Telko wrote: If you or your framework uses REQUEST_URI you don't need request rewrite feature. Using REQUEST_URI and request rewrite feature are two oposite solutions for the same problem. To mimic nginx's try_files do something like this: location match "/hello/.*" {

Re: httpd rewrite and REQUEST_URI value

2018-06-24 Thread Ve Telko
Hi Scott. If you or your framework uses REQUEST_URI you don't need request rewrite feature. Using REQUEST_URI and request rewrite feature are two oposite solutions for the same problem. To mimic nginx's try_files do something like this: location match "/hello/.*" { root "/index.php"

httpd rewrite and REQUEST_URI value

2018-06-23 Thread Scott Vanderbilt
I was very eager to implement the new rewrite functionality in httpd. However, I've run into an issue, and I am uncertain whether the new behavior is CGI-compliant or not. The app I am attempting to convert to httpd is currently built on nginx, and the rewrite functionality it offers satisfies

httpd rewrite

2017-02-02 Thread Uwe Werler
Hello guys, I try to move from nginx to httpd. But I have a problem with rewrite. I try to use this nginx-rule: rewrite ^/Microsoft-Server-ActiveSync?(.*)$ /tine20/index.php?frontend=activesync$1; with httpd: location "/Microsoft-Server-ActiveSync" {

[httpd] rewrite url for PHP Framework (silex / symphony...)

2016-07-14 Thread Olivier Burelli
Hello all, I am an end user that wants learn php, currently i try to follow a course. For it i try to use httpd daemon on openbsd 5.9-stable Sorry if this subject is posted yet in the past. In fact i do not really understood what about it is talked here : https://github.com/reyk/httpd/issues/2