<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Nginx Forum - Indonesian Forum</title>
<description>Discussions in Indonesian</description><link>http://forum.nginx.org/list.php?13</link><lastBuildDate>Thu, 20 Jun 2013 03:25:26 -0400</lastBuildDate>
<generator>Phorum 5.2.16</generator>
<item>
<guid>http://forum.nginx.org/read.php?13,239275,239275#msg-239275</guid>
<title>Ada yang tau setting server untuk laravel 3? (no replies)</title><link>http://forum.nginx.org/read.php?13,239275,239275#msg-239275</link><description><![CDATA[Selamat malam semuanya :)<br /><br />Mau nanya nih,<br />Ada yang tau setting server untuk laravel 3 ngak?<br /><br />terima kasih.]]></description>
<dc:creator>justme77</dc:creator>
<category>Indonesian Forum</category><pubDate>Thu, 16 May 2013 09:58:01 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,230992,230992#msg-230992</guid>
<title>[help]php di eksekusi sebagai plain text (no replies)</title><link>http://forum.nginx.org/read.php?13,230992,230992#msg-230992</link><description><![CDATA[ane ada server centos 6.3 nginx pas bikin vhost untuk sebuah web misal<br />web.com malah forbidden,tapi pas web.com/ip.php &lt;= yang isinya sebagai file pembaca ip pengunjung<br />malah di baca sebagai plaintext<br />sekedar info<br />pas saya jalankan perintah ini<br />service php-fpm start<br />malah muncul sepperti ini<br /><br />php-fpm: unrecognized service<br /><br />tapi pas saya ketik<br /><br />netstat -tulpn | less<br />php-fpm listen di port 9000<br />tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 19266/php-fpm<br />kira-kira kenapa ya??<br />anehnya lagi pas saya restart nginx kok begini<br /><br /><br />service nginx restart<br />nginx: [warn] conflicting server name &quot;web.com&quot; on 0.0.0.0:80, ignored<br />Stopping nginx: [FAILED]<br />Starting nginx: nginx: [warn] conflicting server name &quot;web.com&quot; on 0.0.0.0:80, ignored<br />nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)<br />nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)<br />nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)<br />nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)<br />nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)<br />nginx: [emerg] still could not bind()<br />[FAILED]<br />anyone can help me?<br />please...saya udh mentok googling sana-sini :(]]></description>
<dc:creator>t99</dc:creator>
<category>Indonesian Forum</category><pubDate>Mon, 24 Sep 2012 10:38:46 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,226872,226872#msg-226872</guid>
<title>mod rewrite convert (1 reply)</title><link>http://forum.nginx.org/read.php?13,226872,226872#msg-226872</link><description><![CDATA[Cara konversi mod rewrite ini gimana ya?<br /><br />RewriteEngine On<br />RewriteCond %{REQUEST_URI} ^(.+)\~s$<br />RewriteRule ^(.*) stats.php?u=$1 [L]<br />RewriteCond %{REQUEST_URI} ^(.+)\~d$<br />RewriteRule ^(.*) delete_file.php?u=$1 [QSA,L]<br />RewriteCond %{REQUEST_URI} ^(.+)\~i$<br />RewriteRule ^(.*) share_file.php?u=$1 [QSA,L]<br /><br />RewriteCond %{REQUEST_FILENAME} !-f<br />RewriteCond %{REQUEST_FILENAME} !-d<br />RewriteCond $1 !\.html$<br />RewriteRule ^(.*) file_download.php?u=$1 [QSA,L]<br /><br />RewriteRule ^(.*).html$ $1.php [L]]]></description>
<dc:creator>dencow</dc:creator>
<category>Indonesian Forum</category><pubDate>Tue, 30 Oct 2012 04:18:02 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,224515,224515#msg-224515</guid>
<title>Auto Installer Nginx – PHP – MySQL ***** (no replies)</title><link>http://forum.nginx.org/read.php?13,224515,224515#msg-224515</link><description><![CDATA[Here are the provided apps and modules:<br /><br />NginX 1.1.11 &amp; 1.0.10<br />PHP 5.3.8 with PHP-FPM (Latest 5.3.x , faster for processing php script)<br />MySQL 5.5.19<br />phpMyAdmin 3.4.8<br />ionCube PHP Loader 4.0.11<br />Alternative PHP Cache (APC) 3.1.9<br />eAccelerator 0.9.6.1<br />XCache 1.3.2<br />Suhosin Extension 0.9.32.1<br />Imagick 3.0.1 (Optional)<br />FFMPEG 0.6.0 (Optional)<br />PureFTPD 1.0.35 (Optional)<br />Latest WordPress (Additional)<br /><br />Download and Unpack the auto installer<br />wget http://download.upload.co.id/nginxauto-1.3.12.zip<br />unzip nginxauto-1.3.12.zip<br /><br />chmod +x centos.sh debuntu.sh vhost.sh<br /><br />optional: create an installation log first before you start the installation process, so if there’s any error it would be easier to detect. If the installation is not complete or goes wrong, please send the log file to: log [att] serversreview.net<br />script log.txt<br /><br />after the installation has finished, type<br />exit<br /><br />and it will generate ‘log.txt’ file<br /><br />Install master script on a fresh OS box<br />For CentOS 5 (If you’re already using the previous version, the script will ask if you want to upgrade your current NginX version.)<br />./centos.sh<br /><br />For Debian 6.0 and Ubuntu 10.10<br />./debuntu.sh<br /><br />Add / Remove Domain<br />./vhost.sh<br /><br />Main Apps Init command<br />Nginx<br />/etc/init.d/nginx { start | stop | restart }<br /><br />PHP-FPM<br />/etc/init.d/php-fpm { start | stop | restart }<br /><br />MySQL<br />/etc/init.d/mysql { start | stop | restart }<br /><br />How much memory it consume?<br /><br />Well, i’ve tested this script in 4 different vps location and most of them eat about 50MB to 80MB on idle condition (without bind), here’s the status from 2 vps:<br /><br />256MB XEN CentOS 5.5 (idle)<br />[root@server2 ~]# top<br />top - 04:36:56 up 3 days, 6:11, 1 user, load average: 0.00, 0.02, 0.04<br />Tasks: 113 total, 4 running, 109 sleeping, 0 stopped, 0 zombie<br />Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st<br />Mem: 262144k total, 187040k used, 75104k free, 7324k buffers<br />Swap: 262136k total, 1780k used, 260356k free, 110464k cached<br /><br />PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND<br />1 root 15 0 10352 236 204 S 0.0 0.1 0:00.09 init<br />2 root RT -5 0 0 0 S 0.0 0.0 0:00.20 migration/0<br />3 root 34 19 0 0 0 S 0.0 0.0 0:00.08 ksoftirqd/0<br />4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0<br />5 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/0<br />6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khelper<br />7 root 12 -5 0 0 0 S 0.0 0.0 0:00.00 kthread<br />9 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 xenwatch<br />10 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 xenbus<br />15 root RT -5 0 0 0 S 0.0 0.0 0:00.29 migration/1<br />16 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/1<br />17 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1<br />18 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/1<br />19 root RT -5 0 0 0 S 0.0 0.0 0:00.17 migration/2<br />20 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/2<br />21 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/2<br />22 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/2<br />23 root RT -5 0 0 0 S 0.0 0.0 0:00.22 migration/3<br />[root@server2 ~]# free<br />total used free shared buffers cached<br />Mem: 262144 186748 75396 0 7332 110456<br />-/+ buffers/cache: 68960 193184<br />Swap: 262136 1780 260356<br /><br />256MB OpenVZ CentOS 5.6 (idle)<br />[root@server5 ~]# top<br />top - 22:47:41 up 2:34, 1 user, load average: 0.52, 1.14, 0.89<br />Tasks: 22 total, 1 running, 21 sleeping, 0 stopped, 0 zombie<br />Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st<br />Mem: 524288k total, 59320k used, 464968k free, 0k buffers<br />Swap: 0k total, 0k used, 0k free, 0k cached<br /><br />PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND<br />1 root 18 0 2156 672 576 S 0.0 0.1 0:00.16 init<br />1512 root 19 0 2720 844 672 S 0.0 0.2 0:00.00 xinetd<br />3556 root 15 0 10988 3828 2272 S 0.0 0.7 0:01.56 sshd<br />3558 root 15 0 3616 1504 1272 S 0.0 0.3 0:00.02 bash<br />3599 root 15 0 2832 632 548 S 0.0 0.1 0:00.00 script<br />3600 root 15 0 2836 408 316 S 0.0 0.1 0:00.56 script<br />3601 root 15 0 3616 1504 1264 S 0.0 0.3 0:00.02 bash<br />3850 root 18 0 5684 700 424 S 0.0 0.1 0:00.00 saslauthd<br />3851 root 18 0 5684 440 164 S 0.0 0.1 0:00.00 saslauthd<br />3909 root 15 -4 2260 644 432 S 0.0 0.1 0:00.01 udevd<br />4055 root 15 0 1812 568 480 S 0.0 0.1 0:00.00 syslogd<br />5134 root 18 0 7200 1032 636 S 0.0 0.2 0:00.00 sshd<br />5279 root 18 0 4492 1100 556 S 0.0 0.2 0:00.00 crond<br />9588 root 18 0 3236 676 588 S 0.0 0.1 0:00.00 pure-ftpd<br />9720 root 18 0 12388 1464 340 S 0.0 0.3 0:00.00 nginx<br />9721 www 18 0 12672 2412 1008 S 0.0 0.5 0:00.00 nginx<br />9722 www 18 0 12568 1964 600 S 0.0 0.4 0:00.00 nginx<br />9726 root 18 0 44976 4564 1420 S 0.0 0.9 0:00.00 php-fpm<br />[root@server5 ~]# free<br />total used free shared buffers cached<br />Mem: 524288 58988 465300 0 0 0<br />-/+ buffers/cache: 58988 465300<br />Swap: 0 0 0]]></description>
<dc:creator>omrapid</dc:creator>
<category>Indonesian Forum</category><pubDate>Wed, 28 Mar 2012 03:10:43 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,224507,224507#msg-224507</guid>
<title>Auto Install Webmin via IIX (no replies)</title><link>http://forum.nginx.org/read.php?13,224507,224507#msg-224507</link><description><![CDATA[Persiapan vps anda dan login dengan id : root<br /><br />#iptables -I INPUT -p tcp --dport 10000 -j ACCEPT &amp;&amp; /etc/init.d/iptables save<br /><br />kemudian<br /><br />#cd /home<br />#rpm -ivh http://download.upload.co.id/webmin-1.470-1.noarch.rpm<br /><br />kemudian ketik perintah :<br />#yum install webmin<br /><br />done, hope fine for you]]></description>
<dc:creator>omrapid</dc:creator>
<category>Indonesian Forum</category><pubDate>Tue, 27 Mar 2012 23:51:23 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,224420,224420#msg-224420</guid>
<title>Auto Install Nginx+php+mysql instant by asian connection (1 reply)</title><link>http://forum.nginx.org/read.php?13,224420,224420#msg-224420</link><description><![CDATA[Pertama kali kita login ke root dan kesini :<br /><br />#cd /usr/local/src<br /><br /><br /><br />#wget http://www.download.upload.co.id/nginx-centos.sh<br /><br /><br />#bash nginx-centos.sh<br /><br /><br /><br /># setup-vhost namadomainbaru.com<br /><br /><br />Untuk create phpmyadmin tinggal download dan extract kemudian setting config.inc.php sesuai dengan keinginan kita.<br /><br />top markotob dijamin....<br /><br />untuk ssl phpmyadmin tolong bagi yang ngerti dibantu jabarkan caranya... thx]]></description>
<dc:creator>omrapid</dc:creator>
<category>Indonesian Forum</category><pubDate>Mon, 26 Mar 2012 09:44:22 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,223057,223057#msg-223057</guid>
<title>swf tidak dapat di load dari server nginx (no replies)</title><link>http://forum.nginx.org/read.php?13,223057,223057#msg-223057</link><description><![CDATA[saya baru di nginx..dan saya baru install nginx untuk menjalan kan sebuah web...OS yg saya pakai Debian 6<br />masalahnya adalah salah satu content berbasih flash swf tidak mau terbuka. padahal sebelumnya bisa dan saya sudah mencoba update ke flash player terbaru tetap tidak mau.berikut penampakannya<br /><br />http://i261.photobucket.com/albums/ii61/unique_leader/2012-02-27_224138.jpg<br /><br />nah itu kira2 salahnya di mana ya. mohon pencerahannya. atas solusinya saya ucapkan terima kasih :)]]></description>
<dc:creator>unique_leader</dc:creator>
<category>Indonesian Forum</category><pubDate>Mon, 27 Feb 2012 10:46:23 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,222069,222069#msg-222069</guid>
<title>Yii Framework + NGINX (no replies)</title><link>http://forum.nginx.org/read.php?13,222069,222069#msg-222069</link><description><![CDATA[Saya sedang coba membuat konfigurasi nginx untuk framework Yii, seperti berikut:<br /><br /># Konfigurasi Pendaftaran #<br /><br />location /pendaftaran {<br />access_log /home/muhfi/logs/ppdsreg-access.log main;<br />access_log /usr/local/nginx/logs/access.log main;<br />error_log /home/muhfi/logs/ppdsreg-error.log debug;<br />rewrite ^/(.*)$ http://ppds.usu.ac.id/$1/ permanent;<br />}<br /><br />location /pendaftaran/ {<br />index index.php index.html;<br />access_log /home/muhfi/logs/ppdsreg-access.log main;<br />access_log /usr/local/nginx/logs/access.log main;<br />error_log /home/muhfi/logs/ppdsreg-error.log debug;<br /><br />error_page 404 /index.php;<br /><br />if ( -f $request_filename)<br />{<br />expires max;<br />break;<br />}<br /><br />if ( !-e $request_filename)<br />{<br />rewrite ^/pendaftaran/(.*)$ /pendaftaran/index.php/$1 last;<br />}<br /><br /><br />}<br /><br /><br />}<br /><br /><br />location /pendaftaran/index.php {<br />fastcgi_pass 127.0.0.1:9000;<br />fastcgi_index index.php;<br />include fastcgi_params;<br />fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br />fastcgi_param REQUEST_URI $request_uri;<br />fastcgi_param QUERY_STRING $query_string;<br />fastcgi_param PATH_INFO $document_uri;<br />fastcgi_param REQUEST_METHOD $request_method;<br />}<br /><br />Penggalan konfigurasi diatas adalah konfigurasi yang saya coba, tapi belum berhasil dan keluar tulisan &quot;No input file specified&quot; pada browser.<br /><br />/var/www/app/public_html &lt;-- ROOT<br />/var/www/app/yii_framework<br /><br />aplikasi yii berada di subdir &quot;pendaftaran&quot; (/var/www/app/public_html/pendaftaran/)<br /><br />Adakah yang pernah mengalami hal yang sama? Mohon berbagi dan bantuannya]]></description>
<dc:creator>muhfiasbin</dc:creator>
<category>Indonesian Forum</category><pubDate>Tue, 07 Feb 2012 05:50:07 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,217464,217464#msg-217464</guid>
<title>High Load mysql (2 replies)</title><link>http://forum.nginx.org/read.php?13,217464,217464#msg-217464</link><description><![CDATA[Hallo abang-abang, om-om semua yang master...^_^<br /><br />Mohon bantuan nya donk.<br />lagi ada trouble nih di load cpu nya tinggi banged, padahal awal-awal sih ngga, udah maknyos dah pake nginx..eh sekarang load nya naik terus..spesifikasi pake vps<br />RAM = 768M<br />SWAP = 1567M<br />CPU = 2<br /><br />ini config my.cnf nya<br /><br />[mysqld]<br />#skip-name-resolve<br />safe-show-database<br />#old_passwords<br />back_log = 50<br />skip-innodb<br />max_connections = 500<br />key_buffer_size = 1536M<br />myisam_sort_buffer_size = 64M<br />join_buffer_size = 1M<br />read_buffer_size = 1M<br />sort_buffer_size = 2M<br />table_cache = 5000<br />thread_cache_size = 384<br />wait_timeout = 20<br />connect_timeout = 10<br />tmp_table_size = 64M<br />max_heap_table_size = 64M<br />max_allowed_packet = 64M<br />net_buffer_length = 16384<br />max_connect_errors = 100000<br />thread_concurrency = 4<br />concurrent_insert = 2<br />table_lock_wait_timeout = 30<br />read_rnd_buffer_size = 786432<br />bulk_insert_buffer_size = 8M<br />query_cache_limit = 3M<br />query_cache_size = 64M<br />query_cache_type = 1<br />query_prealloc_size = 262144<br />query_alloc_block_size = 65536<br />range_alloc_block_size = 4096<br />transaction_alloc_block_size = 8192<br />transaction_prealloc_size = 4096<br />default-storage-engine = MyISAM<br />max_write_lock_count = 8<br /><br />[mysqld_safe]<br />nice = -5<br />open_files_limit = 8192<br /><br />[mysqldump]<br />quick<br />max_allowed_packet = 64M<br /><br />[myisamchk]<br />key_buffer_size = 144M<br />sort_buffer_size = 16M<br />read_buffer_size = 16M<br />write_buffer_size = 16M<br /><br />untuk gambar load nya kaya gini..<br />http://video.eurekapage.com/files/photos/1319808563e83d46_o.jpg<br /><br />Mohon bantuan nya para master...]]></description>
<dc:creator>MyName</dc:creator>
<category>Indonesian Forum</category><pubDate>Wed, 14 Dec 2011 09:11:38 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,212246,212246#msg-212246</guid>
<title>Membuat Mail server Multi Domain di CentOS 5.6 + Nginx (no replies)</title><link>http://forum.nginx.org/read.php?13,212246,212246#msg-212246</link><description><![CDATA[Sesuai judul diatas saya mw bertanya bagaimana cara membuat mail server dalam 1 VPS. dimana VPS ini saat ini saya gunakan untuk multi domain. dengan harapan;<br /><br />1. Email server yang ringan dan stabil.<br />2. Mampu menangani email account di multi domain dengan banyak user.<br />3. Dapat diakses melalui webmail di browser dan pop3 (office outlook).<br /><br />1. Bagaimana cara membuat mail server dengan menggunakan NginX sebagai webservernya.<br />rencananya mau di install pada VPS dengan spek minin, 256 MB RAM, 512 MB Burs, 10 GB HD. VPS ini tanpa menggunakan control panel samam sekali (kloxo, webmin dsb).<br /><br />2. (bagaimana cara add dan delete user, pemberian password, pembatasan quota memory email, akses email dengan webmail misal mail.namadomain.com / webmail.namadomain.com).<br /><br />saat ini OS yg sy gunakan CentOS 5.6 + nginx 0.8 + PHP + MySQL + LNMP.org<br /><br />mohon bantuan petunjuk instalasi dan konvigurasi step by step mail server yah oom, karena saya masih awam banget om.<br />modul sebagai referensi;<br /><br />MTA: exim<br />POP3/IMAP: dovecot<br />Webmail: Squirrelmail / Roundcube<br /><br />Mohon bantuannya.]]></description>
<dc:creator>arvandy</dc:creator>
<category>Indonesian Forum</category><pubDate>Tue, 12 Jul 2011 02:47:29 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,210819,210819#msg-210819</guid>
<title>403 forbidden (4 replies)</title><link>http://forum.nginx.org/read.php?13,210819,210819#msg-210819</link><description><![CDATA[dear mas - mas semua...<br />saya pengen bertanya sedikit tentang 403 forbidden,jadi ceritanya setelah installasi di ubuntu 11.04 ,install nya di compile sendiri,pertama berjalan lancar sekali (welcome to nginx !) tapi setelah 2 hari,berubah menjadi 403 forbidden !!<br />ada yang pernah mengalami hal seperti ini ?<br /><br />dibantuu yaa...]]></description>
<dc:creator>petrus-id</dc:creator>
<category>Indonesian Forum</category><pubDate>Tue, 31 Jul 2012 02:07:58 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,207009,207009#msg-207009</guid>
<title>500 Internal Server Error (2 replies)</title><link>http://forum.nginx.org/read.php?13,207009,207009#msg-207009</link><description><![CDATA[Salam,<br /><br />Langsung aja ya :)<br /><br />Aku punya masalah 500 Internal Server Error<br /><br />Terlihat dari error log :<br /><br />2011/06/15 10:41:26 [error] 15347#0: *755 rewrite or internal redirection cycle while internal redirect to &quot;/index.php&quot;<br /><br />Aku pakai nginx v.0.8.54 untuk Joomla CMS dan sedang dalam pengerjaan template baru. Nah, ketika template baru diimplementasikan, ERROR 500 selalu muncul sewaktu meng-klik salah satu link di homepage dengan pesan error_log seperti terlihat di atas (Home Page dapat muncul dengan baik).<br /><br />Aku kira ini masalah versi Nginx. Jadi, aku upgrade Nginx dari versi 0.8.54 ke versi 1.0.4. Namun, tetap menemukan masalah yang sama.<br /><br />Ada pendapat kawan-kawan? Mohon bantuannya.<br /><br />Terima Kasih,]]></description>
<dc:creator>muhfiasbin</dc:creator>
<category>Indonesian Forum</category><pubDate>Sun, 26 Feb 2012 04:25:16 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,206027,206027#msg-206027</guid>
<title>rewrite rule untuk Website Static (1 reply)</title><link>http://forum.nginx.org/read.php?13,206027,206027#msg-206027</link><description><![CDATA[Hallo Alls,<br /><br />Mau tanya ini saya ada kendala untuk rewrite rule pada settingan website untuk vhost<br /><br />RewriteEngine on<br />RewriteRule ^(.*)\.html$ index.php?pg=$1 [nc]<br />RewriteRule ^sitemap.xml$ sitemap.php [L]<br />RewriteRule ^rssfeed.xml$ rssfeed.php [L]<br /><br />Kalau kita pakai nginx gmana ya?<br /><br />Terima Kasih]]></description>
<dc:creator>zerocode</dc:creator>
<category>Indonesian Forum</category><pubDate>Sun, 19 Jun 2011 04:03:33 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,187581,187581#msg-187581</guid>
<title>[ask] Integrate phpMyAdmin with nginx (4 replies)</title><link>http://forum.nginx.org/read.php?13,187581,187581#msg-187581</link><description><![CDATA[Kenalin anak baru mau tanya...<br /><br />cara biar phpmyadmin menyatu dengan nginx gimana ya..mungkin para suhu di sini pernah ada yang nyoba, coz nyari di mbah google, trus di praktekin gak bisa2 truz...]]></description>
<dc:creator>Maz Rendra</dc:creator>
<category>Indonesian Forum</category><pubDate>Mon, 26 Mar 2012 09:42:55 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,173032,173032#msg-173032</guid>
<title>ASK ank baru pengen tau (no replies)</title><link>http://forum.nginx.org/read.php?13,173032,173032#msg-173032</link><description><![CDATA[misi mas bro sekalian,<br />salam kenal, ane baru mau belajar tentang webserver nih..<br />mau tanya mas bro..<br /><br />nginx itu = apache?<br />pengganti apache gitu?<br /><br />ada yg tau gak, nginx duet sm distro apa biar mem usage minim, coz vpsane minim ram &gt;,&lt;&quot;<br /><br />trus kalo misalnya<br />nginx + debian/somedistro + webmin bisa gak yah dengan ram 512..<br /><br />mohon pencerahannya mastah2<br />Trimakasih..]]></description>
<dc:creator>btw</dc:creator>
<category>Indonesian Forum</category><pubDate>Mon, 07 Feb 2011 16:49:17 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,159553,159553#msg-159553</guid>
<title>[Nanya] setting multi IP dan multi domain (2 replies)</title><link>http://forum.nginx.org/read.php?13,159553,159553#msg-159553</link><description><![CDATA[halo semuanya,<br /><br />jika kita punya beberapa IP bagaimana konfig nginx supaya tiap domain punya IP nya sendiri seperti contoh:<br />domain1.com =&gt; 1.1.1.1<br />domain2.com =&gt; 2.2..2.2<br />domain3.com =&gt; 3.3.3.3<br /><br />makasih]]></description>
<dc:creator>ewwink</dc:creator>
<category>Indonesian Forum</category><pubDate>Sun, 19 Dec 2010 04:10:45 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,158673,158673#msg-158673</guid>
<title>Konfigurasi Nginx untuk WordPress (3 replies)</title><link>http://forum.nginx.org/read.php?13,158673,158673#msg-158673</link><description><![CDATA[Berikut ini konfigurasi nginx.conf yang saya gunakan untuk wordpress<br /><br />server {<br />limit_conn myzone 10;<br />listen 80;<br />autoindex on;<br />server_name secure.id-id.net;<br />location / {<br />root /home/user/public_html;<br />index index.php index.html index.htm;<br />if (!-e $request_filename) {<br />rewrite ^.*$ /index.php last;<br />}<br />if ($request_uri ~* ^.*/.*$) {<br />rewrite ^/(w*)/(.*)$ /$1/index.php?q=$2 last;<br />break;<br />}<br />}<br />location ~ \.php$ {<br />root public_html;<br />fastcgi_pass 127.0.0.1:9000;<br />fastcgi_index index.php;<br />fastcgi_param SCRIPT_FILENAME /home/user/public_html$fastcgi_script_name;<br />include fastcgi_params;<br />}<br />}<br /><br />Silahkan disesuaikan sesuai kebutuhan masing-masing<br />Semoga bermanfaat]]></description>
<dc:creator>teguhaditya</dc:creator>
<category>Indonesian Forum</category><pubDate>Thu, 08 Nov 2012 02:28:40 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,158666,158666#msg-158666</guid>
<title>Nginx pada CentOS (no replies)</title><link>http://forum.nginx.org/read.php?13,158666,158666#msg-158666</link><description><![CDATA[Untuk menginstall nginx, pada CentOS dan Keluarga RHEL (RedHat Enterprise Linux) adalah sebagai berikut:<br /><br />untuk system 64bit<br />[root@teguh.web.id ~]# cd /tmp<br />[root@teguh.web.id tmp]#<br />[root@teguh.web.id tmp]# wget http://rpmforge.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/geoip-1.4.6-1.el5.rf.x86_64.rpm http://rpmforge.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/geoip-devel-1.4.6-1.el5.rf.x86_64.rpm http://centos.alt.ru/pub/nginx/0.9/RHEL/RPMS/x86_64/nginx-0.9.3-1.el5.x86_64.rpm<br />[root@teguh.web.id tmp]# rpm -Uvh geoip-1.4.6-1.el5.rf.x86_64.rpm geoip-devel-1.4.6-1.el5.rf.x86_64.rpm nginx-0.9.2-1.el5.x86_64.rpm<br />[root@teguh.web.id tmp]# chkconfig nginx on<br />[root@teguh.web.id tmp]# service nginx start<br /><br />untuk system 32bit<br />[root@teguh.web.id ~]# cd /tmp<br />[root@teguh.web.id tmp]#<br />[root@teguh.web.id tmp]# wget http://rpmforge.sw.be/redhat/el5/en/i386/rpmforge/RPMS/geoip-1.4.6-1.el5.rf.i386.rpm http://rpmforge.sw.be/redhat/el5/en/i386/rpmforge/RPMS/geoip-devel-1.4.6-1.el5.rf.i386.rpm http://centos.alt.ru/pub/nginx/0.9/RHEL/RPMS/i386/nginx-0.9.3-1.el5.i386.rpm<br />[root@teguh.web.id tmp]# rpm -Uvh geoip-1.4.6-1.el5.rf.i386.rpm geoip-devel-1.4.6-1.el5.rf.i386.rpm nginx-0.9.2-1.el5.i386.rpm<br />[root@teguh.web.id tmp]# chkconfig nginx on<br />[root@teguh.web.id tmp]# service nginx start<br /><br />Semoga Bermanfaat]]></description>
<dc:creator>teguhaditya</dc:creator>
<category>Indonesian Forum</category><pubDate>Tue, 14 Dec 2010 14:56:56 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,155851,155851#msg-155851</guid>
<title>Request Instalasi Nginx + virtualmin (3 replies)</title><link>http://forum.nginx.org/read.php?13,155851,155851#msg-155851</link><description><![CDATA[Juragan semua saya mau nanya, cpanel virtualmin yg gratis dikawinkan dengan nginx bisa kah??<br /><br />klo bisa mohon di share tutorialnya disini donk, terima kasih sebelumnya....]]></description>
<dc:creator>omrapid</dc:creator>
<category>Indonesian Forum</category><pubDate>Wed, 03 Oct 2012 00:32:01 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,155833,155833#msg-155833</guid>
<title>Share Perbandingan Apache + Litespeed + Nginx yukkk (3 replies)</title><link>http://forum.nginx.org/read.php?13,155833,155833#msg-155833</link><description><![CDATA[Saya lebih memilih cpanel + nginx untuk domain yang banyak dalam satu server.<br /><br />kemarin sempat pake litespeed + cpanel (tp berbayar brothers)<br /><br />Klo apache + cpanel tidak dapat dihandalkan buat domain yang sering dikunjungi orang banyak<br />akan terasa lambat dan lemot abissss<br /><br />bagaimana menurut pandangan anda brothers??<br />share pengalamannya juga yah...]]></description>
<dc:creator>omrapid</dc:creator>
<category>Indonesian Forum</category><pubDate>Wed, 12 Oct 2011 06:15:36 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,155832,155832#msg-155832</guid>
<title>Menggunakan nginx untuk mempercepat Apache di Cpanel server (no replies)</title><link>http://forum.nginx.org/read.php?13,155832,155832#msg-155832</link><description><![CDATA[Nginx - tersebut, kecil kilat cepat dan server web yang sangat efisien biasanya digunakan untuk melayani konten statis atau sebagai reverse proxy / penyeimbang beban untuk Apache atau backends relatif lambat lainnya. Jadi itu akan alami untuk menggunakan nginx sebagai tampilan untuk Cpanel's Apache. Ini akan menghemat sejumlah besar memori dan waktu CPU biasanya terisap oleh anak-anak Apache spoonfeeding banyak konten kepada klien.<br /><br />Saya selalu memiliki pemikiran ini, tetapi sampai saat ini tidak punya waktu untuk melihat secara dekat mengimplementasikannya. Lalu aku melihat sebuah posting forum dengan contoh script untuk menghasilkan file nginx konfigurasi berdasarkan informasi account Cpanel, dan kemudian sebuah serangan pengunjung pada server Cpanel bersama saya admin melambat untuk merangkak, dan aku dipaksa untuk menyelidiki jeroan dari Cpanel. Sebagai hasil dari penyelidikan ini saya menulis &quot;nginx di Cpanel&quot; HOWTO yang disajikan di bawah ini.<br /><br />[b]Instalasi Apache modul[/b]<br /><br />Pertama-tama, ketika nginx digunakan sebagai proxy reverse ke Apache, IP pengunjung 'yang diterima oleh Apache adalah salah - semua permintaan untuk Apache berasal dari nginx, sehingga server utama IP akan mulai bisa login.<br />Untuk membuat Apache log IP nyata dari pengunjung bukan IP server utama, sebuah modul Apache khusus (mod_rpaf) diperlukan.<br />Download, untar, cd ke direktori yang baru dibuat dan jalankan perintah ini sebagai root:<br />/ Usr / local / apache / bin / apxs-i-c-n mod_rpaf-2.0.so mod_rpaf-2.0.c<br />Yang akan menginstal modul ke direktori modul Apache.<br /><br />Lalu pergi ke WHM, Utama&gt;&gt; Layanan Konfigurasi&gt;&gt; Apache Konfigurasi&gt; Termasuk Editor&gt; Pra Utama Sertakan dan tambahkan bagian ini di sana, menggantikan LIST_OF_YOUR_IPS dengan daftar alamat IP yang dikelola oleh Cpanel:<br /><br />LoadModule rpaf_module modules/mod_rpaf-2.0.so<br /><br />[code]<br />RPAFenable On<br /># Enable reverse proxy add forward<br />RPAFproxy_ips 127.0.0.1 LIST_OF_YOUR_IPS<br /># which ips are forwarding requests to us<br />RPAFsethostname On<br /># let rpaf update vhost settings<br /># allows to have the same hostnames as in the &quot;real&quot;<br /># configuration for the forwarding Apache<br />RPAFheader X-Real-IP<br /># Allows you to change which header mod_rpaf looks<br /># for when trying to find the ip the that is forwarding<br /># our requests<br />[/code]<br /><br />[b]Perubahan konfigurasi apache[/b]<br /><br />Maka kita perlu untuk memindahkan Apache untuk port lain, mari kita 81 misalnya. Anda hanya dapat mengeditnya di halaman &quot;Pengaturan Tweak&quot; di WHM, menggantikan 0.0.0.0:80 dengan 0.0.0.0:81 atau, melakukan dengan cara command line, edit / var / cpanel / cpanel.config dan perubahan port 80 di apache_port 81 penugasan:<br /><br />apache_port = 0.0.0.0:81<br /><br />Jalankan / usr/local/cpanel/whostmgr/bin/whostmgr2 - updatetweaksettings sebagai disarankan di bagian atas file tersebut.<br />Periksa / usr / local / apache / conf / httpd.conf untuk setiap kejadian port 80, lalu jalankan / scripts / rebuildhttpdconf untuk membuat httpd.conf yakin up to date.<br /><br />Hal ini juga masuk akal untuk mengurangi jumlah anak Apache, sebagai nginx akan mengurus spoonfeeding data untuk menghubungkan klien melalui link jaringan yang lambat, membebaskan anak-anak Apache untuk melakukan pekerjaan backend mereka. Edit / usr / local / apache / conf / httpd.conf dan ganti bagian prefork.c dengan ini (catatan yang saya gunakan nilai-nilai yang sangat sederhana di sini, dan jarak tempuh Anda mungkin berbeda):<br /><br />[code]<br />&lt;IfModule prefork.c&gt;<br />StartServers 5<br />MinSpareServers 2<br />MaxSpareServers 5<br />MaxClients 50<br />MaxRequestsPerChild 0<br />&lt;/IfModule&gt;<br />[/code]<br /><br />Run /usr/local/cpanel/bin/apache_conf_distiller --update --main to pick up the changes, and then /scripts/rebuildhttpdconf to make sure your changes are in.<br />Note that you will need to watch Apache extended server status at the peak load times to have an idea how many Apache children your server needs by default.<br /><br />Anda juga harus update Apache port di /etc/chkserv.d/httpd dan restart chksrvd with /etc/init.d/chksrvd restart<br /><br />[b]Generating nginx config files[/b]<br /><br />Langkah terakhir - kita harus membangun nginx file konfigurasi berdasarkan domain host pada server Anda.<br />Hal ini dilakukan oleh script sederhana yang akan menghasilkan file konfigurasi dua untuk nginx - satu utama di sini: [code]<br />/usr/local/nginx/conf/nginx.conf<br />[/code]<br /><br /><br />dan semua virtual hosts: [code]<br />/usr/local/nginx/conf/vhost.conf<br />[/code]<br /><br />[code]<br />#!/bin/sh<br /><br />cat &gt; &quot;/usr/local/nginx/conf/nginx.conf&quot; &lt;&lt;EOF<br />user nobody;<br /># no need for more workers in the proxy mode<br />worker_processes 1;<br /><br />error_log logs/error.log info;<br /><br />worker_rlimit_nofile 8192;<br /><br />events {<br />worker_connections 512; # increase for more busy servers<br />use rtsig; # you should use epoll here for Linux kernels 2.6.x<br />}<br /><br />http {<br />server_names_hash_max_size 2048;<br /><br />include mime.types;<br />default_type application/octet-stream;<br /><br />sendfile on;<br />tcp_nopush on;<br />tcp_nodelay on;<br /><br />keepalive_timeout 10;<br /><br />gzip on;<br />gzip_min_length 1100;<br />gzip_buffers 4 32k;<br />gzip_types text/plain text/html application/x-javascript text/xml text/css;<br />ignore_invalid_headers on;<br /><br />client_header_timeout 3m;<br />client_body_timeout 3m;<br />send_timeout 3m;<br />connection_pool_size 256;<br />client_header_buffer_size 4k;<br />large_client_header_buffers 4 32k;<br />request_pool_size 4k;<br />output_buffers 4 32k;<br />postpone_output 1460;<br /><br />include &quot;/usr/local/nginx/conf/vhost.conf&quot;;<br />}<br /><br />EOF<br /><br />/bin/cp /dev/null /usr/local/nginx/conf/vhost.conf<br /><br />cd /var/cpanel/users<br />for USER in *; do<br />for DOMAIN in `cat $USER | grep ^DNS | cut -d= -f2`; do<br />IP=`cat $USER|grep ^IP|cut -d= -f2`;<br />ROOT=`grep ^$USER: /etc/passwd|cut -d: -f6`;<br />echo &quot;Converting $DOMAIN for $USER&quot;;<br /><br />cat &gt;&gt; &quot;/usr/local/nginx/conf/vhost.conf&quot; &lt;&lt;EOF<br />server {<br />access_log off;<br /><br />error_log logs/vhost-error_log warn;<br />listen 80;<br />server_name $DOMAIN www.$DOMAIN;<br /><br /># uncomment location below to make nginx serve static files instead of Apache<br /># !WARNING!<br /># it will make the bandwidth accounting incorrect as these files won't be logged!<br />#location ~* \.(gif|jpg|jpeg|png|wmv|avi|mpg|mpeg|mp4|htm|html|js|css)$ {<br /># root $ROOT/public_html;<br />#}<br /><br />location / {<br />client_max_body_size 10m;<br />client_body_buffer_size 128k;<br /><br />proxy_send_timeout 90;<br />proxy_read_timeout 90;<br /><br />proxy_buffer_size 4k;<br /># you can increase proxy_buffers here to suppress &quot;an upstream response<br /># is buffered to a temporary file&quot; warning<br />proxy_buffers 16 32k;<br />proxy_busy_buffers_size 64k;<br />proxy_temp_file_write_size 64k;<br /><br />proxy_connect_timeout 30s;<br /><br />proxy_redirect http://www.$DOMAIN:81 http://www.$DOMAIN;<br />proxy_redirect http://$DOMAIN:81 http://$DOMAIN;<br /><br />proxy_pass http://$IP:81/;<br /><br />proxy_set_header Host \$host;<br />proxy_set_header X-Real-IP \$remote_addr;<br />proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;<br />}<br />}<br />EOF<br />done<br />done<br />[/code]<br /><br />Jalankan /usr/local/nginx/sbin/nginx -t<br /><br />untuk memeriksa configuration, kemudian /usr/local/nginx/sbin/nginx untuk memulai nginx. Selesai dech...]]></description>
<dc:creator>omrapid</dc:creator>
<category>Indonesian Forum</category><pubDate>Sun, 05 Dec 2010 16:59:20 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,155349,155349#msg-155349</guid>
<title>Nginx pada cPanel (5 replies)</title><link>http://forum.nginx.org/read.php?13,155349,155349#msg-155349</link><description><![CDATA[Untuk menginstall nginx pada cPanel dapat mengikuti cara berikut:<br /><br />Installasi:<br />cd /usr/local/src<br />wget http://nginxcp.com/nginxadmin1.6-stable.tar<br />tar xf nginxadmin1.6-stable.tar<br />cd publicnginx<br />./nginxinstaller install<br /><br />Catatan: Jika sebelumnya telah terinstall nginx versi sebelumnya, harap menguninstallnya terlebih dahulu.<br /><br />Uninstall:<br />cd /usr/local/src<br />wget http://nginxcp.com/nginxadmin1.6-stable.tar<br />tar xf nginxadmin1.6-stable.tar<br />cd publicnginx<br />./nginxinstaller uninstall<br /><br />semoga bermanfaat.]]></description>
<dc:creator>teguhaditya</dc:creator>
<category>Indonesian Forum</category><pubDate>Mon, 07 Feb 2011 16:27:15 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,147613,147613#msg-147613</guid>
<title>Sharring Installasi Nginx Webserver yuk disini (4 replies)</title><link>http://forum.nginx.org/read.php?13,147613,147613#msg-147613</link><description><![CDATA[Saya ingin berbagi sedikit ilmu install nginx server tp bukan webservernya.... karena ilmu om masih terbatas<br />jadi ingin sharing disini mana tau bisa jadi bukit bersama :D<br /><br />* Nginx tidak tersedia dalam Centos repo yang resmi, jadi musti make repo yang lain dulu<br /><br />[code]<br />cd /etc/yum.repos.d/<br />wget http://centos.karan.org/kbsingh-CentOS-Extras.repo<br />[/code]<br /><br /><br />* Buka /etc/yum.repos.d/kbsingh-CentOS-Extras.repo<br /><br />[code]<br />nano /etc/yum.repos.d/kbsingh-CentOS-Extras.repo<br />[/code]<br /><br /><br /><br />* ... set gpgcheck menjadi 0 dan enable menjadi 1 pada block [kbs-CentOS-Testing]<br /><br />[code]<br /><br /># pkgs in the -Testing repo are not gpg signed<br />[kbs-CentOS-Testing]<br />name=CentOS.Karan.Org-EL$releasever - Testing<br />gpgcheck=0<br />gpgkey=http://centos.karan.org/RPM-GPG-KEY-karan.org.txt<br />enabled=1<br />baseurl=http://centos.karan.org/el$releasever/extras/testing/$basearch/RPMS/<br />[/code]<br /><br /><br />[b]* install nginx[/b]<br /><br /><br />[code]<br />yum install nginx<br />[/code]<br /><br /><br />* setting autorun pd server dan jalankan nginx<br />[code]<br />chkconfig --levels 235 nginx on<br />[/code]<br /><br /><br />Masukkan comment<br />[code]<br />service nginx start<br />[/code]<br /><br /><br />otomatis vps / server anda sudah jalan dengan nginx server<br /><br />Mohon tutorial web server untuk instalasi aplikasi berikut dishare gan<br />Requirements:<br />* Perl &gt; 5.005 ver. [http://www.perl.com/download.csp]<br />* LWP, DBI, DBD::mysql Perl modules<br />* MySQL database &gt;= 4.1 ver. [http://www.mysql.com]<br />* Apache mod_rewrite module, mod_headers module (optional)<br />* .htaccess files enabled [http://www.tutorio.com/tutorial/enab...ite-on-apache]<br />* GD lib, GD perl module (optional) [http://www.libgd.org/Downloads]]]></description>
<dc:creator>omrapid</dc:creator>
<category>Indonesian Forum</category><pubDate>Sun, 19 Jun 2011 03:51:48 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,99403,99403#msg-99403</guid>
<title>akang nyai teteh .... (2 replies)</title><link>http://forum.nginx.org/read.php?13,99403,99403#msg-99403</link><description><![CDATA[wadoow ada saudara sebangsa disini ...absent aaah]]></description>
<dc:creator>sicute</dc:creator>
<category>Indonesian Forum</category><pubDate>Thu, 08 Nov 2012 02:20:15 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,86437,86437#msg-86437</guid>
<title>Nginx, Web Server Handal Untuk VPS dngn Resource Minimal (5 replies)</title><link>http://forum.nginx.org/read.php?13,86437,86437#msg-86437</link><description><![CDATA[Oke, saya cuman ingin share sedikit tentang pengalaman saya dengan nginx.<br />Walaupun saya mempunyai VPS dengan resource terbatas, pertama saya pikir ini tidak akan berhasil untuk multiuser, dan web yg banyak.<br />Akan tetapi setelah melihat referensi nginx dari situs ubuntu, saya mulai install vps ubuntu 9.04 saya dengan nginx, php-fpm, (Tutorial: http://www.nginx.se/resurser/nginx_php_fpm/ ) kemudian install vsftpd, dll.<br />Alhasil, saya sekarang menggunakan 5 website dengan jumlah kunjungan rata2 per-situs 50 visitor/hari, akan tetapi saya tidak pernah mendapatkan report website down dari aremysiteup.com, di tambah link download dengan web server yang berbeda host.<br />Sedikit informasi VPS saya:<br />RAM : 512 MB<br />HDD : 15 GB<br />dngn Template OS : Ubuntu 9.04]]></description>
<dc:creator>fauzievolute</dc:creator>
<category>Indonesian Forum</category><pubDate>Sun, 05 Dec 2010 16:36:43 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,23806,23806#msg-23806</guid>
<title>nginx per user (3 replies)</title><link>http://forum.nginx.org/read.php?13,23806,23806#msg-23806</link><description><![CDATA[hallo nginxers Indonesia,<br />Mohon bantuanya, ane habis migrasi dari apache ke nginx, bagaimana caranya membuat owner user per vhost di nginx seperti yg ada di suphp,<br /><br /><br />thanks]]></description>
<dc:creator>basbag</dc:creator>
<category>Indonesian Forum</category><pubDate>Sun, 05 Dec 2010 17:07:45 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,1303,1303#msg-1303</guid>
<title>Segmentation fault - signal 11 FreeBSD x64 (1 reply)</title><link>http://forum.nginx.org/read.php?13,1303,1303#msg-1303</link><description><![CDATA[hello,<br /><br />I have created module which contains the function set_crc32.<br />You can find the source of it below:<br />I've tested it on the Ubuntu and the function set_crc32 returned the value without any errors:<br />You can find the invoking set_crc32 below.<br />However when I tried to run it on the FreeBSD 7.1 x64<br />I got the error:<br />worker process 53751 exited on signal 11<br /><br />Please, help me. Does anyone know what I need to do?<br />I read the documents about signal 11. It means segmentation fault.<br />Did I work incorrect with r-&gt;pool ?<br />How do I need to free the memory?<br />The documentation says I do not need to use ngx_free to free the memory.<br />What is the right way?<br /><br />------ Configure file ------------------------<br />server {<br />listen 80;<br /><br />server_name localhost;<br /><br /># Check if our special is not already set<br />if ($http_cookie !~ ^.*crc32_value=\d+.*$ ) {<br />set $crc2_num1 &quot;127.0.1.2&quot;;<br />set_crc32 $crc32_num $crc2_num1 &quot;55&quot;;<br />set $crc32_value $crc32_num; # We will use that later to set the outgoing cookie<br />set $crc32_cookie &quot;crc32_value=$crc32_value; $http_cookie&quot;; # This will be sent to the upstream - simulated cookie<br />}<br /><br /><br /><br />location / {<br />proxy_set_header Cookie $crc32_cookie; # Make sure we have the correct cookie passed to the upstream<br />add_header Set-Cookie &quot;crc32_value=$crc32_value&quot;; # Make it stick with the client<br />root html;<br />index index.html index.htm;<br />if (!-f $request_filename) {<br />proxy_pass http://localhost;<br />break;<br />}<br />}<br />}<br /><br /><br /><br />------ Module source ---------------------<br /><br />#include &lt;ngx_config.h&gt;<br />#include &lt;ngx_core.h&gt;<br />#include &lt;ngx_http.h&gt;<br /><br />static char *ngx_http_crc32_set_crc32(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);<br /><br />static ngx_int_t ngx_http_crc32_variable(ngx_http_request_t *r, ngx_http_variable_value_t *v, uintptr_t data);<br />static ngx_int_t ngx_http_crc32_set_variable(ngx_http_request_t *r, ngx_http_variable_value_t *v, uintptr_t data);<br /><br /><br />static ngx_command_t ngx_http_set_crc32_commands[] = {<br /><br />{ ngx_string(&quot;set_crc32&quot;),<br />NGX_HTTP_SRV_CONF|NGX_HTTP_SIF_CONF|NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF|NGX_CONF_TAKE3,<br />ngx_http_crc32_set_crc32,<br />0,<br />0,<br />NULL },<br />ngx_null_command<br />};<br /><br /><br />static ngx_http_module_t ngx_http_set_crc32_module_ctx = {<br />NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL<br />};<br /><br /><br />ngx_module_t ngx_http_set_crc32_module = {<br />NGX_MODULE_V1,<br />&amp;ngx_http_set_crc32_module_ctx, /* module context */<br />ngx_http_set_crc32_commands, /* module directives */<br />NGX_HTTP_MODULE, /* module type */<br />NULL, /* init master */<br />NULL, /* init module */<br />NULL, /* init process */<br />NULL, /* init thread */<br />NULL, /* exit thread */<br />NULL, /* exit process */<br />NULL, /* exit master */<br />NGX_MODULE_V1_PADDING<br />};<br /><br />static char * ngx_http_crc32_set_crc32(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)<br />{<br />ngx_str_t *value;<br /><br />ngx_http_variable_t *vReturnValue;<br />ngx_http_variable_t *vIpAddress;<br /><br />unsigned char *buff;<br /><br />// get command parameters<br />value = cf-&gt;args-&gt;elts;<br /><br />// read first parameter - returned value<br />if (value[1].data[0] != '$') {<br />ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, &quot;invalid the first parameter(returned variable) name. It should begin with $ \&quot;%V\&quot;&quot;, &amp;value[1]);<br />return NGX_CONF_ERROR;<br />}<br /><br />// read second parameter<br />if (value[2].data[0] != '$') {<br />ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, &quot;invalid the secord parameter name. It should begin with $ \&quot;%V\&quot;&quot;, &amp;value[2]);<br />return NGX_CONF_ERROR;<br />}<br /><br />// read second parameter<br />if (value[3].data[0] == '$') {<br />ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, &quot;invalid the third parameter name. It should not begin with $ \&quot;%V\&quot;&quot;, &amp;value[3]);<br />return NGX_CONF_ERROR;<br />}<br /><br />value[1].len--;<br />value[1].data++;<br />vReturnValue = ngx_http_add_variable(cf, &amp;value[1], 0);<br /><br />value[2].len--;<br />value[2].data++;<br />vIpAddress = ngx_http_add_variable(cf, &amp;value[2], 0);<br /><br /><br />if (vReturnValue == NULL) {<br />return NGX_CONF_ERROR;<br />}<br /><br />if (vIpAddress == NULL) {<br />return NGX_CONF_ERROR;<br />}<br /><br />if (vReturnValue-&gt;get_handler == NULL ){<br />vReturnValue-&gt;get_handler = ngx_http_crc32_variable;<br />// read third parameter<br />buff = ngx_palloc(cf-&gt;pool, value[3].len + 1);<br />ngx_cpystrn(buff, value[3].data, value[3].len + 1);<br />vReturnValue-&gt;data = (uintptr_t)buff;<br />}<br />else {<br />ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, &quot;The value for Returned Variable already defined: \&quot;%V\&quot;. Please, do not initialize returned variable before call set_crc32.&quot;, &amp;value[1]);<br />return NGX_CONF_ERROR;<br />}<br />return NGX_CONF_OK;<br />}<br /><br />static ngx_int_t ngx_http_crc32_variable(ngx_http_request_t *r, ngx_http_variable_value_t *v, uintptr_t data)<br />{<br />ngx_str_t ipAddress = {ngx_strlen(r-&gt;variables[1].data), (unsigned char *) r-&gt;variables[1].data };<br />ngx_str_t ext = { ngx_strlen(data), (unsigned char *)data };<br />char* buff = ngx_palloc(r-&gt;pool, ipAddress.len + ext.len + 1);<br />sprintf(buff, &quot;%s%s&quot;, ipAddress.data, ext.data);<br />ngx_uint_t ucrc32;<br />ucrc32 = ngx_crc32_short((u_char*)buff, strlen(buff));<br />v-&gt;data=ngx_palloc(r-&gt;pool, 10);<br />ngx_sprintf(v-&gt;data, &quot;%d&quot;, ucrc32);<br />v-&gt;data[9] = 0;<br />v-&gt;len = 9;<br />/* Set all required params */<br />v-&gt;valid = 1;<br />v-&gt;no_cacheable = 0;<br />v-&gt;not_found = 0;<br /><br />return NGX_OK;<br />}]]></description>
<dc:creator>dalspenguin</dc:creator>
<category>Indonesian Forum</category><pubDate>Sun, 05 Dec 2010 17:11:02 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?13,263,263#msg-263</guid>
<title>Baru nyadar, ada topik khusus Indonesia! (16 replies)</title><link>http://forum.nginx.org/read.php?13,263,263#msg-263</link><description><![CDATA[Mana nih nginxers Indonesia?]]></description>
<dc:creator>mqueue</dc:creator>
<category>Indonesian Forum</category><pubDate>Thu, 08 Nov 2012 01:33:52 -0500</pubDate></item>
</channel>
</rss>