SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    May 2006
    Location
    Phnom Penh, Cambodia
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with category and articles

    Dear All,

    I have site with asp and access database. It is possible way to make unlimited category with access database using Asp ? like in Joomla. I see many site is using Only Query string.

    Investment.asp?cat=tourism - for main sub directory
    investment.asp?cat=tourism&id=overview


    it is possible to make statistic url rewrite for directory and sub? using simple method 404 custom error coding .. our sample design :


    Investment = Main Directory

    1-Investment/tourism/, In tourism we have 3 related record:

    1-1-investment/tourism/overview
    1-2-investment/tourism/statistic
    1-3-investment/tourism/hotels
    1-3-1-investment/tourism/hotels/phno-penh/
    1-3-1-investment/tourism/hotels/phno-penh/

    and Other sub category have the same sub category related record

    Please suggest what should i do to resolve the above solution?

    Thanks,
    PCBOY

  2. #2
    SitePoint Wizard siteguru's Avatar
    Join Date
    Oct 2002
    Location
    Scotland
    Posts
    3,631
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    http://learn.iis.net/page.aspx/460/u...ewrite-module/

    http://www.petefreitag.com/item/286.cfm

    But you'll need admin access to your web server to be able to do this.
    Ian Anderson
    www.siteguru.co.uk

  3. #3
    SitePoint Member
    Join Date
    May 2006
    Location
    Phnom Penh, Cambodia
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by siteguru View Post
    http://learn.iis.net/page.aspx/460/u...ewrite-module/

    http://www.petefreitag.com/item/286.cfm

    But you'll need admin access to your web server to be able to do this.
    Thanks for a quick respons. However, Classic Asp, can over in 404.asp, we dont have any component or access to web server.

    anyway 404 or folder technique ?

  4. #4
    SitePoint Wizard siteguru's Avatar
    Join Date
    Oct 2002
    Location
    Scotland
    Posts
    3,631
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Not that I'm aware of.
    Ian Anderson
    www.siteguru.co.uk

  5. #5
    SitePoint Wizard bronze trophy
    Join Date
    Oct 2001
    Location
    Vancouver BC Canada
    Posts
    2,037
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    There are plenty of 404 methods available but you still need access to IIS in order to tell it what to do in the case of a 404.

    This one is the most promising but it only accounts for a single argument passed through the querystring. If you are passing more than one argument you'll have to add to the code in rewrite.asp to account for them: http://blog.netnerds.net/2006/04/asp...sic-asp-sorta/

    Here's another: http://www.moretechtips.net/2008/10/...out-isapi.html

    For more try searching "vbscript 404 url rewrite"

    Good luck!
    Andrew Wasson | www.lunadesign.org
    Principal / Internet Development


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •