aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/__91__Solved__93__FastCGI_problem_on_Arch.mdwn
blob: c89b1d245f57fa0c658b2ef29cb2be7708304b53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Hello. 

Sorry to disturb here, but I'm struggling running ikiwiki under Arch on a RaspberryPi.  
I have a default user: alarm that both runs the nginx server and which created the ikiwiki site.  
Everything sits in the home folder.  

I've followed the instructions [here](http://ikiwiki.info/tips/dot_cgi/#index3h2) regarding the configuration of FastCGI, but there is a slight mistake in it I think.
Nowadays, the ikiwiki.cgi sits in the subfolder that is the same as the wiki name under public_html/ and not directly under public_html/. But it does not really matter. I corrected that in my script.
 
But somehow, even if I play around with the fastcgi parameters, I either get a 403, or the server is trying to send me the ikiwiki.cgi file to download, but does not run it.

I've changed the permissions on the socket, I even tried to run the server as root, nothing changes. Still same errors. If anyone can help, I'd appreciate.

-- Update 
**Pseudo solution** : Solved my problem by switching from Nginx to Apache. Somewhow handling .cgi scripts with Apache is less trouble some.