You need to create the directories .well-known/acme-challenge/ in your
document root, and the file index.html, and any other files that may be
requested. They also probably need to be readable by the server process.
I am unsure why it gets redirected to pmwiki.php, it should only
redirect IF the requested file does not exist, AND if the first
character after partitura.nl/ is an uppercase letter A-Z, digit 0-9 or
an international character, not the dot "." you have.
Petko
---
Change log : http://www.pmwiki.org/wiki/PmWiki/ChangeLog
Release notes : http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes
If you upgrade : http://www.pmwiki.org/wiki/PmWiki/Upgrades
On 2017-02-03 15:37, Daniel wrote:
Hello, I want to install a 'Lets Encrypt' certificate on my domain. Now
they require to put a code in partitura.nl/.well-known/acme-challenges
When I do this and call the URL, I see a (error-)page generated by
pmwiki.php
See http://partitura.nl/.well-known/acme-challenge/index.html
Where http://partitura.nl/owncloud/index.html looks like how I intended
it.
I guess the .htaccess file needs to be adjusted, listing below:
# .htaccess van (de mirror van) partitura.nl
RewriteEngine On
RewriteBase /
RewriteRule ^$ wpn/pmwiki.php [L]
RewriteRule ^index\.php$ wpn/pmwiki.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^([A-Z0-9\xa0-\xff].*)$ wpn/pmwiki.php?n=$1 [QSA,L]
# eof #
(pmwiki.php is in the wpn/ subdirectory)
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users