• 20-11-2010, 17:55:31
    #1
    Selamlar..

    Arkadaşlar yardımınıza ihtiyacım var scriptimdeki url'leri ( site.com/id/konu.html ) şeklinde yapmak istiyorum bunun için 404.asp dosyamın içeriği nasıl olmalı ?

    Yardımlarınız için teşekkürler..
  • 27-11-2010, 10:57:37
    #2
    Üyeliği durduruldu
    404.asp içeriği

    <%
    degisken      = Request.QueryString
    gelenlink_bol = split(degisken, "/")
    uzanti_bol    = split(gelenlink_bol(4), "-")
    %>
    
    <%
    if gelenlink_bol(3) = "detay" then
    %>
    <%
    SQLDetay = "select * from tablo where id =" & uzanti_bol(0)
    set Detay = BAG.execute(SQLDetay)
    %>
    <!--#include file="detay.asp"-->
    
    <%else%>
    <%respon.redirect"default.asp"%>
    <%end if%>
    detay.asp içeriği
    <%
    degisken      = Request.QueryString
    gelenlink_bol = split(degisken, "/")
    uzanti_bol    = split(gelenlink_bol(4), "-")
    
    SQLdetay = "select * from tablo where  id =" & uzanti_bol(0)
    set Rs = BAG.execute(SQLdetay)
    
    %>
  • 27-11-2010, 11:16:35
    #3
    Üyeliği durduruldu
    yahu lütfen şu 404 konusunu asp bölümünde arama yapmadan açmayın, her hafta 1 tane açılıyor :S