-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/05/2015 12:14 PM, Michael wrote:
> I run dokuwiki on httpd with php-fpm.
> 
> I did an: cd /var/www/htdocs && ln -s ../../dokuwiki doku The
> config in /etc/examples will work ok if you adjust the root
> directive. You will need to open the full name via your browser, as
> in my setup http://127.0.0.1/doku/doku.php as you will get an error
> otherwise.
> 

Thanks to respond.

Yes, but i do not have, and i do not want a browser in the server;
then i tried /var/www/htdocs/dokuwiki/install.php with:

ln -sf /var/www/htdocs/dokuwiki /var/www/dokuwiki

and:

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

After that, i tried from an external machine:

www.my_server.org/dokuwiki/install.php

What is wrong with it?

Is it what you mean?
# A name-based "virtual" server on the same address
server "dokuwiki" {
        listen on $ext_addr port 80
        root "/dokuwiki"
}
iQEcBAEBAgAGBQJU+MVEAAoJEKbsEnZGVkUMx38IAJf8dr8nZ5NPxCLVtebSIcHt
hRnMwtVEs1t3/COkGuH10tgs2qzsmvL78/gnnDeM5O6xVAVLARAjA0pCXvgGudd3
45K0GnpJCLR6cx0e6OTpSijwxYa1rPmI8fe4alq4wWT6cyJ1f+p7WgyfU+VkDLZp
e2oaxRehy4DDunAPhj4TH8uQg5PMcATXKWHjq86Ip7NV04e5zLasgOZNWN9c2Wcb
bGhCYpWFbp1KdLUBlODShdrbHGvzrNTJ8SFCwsr5xoGjG50iEcCorC/OD3019iag
blVgOk2fZeohXsU4oqTNQpSNROPRlqTDR0FdeAIXFJb6maeC3WtrkdRnxvBiObM=
=o7Dj
-----END PGP SIGNATURE-----

Reply via email to