Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    317
    Thanks
    0
    Thanked 0 Times in 0 Posts

    URL with no page's extention

    hi,

    http://us.f107.mail.yahoo.com/ym/ShowLetter?MsgId=5290

    I have came across this kind of URL for so many time, but not really understand how it work and how does the variable is passed??? What Scripting are they using?? ASP, PHP , JSP...etc

    Please advice!

  • #2
    Regular Coder Feyd's Avatar
    Join Date
    May 2002
    Location
    Los Angeles, CA Maxim: Subvert Society
    Posts
    403
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It is sometimes a compiled program, but more often than not it is a file that is named exactly as you see it (ShowLetter) with no extension and then the webserver is configured to recognize this file as a certain type and process it (either with htaccess or on the server cofiguration level). The file itself then knows that anything after itself in the query string is a variable/value to key off of and use.

    It is one of the basic ways to get dynamic pages to be search engine friendly (though not in your example). Any server-side language can be used to do this, as it mainly has to do with what the server recognizes as a file and then what the file can do with itself.
    Moderator, Perl/CGI Forum
    shadowstorm.net - subvert society

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    the Netherlands
    Posts
    215
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Any idea how to do this with Apache (1.3.26)?

  • #4
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,108
    Thanks
    11
    Thanked 101 Times in 99 Posts
    you can use apaches ForceType directive .... an example from the man himself !

    http://www.phpbuilder.com/columns/ra...3?print_mode=1
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


  •  

    Posting Permissions

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