Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115184 - Tikiwiki's doc/99_tiki-apache.conf contains syntax errors regarding regexps
Summary: Tikiwiki's doc/99_tiki-apache.conf contains syntax errors regarding regexps
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-11 04:40 UTC by Attila Tóth
Modified: 2005-12-11 19:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Change FilesMatch to Files and */tiki to regular Gentoo location (99_tiki-apache.conf,2.09 KB, patch)
2005-12-11 04:52 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2005-12-11 04:40:15 UTC
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.
Comment 1 Attila Tóth 2005-12-11 04:52:03 UTC
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.
Comment 2 Attila Tóth 2005-12-11 04:54:17 UTC
Attached patch to replaces the FilesMatch directives to Files, which get along
with "*". Also change the directory locations to gentoo regular path for tikiwiki.
Comment 3 Renat Lumpau (RETIRED) gentoo-dev 2005-12-11 19:07:40 UTC
Please report this upstream. The ebuild doesn't provide any Apache config files.
Also, webapps don't necessarily install into /var/www/localhost.