fiwswe
1b2deed915
Use str_starts_with/str_ends_with
2023-09-15 16:29:00 +02:00
Andreas Gohr
d4f83172d9
code style: line breaks
2023-08-31 22:44:40 +02:00
Andreas Gohr
177d6836e2
coding style: control flow whitespaces
2023-08-31 14:22:35 +02:00
Andreas Gohr
b1f206e1d4
Apply rector fixes to bin and toplevel
2023-08-30 14:48:22 +02:00
Andreas Gohr
656cb03223
Merge branch 'pr/3111' into master
...
* pr/3111:
honor userewrite setting in redirection from index.php
2020-09-10 09:26:38 +02:00
Andreas Gohr
09f71c987a
simplified boolean expression
2020-06-30 09:20:35 +02:00
Andreas Gohr
d40ef125fc
router: fix access to root
...
Co-authored-by: Henry Pan <git@phy25.com>
2020-06-30 09:19:08 +02:00
Andreas Gohr
a4d15dc00b
router: send proper HTTP header when access denied
...
Co-authored-by: Henry Pan <git@phy25.com>
2020-06-30 09:15:19 +02:00
Andreas Gohr
7f153c56d1
Make router work with dotted page names. fixes #3165
...
This should work around PHP bug #61286
Seems to work well but could use some additional manual testing.
2020-06-11 23:04:39 +02:00
Schplurtz le Déboulonné
aceca2ebcf
honor userewrite setting in redirection from index.php
2020-06-01 08:06:10 +02:00
Phy
7f4718dde6
use absolute URL in index.php when redirecting to doku.php, fixes #2706
...
Note that in order to get an absolute URL, the whole DokuWiki environment is loaded now in index.php.
2019-03-11 22:34:23 -04:00
Rainbow Spike
62c31ba5b3
Defective transplantation of export from .htaccess
...
Ебаный стыд ≺(⊙⁔(\)≻
2019-02-21 06:51:42 +10:00
Andreas Gohr
73cc470bab
don't exclude install.php from httpd router
2016-01-19 19:55:20 +01:00
Andreas Gohr
7aaab1092d
implements a router for the PHP builtin webserver
...
PHP comes with a builtin webserver for development purposes. This adds
the needed routing and also enables rewriting compatible to out
userewrite=1 setting. It also implements basic access security (denying
access to the data directory and similar directories)
A PHP based webserver running DokuWiki can now be started with
php -S localhost:8000 index.php
2015-10-27 21:30:58 +01:00
furun
47583ff042
Whitespace cleanup FS#1709
...
Ignore-this: 27ea52110bce929b2c61ed8faba67cfc
darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz
2009-10-16 22:55:26 +02:00
andi
15fae1076f
phpdoc comments
...
darcs-hash:20050114164057-9977f-e4936fde9037c65c3f32c30b31b2b7df35732f3a.gz
2005-01-14 17:40:57 +01:00
andi
f3f0262c48
Initial revision.
...
darcs-hash:20050112202454-9977f-60936f24fe2092a30223627e0683de2df61d0c4a.gz
2005-01-12 21:24:54 +01:00