SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Jan 2008
    Location
    Palm Harbor, FL
    Posts
    348
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question How to find all URI's & subdomains reserved by my server

    My website allows members to access their profiles by simply entering their username as the URI. (e.g. http://website.com/username)

    In order to do this, I must restrict users from creating usernames that are identical to URI's reserved by the server. (e.g. cpanel)

    Where can I find a list of URI's reserved by the server so that I can properly disallow all usernames that are reserved URI's?

    In addition, where can I find a list of subdomains reserved by the server?

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    There are no reserved URIs....
    Only those that you have folders/files in the public root.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  3. #3
    SitePoint Addict
    Join Date
    Jan 2008
    Location
    Palm Harbor, FL
    Posts
    348
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I believe I am using the wrong term here. Thank you for pointing that out. Whatever the term may be, I am referring to the part of the URL directly after the domain. (http://website.com/cpanel)

    'cpanel' is reserved, as it redirects to the site's cpanel.

    I am certainly no expert of these sort of issues, so if the question seems difficult to understand, please let me know.


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
  •