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.modules.d/.
23 4) wt temporary diractory
25 chown apache:apache /run/wt
27 5) Prepare wt application site
29 mkdir <rootBbtkWt>/<appliBtkWt>
30 mkdir <rootBbtkWt>/<appliBtkWt>/imagesTMP
31 cp bbiWeb.php <rootBbtkWt>/<appliBtkWt>/.
32 ln -s <INSTALATION_WT>/share/Wt/resources <rootBbtkWt>/<appliBbtkWt>/resources
33 ln -s <INSTALATION_creaWT>/wt/data/reosurcesXTK <rootBbtkWt>/resourcesXTK
34 ln -s <INSTALATION_BBTK>/bin/bbiWeb.wt <rootBbtkWt>/bbiWeb.wt
37 6) Call application from browser
38 http://localhost/<appliBbtkWt>/bbiWeb.php
43 ------------------------------------------------------
48 http://redmine.webtoolkit.eu/projects/wt/wiki/Fastcgi_on_apache
50 https://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-fedora-13
53 http://redmine.webtoolkit.eu/projects/wt/wiki/Wt_+_Apache_+_mod_fcgid_+_Valgrind_+_gdb_+_SELinux_-_Deploy_and_Debug
55 0) Fast CGI (FCGI) devel+apache:
56 yum install fcgi-devel
64 wtBin cmake -DEXAMPLES_CONNECTOR="wtfcgi" .
71 FastCGI configuration:
72 /etc/httpd/conf.modules.d/fastcgi-wt.conf
75 Configuration LD_libray_path for all users
77 /etc/ld.so.conf.d/bbtk.conf
78 /tmpEED/Creatis/creaTools/creatools_install/lib64/creatools
79 /tmpEED/tplI/lib/wt-3.3.4
81 /tmpEED/tplI/lib/InsightToolkit
82 /tmpEED/tplI/lib/vtk-5.10
84 Luego ejecutar> ldconfig
92 systemctl status httpd.service
103 http://www.webtoolkit.eu/widgets
111 http://php.net/manual/fr/function.system.php
114 http://www.apprendre-php.com/tutoriels/tutoriel-15-faire-une-redirection-vers-une-autre-page.html
117 http://php.net/manual/fr/function.uniqid.php