Not logged in. · Lost password · Register
Forum: General Help and Support Server Setup RSS
Newbie to nginx
Unable to make nginx working with dokuwiki
Avatar
mermouy #1
Member since Nov 2013 · 2 posts · Location: Lille France
Group memberships: Members
Show profile · Link to this post
Subject: Newbie to nginx
Hi all,
I'm actually experimenting (for my next server machine change) re-installing (should I say transfering) my wiki (actually under apache2) to another machine running nginx.
But, I'm totl newbie to nginx and can't make it work...
I'm moving for testing from http://boargametrans.org to http://boargametrans.youm.org

For the experiment I:
  * Rsync-ed all dokuwiki/ content to my new /var/www/boardgametrans folder.
  * Chmod-ed and chown-ed it to www-data user with 775
  * Created /etc/nginx/nginx.conf config as shown at: http://blog.youm.org/paste/?53260e3f59d0c882#t6mr9/LUhGnNZ… (I'm using php-fpm for now, it seems work, the phpinfo appear)
  * Created /etc/nginx/sites-available/bgt as shown at: http://blog.youm.org/paste/?97440504be31b8d2#jfXj52lp/Zrpe…
  * Created /etc/php5/fpm/pool.d/www.conf as shown at http://blog.youm.org/paste/?a84743a1c43fdce8#ZBXy2SiPvShS0…
  * Created a new host pointing http://boardgametrans.youm.org to my new ip
  * Changed wiki address in dokuwiki config file to boardgametrans.youm.org

Actually, after doing lot of things i have: a
No input file specified.
blank page when entering full address like http://boardgametrans.youm.org/doku.php
I have a phpinfo page summary whitch is the default server page when entering http://boardgametrans.youm.org
My default server is reached (for example with: http://cervelle.youm.org)

Does anyone know more about mistakes I've made? (done so much until now that maybe I simply forgot something?)
Thanks for any help or advices!
Read ya!

Edit: I forgot the /etc/php5/fpm/php-fpm.conf file as shown at http://blog.youm.org/paste/?8d05a9be90eda9a3#XycdRzFYnmgv7…
Re-edit: I can figure to access to a subdir of my installation following this link http://cervelle.youm.org/boardgametrans/iamvlad/ and works... So this should'nt be a fpm problem...?
This post was edited 2 times, last on 2013-11-23, 19:09 by mermouy.
Avatar
mermouy #2
Member since Nov 2013 · 2 posts · Location: Lille France
Group memberships: Members
Show profile · Link to this post
I found a way to do it finally by myself the main mistake (wasn't the only one) was to remove the rewrite mode in dokuwiki.conf from [2] to [0], so the wiki seems to work but I can't log-in! (that's a pity don't you think?)
 Here you can find all my conf file in one: http://blog.youm.org/paste/?4937f909b6ad68c4#muaF8TP6Uj11w…

Can anyone help in this state?

Edit: I have the error:

2013/11/24 00:05:45 [error] 10740#0: *452 FastCGI sent in stderr: "PHP message:
PHP Warning:  require_once(/var/www/boardgametrans/inc/phpseclib/Crypt_AES.php): failed to open stream: No such file or directory in /var/www/boardgametrans/inc/load.php on line 101
PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/boardgametrans/inc/phpseclib/Crypt_AES.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/boardgametrans/inc/load.php on line 101" while reading response header from upstream, client: 80.215.8.115, server: www.boardgametrans.youm.org, request: "POST /doku.php?id=fr:start&do=login&sectok=e7531af021bc52953f91f0e6e1df9ab5 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "www.boardgametrans.youm.org", referrer: "http://www.boardgametrans.youm.org/doku.php?id=fr:start&do=login&sectok=e7531af021bc52953f91f0e6e1df9ab5"

It's search for Crypt_AES.php but desn't exist...
This post was edited on 2013-11-23, 23:29 by mermouy.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-06-25, 22:17:05 (UTC +02:00)