LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   httpd errors (https://www.linuxquestions.org/questions/linux-general-1/httpd-errors-4091/)

emanners 07-09-2001 02:21 PM

httpd errors
 
Has anyone here gotten errors from httpd.conf after configuring apache. The errors that I get are from default lines in httpd.conf that linux had there and I have no idead what they are for. Most o fthem I have commented out others that I think I need just get errors ....

IndexDescription index.html index.htm index...........


This is my main problem. I will like to have this line working so that people can just pop in to my website by typing http://xxx.xxx.xxx instead of http://xxx.xxx.xxx/index.html

Any help will be greatly appreciated.

jeremy 07-09-2001 02:52 PM

What you are looking for is the DirectoryIndex directive. It looks something like this:

Code:

DirectoryIndex index.html index.htm index.shtml

emanners 07-09-2001 03:12 PM

Jeremey,
Thanks, but I do have that and this is the error that I get..

[root@cwsi public_html]# /usr/sbin/httpd

Syntax error on line 488 of /etc/httpd/conf/httpd.conf:

Invalid command 'UserDir', perhaps mis-spelled or defined by a module not included in the server configuration

[root@cwsi public_html]#

I also get a similar response for most everother directive except for the most basic ones like port and stuff


All times are GMT -5. The time now is 07:32 PM.