1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Directory listing

Discussion in 'Plesk for Linux - 8.x and Older' started by BigBr0thr, Aug 3, 2005.

  1. BigBr0thr

    BigBr0thr Guest

    0
     
    I created a subdomain demo.mydomain.nl .
    if users browse to this dir, i want a directorylisting to show up.
    After studieing some posts, i figured out that the way to do this, is to create a .htaccess file in this directory and to put Options +Indexes in this file.
    When i browse to this site, i still get a file not found error.
    Do i have to change anything in the httpd.conf ??
    Or could there be anything wrong with owner/permissions ??
     
  2. cmaxwell

    cmaxwell Regular Pleskian

    25
    73%
    Joined:
    Aug 1, 2001
    Messages:
    150
    Likes Received:
    1
    Are you sure that you put the .htaccess file in the root of the "httpdocs" directory for the subdomain? It should work straight off when you add "Options +Indexes" to the file.

    Can you load files from the subdomain - just to make sure it is working?

    - Chris
     
  3. BigBr0thr

    BigBr0thr Guest

    0
     
    Yup, the .htaccess file is in the httpdocs dir of the subdomain.
    The strangest thing is that when i browse to demo.mydomain.nl i get the mainpage of the maindomain. I suspect that Mambo changed the config for the domain.
     
  4. cmaxwell

    cmaxwell Regular Pleskian

    25
    73%
    Joined:
    Aug 1, 2001
    Messages:
    150
    Likes Received:
    1
    It sounds like the subdomains isn't working at all then if you're browsing to sub.domain.com and seeing www.domain.com.

    Try removing and re-adding the subdomain.

    Also make sure you have the most up-to-date version of Plesk by running the updater (Server > Update).

    Best Regards,

    - Chris
     
Loading...