Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Masalah Berkenaan .htaccess
14-09-2011, 12:47 AM, (This post was last modified: 14-09-2011, 12:51 AM by taylorswift.)
Post: #1
Masalah Berkenaan .htaccess
Code:
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^([a-zA-Z0-9]+)/([a-zA-Z0-9]+)/.+$   saya.php?encryptionpage=$1&page=$2 [L]

okay ak terangkan
first ak ade dua files satu index.php dan satu lagi saya.php
dlm index.php tu ak ade header('Location: '.$nexturl bila org gi index.php auto redirect ke saya.php + auto generate random hash setiap IP user so setiap page lain2 number2
dan diubah kepada dari www.gilababi.com/saya.php?encryptionpage=$1&page=$2 ke www.gilababi.com/$1/$2 sepertimana yg saya bt htaccess

htacesss. tanam dlm folder saya.php dia jadi 500 error
bila ak gali kt google pasal 500 error dia kata ade mistake/misspell/code salah kat .htaccess ak
Kadang2 ak buang gak +FollowSymlinks tapi keluar 403 forbidden access is denied. pastu try ubah2 sikit dia redirect tapi url tu tk rewriting sepertimana htacess tu mod_write dah on dlm server

any one can help plz
kalau tk faham nanti boleh tanya balik


GayFace


That face is seriously just asking to get slapped by a cock.
OK
Reply
14-09-2011, 01:08 AM,
Post: #2
RE: Masalah Berkenaan .htaccess
mod_rewrite dh on?
bleh tgk error log dr server dak?
[̲̅ə̲̅٨̲̅٥̲̅٦̲̅]
i ℓ٥ﻻ ﻉ√٥υ F٥rﻉ√ﻉr ღ
|_|0|_|
|_|_|0|
|0|0|0|
http://jonhburn2.freehostia.com/lol.txt
Reply
14-09-2011, 01:16 AM, (This post was last modified: 14-09-2011, 01:32 AM by taylorswift.)
Post: #3
RE: Masalah Berkenaan .htaccess
ini ak pacak kat server member ak

berdasar apa ak gali kt google sebentar tadi kalau
404 ERROR - If you are getting a 404 Error (Page Not Found) this means you dont have mod_rewrite on your website

500 ERROR = a 500 error means that the code you put on your .htaccess has a problem. Apache cannot process the syntax. the most common mistake people make is they type something wrong like mispelled something. so double check to make sure you have exactly the code i provided above. and be sure you have

jap ak check guna phpinfo kat dlm webhost cpanel ak ni
untuk mengconfirmkan
error log dr server = enggak ade

edit :
ak test guna rewrite.php > http://www.webune.com/forums/how-to-test...d-t40.html
http://i26.lulzimg.com/07ecfb.jpg
on
tapi masalah nyer bila ak pacak htaccess ak jadi 500 error
damn

--------------------------------------------------------
reedit :
nampak macam on je
tapi Forbidden bila ak pacak htaccess ak
That face is seriously just asking to get slapped by a cock.
OK
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [WTA] masalah prolog Timon 2 695 27-12-2011, 06:57 PM
Last Post: Timon
  [ask][.htaccess]rewrite rule trick? Ahlspiess 5 1,197 18-07-2010, 09:13 PM
Last Post: Ahlspiess

Forum Jump: