{"id":5,"date":"2009-05-27T11:17:19","date_gmt":"2009-05-27T04:17:19","guid":{"rendered":"http:\/\/oktobrima.staff.fe.uns.ac.id\/?p=5"},"modified":"2009-05-27T11:17:19","modified_gmt":"2009-05-27T04:17:19","slug":"install-webserver-dengan-mod_rewrite","status":"publish","type":"post","link":"https:\/\/angga.feb.uns.ac.id\/?p=5","title":{"rendered":"Install Webserver dengan mod_rewrite"},"content":{"rendered":"<p>cepakke neng source antara lain:<br \/>\n1. httpd-2.0.50.tar.gz (Untuk source Httpd,kadang source terbaru tidak ada mod_rewritenya tapi dicoba aja)<br \/>\n2. mysql-5.1.28-rc.tar.gz<br \/>\n3. php-5.2.5.tar.gz<\/p>\n<p>instalasi pertama   <a href=\"http:\/\/oktobrima.staff.uns.ac.id\/files\/2009\/04\/putty1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-64\" src=\"http:\/\/oktobrima.staff.uns.ac.id\/files\/2009\/04\/putty1-300x196.jpg\" alt=\"\" width=\"300\" height=\"196\" \/><\/a><br \/>\n1. install httpdnya dulu<br \/>\nlangkah2<br \/>\na. extrak httpd perintah<br \/>\n# tar xzvf httpd-2.0.50.tar.gz<br \/>\n# cd httpd-2.0.50<br \/>\n# .\/configure &#8211;prefix=\/usr\/local\/apache2 &#8211;enable-mods-shared=all &#8211;enable-so &#8211;enable-rewrite &#8211;enable-expires &#8211;enable-headers<\/p>\n<p># make<br \/>\n# make install<br \/>\nsampai selesai<\/p>\n<p>b. Install mysql seperti yang sebelumnya langkahnya sama persis jadi ngkperlu<br \/>\ndiuraikan lagi oke<\/p>\n<p>c. Kemudian install phpnya lngkah2nya<br \/>\n# tar xzvf php-5.2.5.tar.gz<br \/>\n# cd php-5.2.5<br \/>\n# .\/configure &#8211;with-apxs2=\/usr\/local\/apache2\/bin\/apxs &#8211;with-mysql=\/usr\/local\/mysql &#8211;with-openssl &#8211;enable-sockets &#8211;with-zlib-dir=\/usr\/lib &#8211;enable-magic-quotes &#8211;enable-inline-optimization &#8211;enable-bcmath &#8211;with-curl &#8211;with-png-dir &#8211;with-jpeg-dir &#8211;enable-calendar &#8211;with-ttf &#8211;with-gd &#8211;enable-mbstring<\/p>\n<p>enter tunggu sampek selesai kemudian<br \/>\n# make<br \/>\n# make install<br \/>\n# cp php.ini-dist \/usr\/local\/lib\/php.ini<br \/>\nseperti langkah sebelumnya<br \/>\ntambahkan baris berikut ke httpd.conf<\/p>\n<p>AddType application\/x-httpd-php .php .phtml<br \/>\nAddType application\/x-httpd-php-source .phps<\/p>\n<p>jalankan apachenya<br \/>\n# \/usr\/local\/apache2\/bin\/apachectl start<br \/>\nada sedikit eror tapi langsung aja cek dengan perintah<br \/>\n# ps ax<br \/>\nkalo ada commend httpd k berarti apache jalan sekarang brows ipnya<br \/>\nakan tertulis Its Work jadi apache jalan<br \/>\nselesai<\/p>\n<p>Biasanya Untuk mod_rewritenya udah otomatis jalan ketika apachenya dijalankan tapi untuk beberapa web contohnya misal wordpressMu ada sedikit perubahan di httpd.conf nya&#8230;<br \/>\nPada setingan<\/p>\n<p>Options FollowSymLinks<br \/>\nAllowOverride None = diganti All<\/p>\n<p>Jangan semuanya lo&#8230;cuman yang diatas aja oke ntar kalo diganti semua malah ngk bisa diakses webservernya&#8230;..oke<\/p>\n","protected":false},"excerpt":{"rendered":"<p>cepakke neng source antara lain: 1. httpd-2.0.50.tar.gz (Untuk source Httpd,kadang source terbaru tidak ada mod_rewritenya tapi dicoba aja) 2. mysql-5.1.28-rc.tar.gz 3. php-5.2.5.tar.gz instalasi pertama 1. install httpdnya dulu langkah2 a. extrak httpd perintah # tar xzvf httpd-2.0.50.tar.gz # cd httpd-2.0.50 # .\/configure &#8211;prefix=\/usr\/local\/apache2 &#8211;enable-mods-shared=all &#8211;enable-so &#8211;enable-rewrite &#8211;enable-expires &#8211;enable-headers # make # make install sampai selesai [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-5","post","type-post","status-publish","format-standard","hentry","category-freebsd"],"_links":{"self":[{"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=\/wp\/v2\/posts\/5","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5"}],"version-history":[{"count":0,"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=\/wp\/v2\/posts\/5\/revisions"}],"wp:attachment":[{"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}