A. Kloxo-MR: 7.0.0.b-2015042104
B. OS: CentOS release 6.6 (Final) i686
C. Apps:
1. MySQL: mysql55-5.5.43-1.ius.el6.i686
2. PHP: php54-5.4.41-1.ius.el6.i686
3. Httpd: httpd-2.2.29-2.mr.el6.i386
4. Lighttpd: --uninstalled--
5. Hiawatha: hiawatha-9.13.0-f.6.mr.el6.i386 (also as webserver)
6. Nginx: --uninstalled--
7. Cache: --uninstalled--
8. Dns: --uninstalled--
9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.i386
- with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.i386
D. Php-type (for Httpd/proxy): php-fpm_event
E. Memory:
total used free shared buffers cached
Mem: 1893 775 1118 48 103 418
-/+ buffers/cache: 253 1640
Swap: 255 0 255
Pa, saya menggunakan 5.4, tapi ada 2 web yang hanya pengen jalan di 5.2,
saya coba seting .htacces di di root web yg butuh 5.2:
<Ifmodule !mod_php5.c>
#AddHandler x-httpd-php .php
AddHandler x-httpd-php52 .php
#AddHandler x-httpd-php53 .php
#AddHandler x-httpd-php54 .php
#AddHandler x-httpd-php55 .php
#AddHandler x-httpd-php56 .php
</Ifmodule>
RewriteEngine On
RewriteRule ^$ index.php [QSA,L]
RewriteRule ^index.html$ index.php [QSA,L]
RewriteRule ^pendaftaran.html$ register.php [QSA,L]
RewriteRule ^cekdata.html$ register_verified.php [QSA,L]
RewriteRule ^selesai.html$ register_send.php [QSA,L]
RewriteRule ^cetak.html$ register_cetak.php [QSA,L]
RewriteRule ^pendaftar.html$ register_list.php [QSA,L]
RewriteRule ^cetakulang.html$ register_cetakulang.php [QSA,L]
RewriteRule ^formulir.html$ register_cetakulang2.php [QSA,L]
RewriteRule ^persyaratan.html$ persyaratan.php [QSA,L]
RewriteRule ^jadwal.html$ jadwal.php [QSA,L]
RewriteRule ^kontak.html$ kontak.php [QSA,L]
RewriteRule ^sukses.html$ kirim.php [QSA,L]
RewriteRule ^alur-pendaftaran.html$ alur.php [QSA,L]
###Start Kloxo PHP config Area
### begin content - please not remove this line
### MR -- attention
### 1. Move '#<Ifmodule !mod_php5.c>' until '#</Ifmodule>' on
### above '###Start Kloxo PHP config Area'
### 2. Remove # in front of '#<Ifmodule !mod_php5.c>' and '#</Ifmodule>'
### on point (1)
### 3. Remove # in front of 'AddHandler x-httpd-php52' to activate php 5.2 as
### secondary-php on point (1)
### 4. Or Remove # in front of 'AddHandler x-httpd-php' to activate php branch as
### secondary-php on point (1)
### 5. Copy '#<Ifmodule !mod_php5.c>' until '#</Ifmodule>' to subdirectory and then
### follow point (1)-(4) if want certain php version active in subdirectory
### end content - please not remove this line
###End Kloxo PHP config Area
tapi ketika test malah ngedownload knapa yah?
misal kita klik link ke "pendaftaran.html"
jadinya malah ngedownload "pendaftaran.html"
webserver yang digunakan nginxproxy, tapi ketika di switch