|
litespeed:wiki:autoindex 2012/02/08 01:07 |
litespeed:wiki:autoindex 2012/02/08 01:12 current |
| | Server -> General -> Index Files -> Auto Index : Set to “Yes” | | Server -> General -> Index Files -> Auto Index : Set to “Yes” |
| | </code> | | </code> |
| - | * If you leave “Auto Index URI” blank, default script (lsws/share/autoindex/default.php) will be used. | + | * If you leave “Auto Index URI” blank, default script (lsws/share/autoindex/default.php) will be used. |
| - | * To use your own script, for e.g. myindex.php, you can place it under the same directory: lsws/share/autoindex/myindex.php. Do not modify default.php directly, as it will be overridden after any upgrades. Your own script and configuration will not be affected by version upgrade. | + | * To use your own script, for e.g. myindex.php, you can place it under the same directory: lsws/share/autoindex/myindex.php. Do not modify default.php directly, as it will be overridden after any upgrades. Your own script and configuration will not be affected by version upgrade. |
| | <code> | | <code> |
| | Server -> General -> Index Files -> Auto Index URI: Set to “/_autoindex/myindex.php” | | Server -> General -> Index Files -> Auto Index URI: Set to “/_autoindex/myindex.php” |
| | </code> | | </code> |
| - | * To customize your Auto Index Page for a particular virtual host if it is natively configured: | + | * To customize your Auto Index Page for a particular virtual host if it is natively configured: |
| | <code> | | <code> |
| | VHost -> General -> Index Files -> Auto Index : Set to “Yes” | | VHost -> General -> Index Files -> Auto Index : Set to “Yes” |
| | VHost -> General -> Index Files -> Auto Index URI: Set to the URI of your script. | | VHost -> General -> Index Files -> Auto Index URI: Set to the URI of your script. |
| | </code> | | </code> |
| - | * If Auto Index is enabled or when a directory with no index file is accessed, LiteSpeed Web server will perform an internal redirect to “Auto Index URI”. If the value is not set, the URI will contain the default value “/_autoindex/default.php”. | + | * If Auto Index is enabled or when a directory with no index file is accessed, LiteSpeed Web server will perform an internal redirect to “Auto Index URI”. If the value is not set, the URI will contain the default value “/_autoindex/default.php”. |
| | You cannot customize the index file at the virtual host level if the virtual host is configured through an Apache configuration file. In that case, you can only apply a customized index file at the global level. | | You cannot customize the index file at the virtual host level if the virtual host is configured through an Apache configuration file. In that case, you can only apply a customized index file at the global level. |
| | | | |