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 3 of 3
  1. #1
    Regular Coder
    Join Date
    Oct 2011
    Posts
    113
    Thanks
    9
    Thanked 1 Time in 1 Post

    <---- Hide PHP extensions --->

    I've seen this before in some sites.
    Here is an example:
    http://minecraftservers.net/server/5676/
    http://minecraftservers.net/vote.php?id=5676

    I want to hide my website from
    http://accountvendors.com/product.php?account_id=14
    http://accountvendors.com/product/14

    I can edit the htaccess on my host
    Last edited by Vernk; 06-16-2012 at 03:07 AM.

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,641
    Thanks
    0
    Thanked 649 Times in 639 Posts
    The instructions for doing this can be found at http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    Yep, rewrite. Not a thing to do with PHP.
    Moving from PHP forum to Apache Configurations.


  •  

    Posting Permissions

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