URL Alises

Discussion in 'Site & Server Administration' started by daringtakers, Aug 21, 2007.

  1. #1
    H.. pals

    I have a site up and running.
    Now I want to install a directory script under this url
    http://www.mysite.com/directory

    I think it can be done simply by creating a new directory n install script in tht

    But I wants to install tht script out of document root.
    How can I do it?

    I think URL aliases can be used, But im not seeing ny thing to create a url aliase in my cpanel hosting.
     
    daringtakers, Aug 21, 2007 IP
  2. powerspike

    powerspike Peon

    Messages:
    312
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you want to install it into /directory you should, most scripts should work from the directory they are install into

    If you want your directory to be installed into / but showing as /directory, this MIGHT cause some problems with your script, as they generaly are written to work from the directory they are installed into, so using aliases can cause problems.
     
    powerspike, Aug 21, 2007 IP
  3. daringtakers

    daringtakers Well-Known Member

    Messages:
    808
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    110
    #3
    I want to try out, but how can i create aliases in cpanel?
     
    daringtakers, Aug 21, 2007 IP
  4. daringtakers

    daringtakers Well-Known Member

    Messages:
    808
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    110
    #4
    does any one hav any suggestion

    I needs to install a script at this path

    /directory
     
    daringtakers, Aug 23, 2007 IP
  5. powerspike

    powerspike Peon

    Messages:
    312
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hi Daringtakers,

    I haven't used Cpanel previously, so unable to help you with it.
     
    powerspike, Aug 23, 2007 IP