Fix example regex in vhosts
Thanks Hiltjo for noticing this!
This commit is contained in:
parent
a80f984ea3
commit
10d2ffe53a
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ static struct {
|
||||||
const char *dir;
|
const char *dir;
|
||||||
regex_t re;
|
regex_t re;
|
||||||
} vhost[] = {
|
} vhost[] = {
|
||||||
/* canonical host host regex directory */
|
/* canonical host host regex directory */
|
||||||
{ "example.org", "^(www.)example.org$", "/example.org" },
|
{ "example.org", "^(www\.)?example.org$", "/example.org" },
|
||||||
};
|
};
|
||||||
|
|
||||||
/* mime-types */
|
/* mime-types */
|
||||||
|
|
Loading…
Reference in a new issue