LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-10-2010, 03:39 PM   #1
Ktl_XV
LQ Newbie
 
Registered: May 2010
Posts: 2

Rep: Reputation: 0
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?

Thanks
 
Old 05-10-2010, 03:59 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,608

Rep: Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518
Make /index.php a default indexfile in your HTTPd's config. (note the absolute path instead of a slashless relative).
 
Old 05-10-2010, 09:40 PM   #3
Ktl_XV
LQ Newbie
 
Registered: May 2010
Posts: 2

Original Poster
Rep: Reputation: 0
It is a subdirectory

Example:
http://***.com/pictures/08/Jan/New Year
http://***.com/pictures/09/Sep/
http://***.com/pictures/10/

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

Thanks
 
  


Reply

Tags
cron, directory, php, script


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: ATP EarthDrive: A USB Flash Drive Made Of Corn LXer Syndicated Linux News 0 01-16-2009 01:51 PM
symlinking firefox dr_zayus69 Linux - Software 2 02-28-2005 03:20 AM
symlinking smbfs across a wan jse580 Linux - Networking 1 02-27-2004 01:21 AM
How to avoid symlinking libraries? Meros Linux - General 4 10-27-2002 10:47 AM
corn jobs furquan Linux - Security 1 02-22-2002 06:14 AM


All times are GMT -5. The time now is 04:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration