1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

setting default documets

Discussion in 'Plesk for Linux - 8.x and Older' started by bdee1, Oct 25, 2006.

  1. bdee1

    bdee1 Basic Pleskian

    23
    57%
    Joined:
    Mar 15, 2004
    Messages:
    43
    Likes Received:
    0
    i am relatively new to linux/plesk and i just got a dedicaed server set up with plesk 7.5.4 on centOS. one of the things i am trying to figure out is how to change the default dcuments for a site. for instance, if you go to www.mytestdomain.com it will automatically load the inde.html file in that folder. what if i want to change it so that it automatically loads the index.cfm file? where do i go in plesk to do that?
     
  2. Galactic Zero

    Galactic Zero Guest

    0
     
    Change the documents in the skeleton folder.
     
  3. bdee1

    bdee1 Basic Pleskian

    23
    57%
    Joined:
    Mar 15, 2004
    Messages:
    43
    Likes Received:
    0
    i have a couple questions about that.

    the skeleton management button is on the client screen. so what if the client has 2 or more domains? does that mean that my default document settings apply to all my domains? there has to be a way to change this setting for each domain right?

    also, let em just make sure i understand how this works - if i go into skeleton management right now and then into the httpdocs folder, there is an index.html file which is the default. but what if i want to have have index.cfm be the default, then if index.cfm is not found, it looks for index.php, and if thats not found it looks for index.htm?

    would i just put those 3 documents in the httpdocs folder? if so, how do i set the priority for each?
     
  4. Galactic Zero

    Galactic Zero Guest

    0
     
  5. bdee1

    bdee1 Basic Pleskian

    23
    57%
    Joined:
    Mar 15, 2004
    Messages:
    43
    Likes Received:
    0
    yea i have already seen that document and i am still unclear on how this works. I mean i understand how to create and upload a skeleton, but what i dotn understand is how to do what i explained earlier:

    setup my httpdocs folder so that when i visit it in a web browser it will look for a .cfm file and if not found then a .php file and if not found then a .htm file.

    basically i don't get how to set that priority level. in my skeleton if i have a index.php and index.cfm and an index.htm i assume that those are the 3 default files that it will look for but how do i set the order in which it looks for them?
     
  6. Galactic Zero

    Galactic Zero Guest

    0
     
    Go to /etc/httpd/conf/httpd.conf and add the extensions you want in the order you want. Here is my line:

    DirectoryIndex at_domains_index.html index.html index.html.var index.shtml index.cfm index.asp index.$

    Be sure to restart httpd so that the changes take effect.
     
  7. bdee1

    bdee1 Basic Pleskian

    23
    57%
    Joined:
    Mar 15, 2004
    Messages:
    43
    Likes Received:
    0
    thank you - thats what i was looking for. so there is no way to do this via plesk though huh?
     
  8. Galactic Zero

    Galactic Zero Guest

    0
     
Loading...