thomasgregory
11-18-2002, 11:13 PM
Hello Everyone. I am trying to setup an Apache server and am
having problems.....I am using Suse 7.0. I successfully compiled and
installed Apache 2.0.43...It seems like I can successfully start with
/usr/local/apache2/bin >./apachectl start
but when I open netscape to http://localhost/ I get:
-----------------------------------------------------
Not Found
The requested URL / was not found on this server.
Apache/2.0.43 Server at 192.168.22.1 Port 80
------------------------------------------------------
Also...I looked at the error log and noticed....
-------------------------------------------------------------------
[Mon Nov 18 17:16:57 2002] [info] Server built: Nov 17 2002 14:33:11
[Mon Nov 18 17:17:22 2002] [error] [client 192.168.22.1] Attempt to serve d
irectory: /usr/local/apache2/htdocs/
-------------------------------------------------------------------
Something that I think may be related...I had trouble configuring the httpd.conf file.
for instance the directive
-------------------------------
UserDir public_html
--------------------------------
gave me this error when i did ./apachectl configtest
----------------------------------------------------
Syntax error on line 13 of /usr/local/apache2/conf/httpd.conf:
Invalid command 'UserDir', perhaps mis-spelled or defined by a
module not included in the server configuration
-------------------------------------------------------
I also had problems with the directives:
DirectoryIndex, TypesConfig, LogFormat, CustomLog, AddEncoding, BrowserMatch
These gave similar errors....Any Ideas??? Help!! I am very frustrated. Thank you.
having problems.....I am using Suse 7.0. I successfully compiled and
installed Apache 2.0.43...It seems like I can successfully start with
/usr/local/apache2/bin >./apachectl start
but when I open netscape to http://localhost/ I get:
-----------------------------------------------------
Not Found
The requested URL / was not found on this server.
Apache/2.0.43 Server at 192.168.22.1 Port 80
------------------------------------------------------
Also...I looked at the error log and noticed....
-------------------------------------------------------------------
[Mon Nov 18 17:16:57 2002] [info] Server built: Nov 17 2002 14:33:11
[Mon Nov 18 17:17:22 2002] [error] [client 192.168.22.1] Attempt to serve d
irectory: /usr/local/apache2/htdocs/
-------------------------------------------------------------------
Something that I think may be related...I had trouble configuring the httpd.conf file.
for instance the directive
-------------------------------
UserDir public_html
--------------------------------
gave me this error when i did ./apachectl configtest
----------------------------------------------------
Syntax error on line 13 of /usr/local/apache2/conf/httpd.conf:
Invalid command 'UserDir', perhaps mis-spelled or defined by a
module not included in the server configuration
-------------------------------------------------------
I also had problems with the directives:
DirectoryIndex, TypesConfig, LogFormat, CustomLog, AddEncoding, BrowserMatch
These gave similar errors....Any Ideas??? Help!! I am very frustrated. Thank you.