Apache Server problem ( nothing to do with PHP :( )


#1

It’s not really a problem, but I don’t know how to change what ever it is.

When I click on a link such as

http://69.136.87.198:1000/test/

The correct directory displays, but when I enter something w/o the trailing slash, instead of opening the directory, it tries to open a page named “test”

http://69.136.87.198:1000/test

Is there any way I can fix this?

I have Apache 1.3.29


#2

I belive you need mod_dir loaded into apache for this to work. It generally is for default installs. This page might help http://httpd.apache.org/docs/mod/mod_dir.html If you need more help then we’ll probobly need to atleast know the OS you are using along qith what features you need/want in Apache.

Keith


#3

OS is Windows XP by the way.

That mod_dir module sounds like that’s I am looking for (I went to the link given to me, thanks).

Problem now is that I do not know how to install modules. Any links to some help files/tutorials would be appreciated, thanks :)

(I’m learning! hehe)


#4

I have zero expirience with Apache in Windows XP, but here goes. There should be a file called httpd.conf on your system, most likely in the apache folder. Open that file in a text editor and yuo should see a section that has several liens that start with “LoadModule” lookf or one called “LoadModule dir_module modules/mod_dir.so” and uncomment it if it isn’t already. If it’s not there then I would reinstall Apache. dir_module is a base module for Apache which emans you have to specifically remove it, otherwise its available, so unless you did that, it should have worked from the start.

Keith


#5

I commented AddModule mod_dir.c out, and it works fine now. Thanks for the help.