aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/HTTPS_edit_required_no_authentication/comment_4_d60d5184412d6ecd8aae44cd33653e89._comment
blob: 6c0a7702129b2bc3e51deb4adb28053ed1cfe622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[[!comment format=mdwn
 username="https://www.google.com/accounts/o8/id?id=AItOawk8U772S3jDrZJCO0WA5WaDLjJv5mMl6Yw"
 nickname="Nadine"
 subject="It was an Apache problem..."
 date="2014-10-16T14:57:26Z"
 content="""
Hello,

thank you for your comments. The problem comes from the Apache configuration. I use a git-http-backend on this server and I affect the content of the REMOTE_USER environment variable like this:

    SetEnv REMOTE_USER=$REDIRECT_REMOVE_USER

Ikiwiki CGI seems to use this variable to determine which is the current user. Even if the variable content is NULL, ikiwiki.cgi use it.

I just changed this to:

    SetEnvIf Request_URI \"^/git/\" REMOTE_USER=$REDIRECT_REMOVE_USER

and everything runs Ok now...

Sorry for bothering Ikiwikiboard with an HTTP server problem.

"""]]