-   Linux - Networking (
-   -   after a web front end (

acid_kewpie 08-15-2002 05:31 PM

after a web front end
if one looks at one will see a huuuuuuuge list of directories that takes ages to load. anyone aware of a decent package that can display these in a more controllable way? php or something?

GAVollink 08-15-2002 06:51 PM

Nightly Process
Depending on how dynamic the content is, you can parse the directory into an "index.html" file in a once-in-a-while process. The "slow" is because the Web Server (Apache) is processing the
directory contents on the fly, instead of attempting to simply dump the contents of a similarly sized file.

I would probably write this as a nightly Perl task - customized. On the other hand, you could also do something like this:

rm htdocs/index.html
wget -o tmp.html
mv tmp.html htdocs/index.html

It would give you the same result, but will not have to wait for Apache's dynamic processing every time.

All times are GMT -5. The time now is 01:48 AM.