.htaccess / PHP question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Luc
    Confirmed User
    • Nov 2002
    • 1130

    #1

    .htaccess / PHP question

    Hi guys.

    Say I have a directory, http://www.something.com/go/some_url.htm

    I'm wondering if there is any way to force all queries to that /go/ folder to go through index.php which generates the page dynamically. this way the user and se bot still think it's an .htm page but it's actually generated on the fly.

    also, i'd need the paramaters (ex: some_url) when the index.php is called.

    any easy way to do this with .htaccess?

    thanks!
    luc l.
    » Looking for Type-in domais? Page Rank domains? Alexa domains? Popular domains?
    » Domain Research Tool can scan hundreds of thousands of domains to find whatever you're looking for.
    » Auto-appraise domains and send automated domain offers in bulk with just one click.
    » Full support for Proxy Servers and International Overture. Try it Free.
  • Echo
    Confirmed User
    • Nov 2003
    • 158

    #2
    add this to the main root of your htaccess

    Code:
    <Files go> 
    forcetype application/x-httpd-php 
    </files>
    please rename your index.php to go (with no extension) , hit me up if you dont get it
    ICQ #228-338-185

    Comment

    Working...