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

Hello misc

OpenBSD 5.7-beta (GENERIC) #727: Sun Mar  1 02:30:38 MST 2015

I did an installation of Dokuwiki, i gave execution permit to
install.php and then i try to run install.php in the server
historia = dokuwiki. I tested too, with ln -sf from htdocs to historia
(dokuwiki).

first try:
# /var/www/dokuwiki

then:
i installed lynx, and tried to run it again.

from other machine, i used firefox and the file was only available to
open it with an editor or download it.

I tested many posibilities on the httpd.conf.

# $OpenBSD: httpd.conf,v 1.13 2014/12/28 13:55:22 reyk Exp $

#
# Macros
#
ext_addr="*"

#
# Global Options
#
# prefork 3

#
# Servers
#

# A minimal default server
server "default" {
        listen on $ext_addr port 80
}

# A name-based "virtual" server on the same address
server "agronomos" {
        listen on $ext_addr port 80
}

# A name-based "virtual" server on the same address
server "dokuwiki" {
        listen on $ext_addr port 80
}

        # Logging is enabled by default, but it can be turned off per
server
        #no log

###     location "/pub/*" {
###             directory auto index
###             log style combined
###     }

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

###     location "/cgi-bin/*" {
###             fastcgi

                # The /cgi-bin directory is outside of the document root
###             root "/"
###     }

###     root "/htdocs/example.com"
###}

# An HTTPS server using SSL/TLS
###server "secure.example.com" {
###     listen on 127.0.0.1 tls port 443

        # Define server-specific log files relative to /logs
###     log { access "secure-access.log", error "secure-error.log" }

        # Increase connection limits to extend the lifetime
###     connection { max requests 500, timeout 3600 }

###     root "/htdocs/secure.example.com"
###}

# Another server on a different internal IPv4 address
###server "intranet.example.com" {
###     listen on 10.0.0.1 port 80
###     directory { auto index, index "default.htm" }
###     root "/htdocs/internet.example.com"
###}

# An IPv6-based server on a non-standard port
###server "ipv6.example.com" {
###     listen on 2001:db8::53f6:3eab port 81
###     root "/htdocs/ipv6.example.com"
###}

# Include MIME types instead of the built-in ones
types {
        include "/usr/share/misc/mime.types"
}

I am curious, how is expected to run install.php; i have done it few
times before with apache and nginx, but i can not figure it out whit
httpd. I am in need to do it from other computer, via ssh or directly
from firefox.

Thanks for your attention, and a really great OS.

agrquinonez
PS:
My next step is to install mailman!
iQEcBAEBAgAGBQJU+LSeAAoJEKbsEnZGVkUMelIH/R0B5xePjHVA5NkgFbXj1kix
urRUwhg8J3zSg8hlR+Ohf0tlu6yCL0kDk0X4AwvcBygrs6cOCXlwuDm0QLHFS7HJ
mZdLFDel9VOpAFwAwgLvJ+e23asYcuDuJ/mJkLXHW7Bppb8fs8F+gFwDdnogB2k3
sTCAVEqXILl2YzDlnoGvkzHxAs4u6ucVgFq82mmhDPzkk1T5ad1RyHpv6GMeOfn+
8jSy4mt13t8aXM7BFNi+iijohPabpS3q4kxOZp55DMS74sKA3TJqgvzE76jnkU0K
9spDIfC3jgu8m14WMXKPtRQyohAWMkbKXoWFQPXqGdPRZncTJzZ+/oJWNhthsec=
=SSOd
-----END PGP SIGNATURE-----

Reply via email to