> I've been working on a centralize file repository/library for my shop 
> for about a of weeks now.  As part of this process I converted the 
> Lophty Directory Indexer to perl and configured it to operate as a 
> drop-in replacement for the apache indexer (I also added a few 
> enhancements).

Excellent... it looks great, IMO.  :)

However, it looks like this hoses the default document in other areas of the
system.  Another i-bay for example.

Here's my server:
In primary: http://test.tech-geeks.org/test/
In abe-test IBay: http://test.tech-geeks.org/abe-test/

If I understand my error correctly, it's getting confused between the
"htmlRoot" and the actual IBay location.

Is it possible to specify multiple paths in the indexer.pl file?

<EXCERPT>
#HTML ROOT:
#Absolute path to html root.  Path must contain
#leading /, but not a trailing /.
#Note:  Don't change single quotes to double as this
#will result in a perl syntax error.
#Note:  If you are running SME server and you want
#this script to operate on the primary ibay, you
#can leave the path at the default setting.
#-----------------------------------------------------
$main::htmlRoot = '/home/e-smith/files/primary/html';
</EXCERPT>



On a side note, I wrote up a little perl script that would run nightly and
copy the Lophty index.php file through a specified directory tree.  That
way, when new directories are created, it will automatically get updated
with the index.php file.  Don't know if it would help, or not.  Altering the
default page seems like a better option, but thought I'd offer this out
there, if it would help in someway.
README and sample site here:
http://www.tech-geeks.org/contrib/loveless/indexer/


Later,
Abe




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.431 / Virus Database: 242 - Release Date: 12/17/2002
 


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to