Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

limit on number of files in an alias folder

Status
Not open for further replies.

katyx

MIS
Jan 26, 2005
3
US
Hi,

I am running an apache 2.0 server on a Windows 2003 server. This problem arise when I tried to see a folder out of my docroot.

Here is what I did. I added an alias entry in the httpd.conf, and a directory entry to allow access and allow index display. It works fine when the number of files in the alias folder is less or equal to 6. However, when the number of files is greater than 6, I got a "Cannot find server or DNS Error Internet Explorer" from IE client. Any idea?

BTW, when the index listing succeeded, the error.log generate an entry of:

Negotiation: discovered file(s) matching request: E:/test/index.pl (None could be negotiated).

The access log generated:
"GET /test/ HTTP/1.1" 200 1258
plus some entries for accessing apache icons.

When the index list failed, the error.log generated the same entry, but the access.log generated an entry of:

"GET /test/ HTTP/1.1" 200 1373

Help please.
 

Here is the related config file.


Alias /test/ "e:/test/"
<Directory "e:/test">
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
 
katyx,

Your httpd.conf looks ok, but I wonder about the file 'E:/test/index.pl'. That seems to be where it's getting hung up.

Is that file on a mapped network drive? Is the file particularly large? Does it have different permissions from other files?

Wishdiak
A+, Network+, MCSA 2003 certified
 
No, index.pl does not exist on the drive. However, my search sequence is the following:

DirectoryIndex index.pl index.shtml index.htm index.html

I have none of them in E:/test/, so the server tries to return a standard list of files in the directory. Which works fine if the number of files in E:/test/ is up to 6, otherwise a DNS error is reported.

BTW, E:/ is not even a network mapped drive. It's a local partition. I found the problem on a network mapped drive, and tested on E:/test/ and encoutered the same problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top