sites down
I just got this old 486 DX4 100MHZ and I wanted to use it as a webserver but Apache dosent want to work.... It just wont work... I have installed and remove apahce a couple times... It has Debian.... and it's at http://gabe.mine.nu:81 I have it set at 81 just for now so you can see it http://gabe.mine.nu:80 Which is my new box is working fine...
A copy of my configs are here:
http://gabe.mine.nu:81/httpd.conf
http://gabe.mine.nu:81/access.conf
http://gabe.mine.nu:81/mime.types
http://gabe.mine.nu:81/srm.conf
Need anything else tell me... I very much so appreciate your help....
sites down
Sorry About that I forgot to foward port 81 to that box...
Where is your DocumentRoot setting ?? I'm guessing thats the essential, which is missing..
There... I put document root... and I coppied over new httpd.conf.... I also put the index.html file... IT seems that Apache is not serving html pages right...
http://gabe.mine.nu:81/index.html
hmmm I don't see any: directoryIndex index.html index.php
setting, it needs it to decide, what index page as default to show you..
I did that but when I save the file and try to restart apache I get this error message:
Syntax error on line 268 of /etc/apache/httpd.conf:
Invalid command 'DirectoryIndex', perhaps mis-spelled or defined by a module not included in the server configuration
/usr/sbin/apachectl start: httpd could not be started
It's directoryIndex the d is small and I is cap.
Looks like you used a cap D.
I still get a similar problem...:
Syntax error on line 268 of /etc/apache/httpd.conf:
Invalid command 'directoryIndex', perhaps mis-spelled or defined by a module not included in the server configuration
hmmm.. I can't see why this would happen.. You could take a look at my apache configuration: http://www.redhead.dk/download/pub/httpd.conf and see why it's not working for you. This is an OpenBSD configuration so I'm not sure if Debiann will accept it, but why shouldn't it, Apache is Apache..
Bookmarks