Discussion Locked

linux mandrake, setting up web server

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
We set up linux mandrake on our system, using a 133mhz,2 gig pc. It has linux only on it. Our problem is we have this networked to three other pcs in class all the same. we need to set up the apache web server on our computer so when one of the others opens there browser and types in or ip addresse they goto a page we put up. We are not having any luck setting this up. The apache web server software is allready installed, and wenow or Ip but what else do we need to do.This is for our class project and or teacher does not now either, please help us set this up.

3 replies

by zbrain75

I'm familiar with Redhat, but I think Mandrake is similar. You may have the linuxconf tool to start and stop services, but I'm not sure. Apache (httpd)should be running but on Linux as root, type:
ps -ax |grep httpd
You should see several lines showing PIDs and a few other characters with httpd. If you don't, it is not running. If you need to start it and have linuxconf, type "linuxconf" on the command line. Find "control", "control panel", and "control service activity". Select "httpd"and make your changes to start it.
If you don't have linuxconfig type "/etc/rc.d/init.d/httpd start" on the command line.

To locate apache configuration files type:
slocate -u This will take a while
slocate httpd.conf
It may be in /etc/httpd/conf/httpd.conf
It will tell you where your HTML files should be, usually:
/home/httpd/html/index.html
It is indicated with the directive "DocumentRoot". If you don't have the DocumentRoot index.html file, it won't work.

For more useful information that may help you configure your system:
http://ctdp.tripod.com/os/linux/index.html

You may need to set your client browser properties under the connection tab to "access the internet using a proxy server" and "bypass proxy for local address".

This discussion is closed to new replies.