Hi there!
Installing dokuwiki
server "wiki.local" {
        listen on $ext_addr port 80

        root "/dokuwiki"
        location "/*.php*" {
                fastcgi socket "/run/php-fpm.sock"
        }
}

Why dont this work for me? I can access static files in http://wiki.local,
but http://wiki.local/index.php causes file downloading.

But this
server "wiki.local" {
        listen on $ext_addr port 80

        location "/dokuwiki/*.php*" {
                root { "/dokuwiki", strip 1 }
                fastcgi socket "/run/php-fpm.sock"
        }
        location "/dokuwiki/*" {
                directory index index.php
                root { "/dokuwiki", strip 1 }
        }
}

works fine and i can access wiki via  http://wiki.local/dokwiki/ .
But i wont use "dokuwiki" extra url part. How should i configure my
httpd.conf to access wiki via http://wiki.local/docu.php ?

OpenBSD curent

Reply via email to