Tikiwiki provides Apache configuration file to prevent malicious use. The file named 99_tiki-apache.conf should be included in httpd.conf. Using FilesMatch with "*" results a syntax error because of badly formed regexps. Reproducible: Always Steps to Reproduce: 1. Include 99_tiki-apache.conf in httpd.conf. 2. apache2ctl configtest (to prevent outage) Actual Results: The following error message results: "Syntax error on line 8 of /var/www/localhost/htdocs/tikiwiki/doc/99_tiki-apache.conf: Regex could not be compiled" Expected Results: Apache won't start, if it wasn't running. Although it won't be affected in case of an apache2ctl configtest while it was running.
Created attachment 74489 [details, diff] Change FilesMatch to Files and */tiki to regular Gentoo location Replace FilesMatch directives with Files. Files directive get along with "*", but it isn't OK for a regexp. It also replace the directory locations to the regular Gentoo install path.
Attached patch to replaces the FilesMatch directives to Files, which get along with "*". Also change the directory locations to gentoo regular path for tikiwiki.
Please report this upstream. The ebuild doesn't provide any Apache config files. Also, webapps don't necessarily install into /var/www/localhost.