mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 20:41:20 -05:00
44 lines
823 B
Markdown
44 lines
823 B
Markdown
Stikked troubleshooting guide
|
|
-----------------------------
|
|
|
|
### Apache
|
|
|
|
#### 404 Not Found after creating a Paste
|
|
|
|
Rewrite rules must be enabled in httpd.conf.
|
|
|
|
### Nginx
|
|
|
|
#### 502 Bad Gateway
|
|
|
|
PHP FastCGI must be running. Here's my /etc/init.d/php-fcgi config:
|
|
|
|
```bash
|
|
#!/bin/bash
|
|
|
|
FASTCGI_USER=www-data
|
|
FASTCGI_GROUP=www-data
|
|
ADDRESS=127.0.0.1
|
|
PORT=9000
|
|
PIDFILE=/var/run/php-fastcgi.pid
|
|
CHILDREN=6
|
|
PHP5=/usr/bin/php5-cgi
|
|
|
|
/usr/bin/spawn-fcgi -a $ADDRESS -p $PORT -P $PIDFILE -C $CHILDREN -u $FASTCGI_USER -g $FASTCGI_GROUP -f $PHP5
|
|
```
|
|
|
|
You can adapt that to your system.
|
|
|
|
### Lighttpd
|
|
|
|
#### 503 - Service Not Available
|
|
|
|
PHP FastCGI must be running. See the php-fcgi section under Nginx.
|
|
|
|
### Cherokee
|
|
|
|
Still have a problem?
|
|
---------------------
|
|
|
|
Report an issue at GitHub, and we will add your problem to this guide.
|