LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   after a web front end (http://www.linuxquestions.org/questions/linux-networking-3/after-a-web-front-end-28002/)

acid_kewpie 08-15-2002 05:31 PM

after a web front end
 
if one looks at mp3.thirtythreeandathird.net 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 http://mp3.thirtythreeandathird.net/
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 12:07 AM.