2 As root or with sudo command:
9 cp bbtk.conf /etc/ld.so.conf.d/.
12 2) Create virtual site apache
13 mkdir /var/www/testwtdbg
14 mkdir /var/www/testwtdbg/docroot
16 <rootBbtkWt> = /var/www/testwtdbg/docroot
19 3) Apache configuration
20 cp fastcgi-wt.conf /etc/httpd/conf.d/.
23 4) wt temporary diractory
25 chown apache:apache /var/run/wt
29 cp wt_config.xml /etc/wt/.
31 6) Prepare wt application site
33 mkdir <rootBbtkWt>/<appliBtkWt>
34 chown apache:apache <rootBbtkWt>/<appliBtkWt>
35 mkdir <rootBbtkWt>/<appliBtkWt>/imagesTMP
36 cp bbiWeb.php <rootBbtkWt>/<appliBtkWt>/.
37 ln -s <INSTALATION_WT>/share/Wt/resources <rootBbtkWt>/<appliBbtkWt>/resources
38 ln -s <INSTALATION_creaWT>/wt/data/reosurcesXTK <rootBbtkWt>/resourcesXTK
39 ln -s <INSTALATION_BBTK>/bin/bbiWeb.wt <rootBbtkWt>/bbiWeb.wt
42 7) Call application from browser
43 http://localhost/<appliBbtkWt>/bbiWeb.php
48 ------------------------------------------------------
50 0) BUG: bbiWeb.wt reads just 1 bbs : demoPresentacion1Boton02.bbs
51 0.5) BUG The tempFiles from bbtk-wt are in nn
53 1) BUG: Modify Thirdparty-install-Base-rpm.sh
54 separate the devel modules
55 2) FUTURE: Add creaWT in bbtk stuff
56 3) FUTURE: Install de directory data of creaWT in share/creaWT/data
57 4) BUG: creaWT/wt/data/resourcesXTK <reosurcesXTK>
58 5) bbtk-WT hola.nii can't be generated automaticaly
59 ------------------------------------------------------
65 http://redmine.webtoolkit.eu/projects/wt/wiki/Fastcgi_on_apache
67 https://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-fedora-13
70 http://redmine.webtoolkit.eu/projects/wt/wiki/Wt_+_Apache_+_mod_fcgid_+_Valgrind_+_gdb_+_SELinux_-_Deploy_and_Debug
72 0) Fast CGI (FCGI) devel+apache:
73 yum install fcgi-devel
81 wtBin cmake -DEXAMPLES_CONNECTOR="wtfcgi" .
87 FastCGI configuration:
88 /etc/httpd/conf.modules.d/fastcgi-wt.conf
91 Configuration LD_libray_path for all users
93 /etc/ld.so.conf.d/bbtk.conf
94 /tmpEED/Creatis/creaTools/creatools_install/lib64/creatools
95 /tmpEED/tplI/lib/wt-3.3.4
97 /tmpEED/tplI/lib/InsightToolkit
98 /tmpEED/tplI/lib/vtk-5.10
100 Luego ejecutar> ldconfig
105 service httpd restart
108 systemctl status httpd.service
119 http://www.webtoolkit.eu/widgets
127 http://php.net/manual/fr/function.system.php
130 http://www.apprendre-php.com/tutoriels/tutoriel-15-faire-une-redirection-vers-une-autre-page.html
133 http://php.net/manual/fr/function.uniqid.php