Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

How can I enable directory indexing for domains?

Article ID: 437 
Last Review: Apr,17 2009
Author: Dmitry Frantsev
Last updated by: system APPLIES TO:
  • Parallels Plesk Panel for Linux/Unix

Resolution

If you would like to enable directory indexing for all domains append the following block of text to the end of the httpd.conf file:

<LocationMatch "^/.*$">
Options +Indexes
</LocationMatch>

If you would like to enable it per domain you should add these directives into needed files (for HTTP, HTTPS and subdomains accordingly):

HTTPD_VHOSTS_D/domain.tld/conf/vhost.conf
HTTPD_VHOSTS_D/domain.tld/conf/vhost_ssl.conf
HTTPD_VHOSTS_D/domain.tld/subdomain/conf/vhost.conf

Once the changes have been made, please, run the utility below for the changes to take effect and restart Apache service.
PRODUCT_ROOT_D/admin/sbin/websrvmng -v -a


If you would like to enable directory indexing for some directory, for example HTTPD_VHOSTS_D/domain.tld/httpdocs/DIR_NAME you should add the following lines into appropriate vhost.conf:

<LocationMatch "^/DIR_NAME.*$">
Options +Indexes +SymLinksIfOwnerMatch
</LocationMatch>


Subscription for changes to this article Subscription for changes to this article

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac
- Parallels Desktop 4 for Windows & Linux
- Parallels Workstation Extreme
- Parallels Solution for Windows 7
Server Virtualization
- Parallels Server for Mac
- Parallels Server 4 Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
More Products