• 26-01-2007, 16:50:15
    #1
    Arkadaşlar PHP bir script kuruyorumda readme dosyasına aşşağıdakini yazmışlar bende bunu nuygulamak istiyorum. Sanırım .htaccess dosyasıyla ilgili :

    Alıntı
    Static URLs
    The script supports static / friendly URLS for the directory pages so you can turn example.com/index.php?topic=/Music/Pop_Music/ into example.com/Music/Pop_Music/ which is a lot easier to read. This can currently only be done on Apache (or ASP.net if you build your own rewrite engine). All you need to do is change the topic page in the config to / and add the following to your .htaccess page (if you don't have one create a black one in the directory the script is in or just copy the one in the resources folder (inside the docs folder).

    Options +FollowSymLinks
    RewriteEngine on
    RewriteOptions MaxRedirects=10
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^([^\.]+)/$ index.php?topic=$1/ [QSA,L]
    yardımcı olursanız sevinirim... Ne anlatmış ben pek anlıyamadım...
  • 27-01-2007, 01:22:09
    #2
    biraz uğraştırdı ama sorunu çözdüm arkadaşlar.. Bu kodu .htaccess ekleyip bir kaç yerde ayar yapmak gerekiyomuş