-   Linux - Server (
-   -   Corn Recursive symlinking (

Ktl_XV 05-10-2010 03:39 PM

Corn Recursive symlinking
Hi, Im using php-directory-listing to view pictures in the server, I've made some changes to support iPhone, and media rss. But I need to symlink index.php to every directory.
There are many directories, and sub-directories; I keep adding more.
So how could I use a Corn script to symlink index.php to every folder recursively?


AlucardZero 05-10-2010 03:59 PM

Make /index.php a default indexfile in your HTTPd's config. (note the absolute path instead of a slashless relative).

Ktl_XV 05-10-2010 09:40 PM

It is a subdirectory
http://***.com/pictures/08/Jan/New Year

File needed in every folder inside /pictures is http://***.com/php-directory-listing-0.3.4/index.php

And Im using a shared linux server


All times are GMT -5. The time now is 07:21 PM.