22 Desember 2012

Cara Mengaktifkan .htaccess di localhost (xampp)

22 Desember 2012
Okeh, .htaccess ternyata bikin pusing juga, berawal dari tantangan si bos nyuruh nambahin halaman di website PHP, dan terakhir ngerjain PHP itu pas semester 6. wkwkw alkhasil mesti buka dan bongkar-bongkar om google lagi.

Nah, masalah muncul setelah selesai instal xampp, setting koneksi.php dan taruh mysql. Setelah buka localhost/portal. Ooo.. muncul eror

OBJECT NOT FOUND
The requested URL /someone/mistyped/a/link.html was not found on this server.


setelah bertapa sedikit dan mengingat-ngingat semedi di kamar mandi akhirnya dapat kesimpulan masalah nya ada di .htaccess .

Ternyata sangka ga disangka setelah kita selesai instalasi xampp kita harus mengaktifkan fungsi .htaccess agar file .htaccess bisa terbaca.

Cara Mengaktifkan File .htaccess di localhost (xampp)

1. Buka file httpd.conf di directory \xampp\apache\conf
2. Cari baris code
#LoadModule rewrite_module modules/mod_rewrite.so

3. Ubah dengan menghapus tanda '#' sehingga code menjadi
LoadModule rewrite_module modules/mod_rewrite.so

4. Save
5. Restart server apache


dan hulalala... coba buka kembali file anda :)

12 comments:

Fahri Nuralim mengatakan...

Mantap sekali gan (y)

Blog nya sudah saya follow, jngan lupa follback blog saya ya gan hehe

http://unik86.blogspot.com/

Di tunggu loh gan hehe

Salam kenal :)

Anonim mengatakan...

Genuine Panerai Luminor Marina Watches can now be found online.
Qnet has its offices in 9 countries and is still expanding.
With the presented business center one can create a network and spread the idea of the business eventually resulting to more sales, eventually resulting the desired money
and growth.
Here is my page :: http://axwatches.hubpages.com/

Anonim mengatakan...

Thank you for sharing your info. I really appreciate your efforts and I am waiting
for your further post thanks once again.
My site :: free royal caribbean cruise

Anonim mengatakan...

I hardly create responses, however after reading through some of the responses on "Cara Mengaktifkan .htaccess di localhost (xampp)".
I actually do have 2 questions for you if it's okay. Could it be simply me or do some of these responses appear like they are written by brain dead folks? :-P And, if you are writing on additional sites, I'd like to keep up with you.
Could you make a list of all of all your social community pages like your
linkedin profile, Facebook page or twitter feed?
Also visit my webpage furniture plans

Anonim mengatakan...

MantaaapS gan, Thanks For Your Information ... Sangat Bermanfaaat sekali...

ferry mengatakan...

Info yang sangat bermanfaat gan..
Keep sharing..

Salam dari ferry-at.blogspot.com

hamdan habibi mengatakan...

Gan punya ane masih gagal.
Ada bacaan
UNABLE TI CONNETC THE PROXY SERVER
Knp tuh gan?

Kelly Tanoto mengatakan...

www.indobet77.com

Master Agen Bola , Casino , Tangkas , Togel Terbesar
dan Terpercaya Pilihan Para Bettor

New Promo ( khusus produk 998bet )
- Bonus 100 % New Member sportsbook ( 998 bet ) .
- Bonus 100 % New Member Casino ( 998 bet ) .
( Syarat dan Ketentuan Berlaku )

Promo Terbaru :
- Bonus 10% New Member Sportsbook ( SBObet, IBCbet , AFB88 ,368bet , M8bet , 998bet )
- Bonus 5% New Member Casino Online ( 338a , 1Scasino , Asia8bet , CBO855 )
- Bonus 10% Setiap Hari Bola Tangkas ( TangkasNet , 368MM , 88 Tangkas )
- Togel Online ( Klik4D )
- Sabung Ayam ( New Produk )
- CASHBACK untuk Member
- BONUS REFERRAL 5% + 1% Seumur Hidup

untuk Informasi lebih jelasnya silahkan hubungi CS kami :
- YM : indobet77_sb2@yahoo.com
- EMAIL : indobet77@gmail.com
- WHATSAPP : +63 905 213 7238
- WECHAT : indobet77
- SMS CENTER : +63 905 213 7238
- PIN BB : 2B65A547 / 24CC5D0F

Salam Admin ,
http://indobet77.com/

Ilham Risalo mengatakan...

untuk diblogger gmn pasangnya htaccess bos?
aku hosting di indohostinger, tp blm berfungsi, kodingnya agar terhubung ke blggoer kita gmn ya bos?

Ilham Risalo mengatakan...

untuk diblogger gmn pasangnya htaccess bos?
aku hosting di indohostinger, tp blm berfungsi, kodingnya agar terhubung ke blggoer kita gmn ya bos?

Anonim mengatakan...

terima kasih ya.. untuk tipsnya.. www.jayautamakomputer.com

momogrosir.com mengatakan...

kok di saya masih gk jalan yah?

Poskan Komentar

sampaikan komentar dengan sopan dan bertanggung jawab :)