Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Directory listing is slow |
|
Author |
|
pacman99
Joined: 17 Jul 2006 Posts: 3
|
Posted: Thu 28 Sep '06 23:37 Post subject: Directory listing is slow |
|
|
Hi,
Whenever I try listing a directory, it's quite slow. Takes about 5-10 seconds to load, especially if that directory contains more than 2 directories.
I AM using an htaccess file so perhaps that's slowing it down? Some of the directories on my server have their own htaccess files. The content of my htaccess files is as follows:
Code: |
Options +SymLinksIfOwnerMatch
AuthName "The Server"
AuthUserFile /var/blah/.somefile
AuthGroupFile /var/blah/.somegroupfile
AuthType Basic
require group somegroup |
I only have maybe 5-6 user accounts.
Some other miscellaneous settings in my httpd.conf that might be useful
my httpd.conf and vhosts.d/00_default_vhost.conf can be found at http://www.admochempack.com/linux/ in case i missed posting something important.
Any ideas?
Thanks! |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 19 Oct '06 9:53 Post subject: |
|
|
I can think of two cases.
a) your internetconnection / upload (users download) is slow.
b) +SymLinksIfOwnerMatch
Apache will have to issue extra system calls to check up on symlinks. One extra call per filename component
you should change it to Indexes MultiViews |
|
Back to top |
|
pacman99
Joined: 17 Jul 2006 Posts: 3
|
Posted: Tue 24 Oct '06 18:41 Post subject: |
|
|
^turning off Symlinks did result in a speed increase but it's still slower than normal.
What stumps me is that using a php script I have, I can get the directory listing pretty fast. Also, I'm using this over my LAN (100mbit) so speed shouldn't be an issue |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 24 Oct '06 19:14 Post subject: |
|
|
other issue can be a lame hdd, but you told php is reading it fast.
Maybe you loaded a module that slows down.
You can send me your httpd.conf so that I can take a look, if you want
JBlond[nospam][gmail][spam]com
Did you try the listening without the auth basic? Is it faster?
Do the files for auth exist?
Are you running on Linux? Because of the /var/ |
|
Back to top |
|
|
|
|
|
|