Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have gentoo set up as a home-router-server and I have gentoo on this box(I'm new at all of this )this box(192.168.0.2)crossover cable -> router-practice-server(192.168.0.1)->internet.When I put abbottdavid in a browser I get this;Apache/2.0.52 (Gentoo/Linux) mod_ssl/2.0.52 OpenSSL/0.9.7d PHP/5.0.3 Server at localhost Port 80.I would like to put something on the page but don't know where to start.Just give me some links and point me in the right direction.I don't want it on the net,just something for me to learn.The only ports open is the lan and I use the printer(samba)on the router.thanks
The 'DocumentRoot' directive usually points to /var/www by default, so have a look for that directory and place some content into the directory. If that's not it, take a look at your httpd.conf file and search for the global DocumentRoot variable to work out where it's looking for local content.
Usually during the install process, a 'welcome to apache webserver' page (or something) will be installed so that you can test the servers is running. If you didn't get this page when you connected, it may be something a little strange, but see how you go.
Thanks,I see that and it points to /var/www/localhost/htdocs.Inside htdocs are the banners ect and text files in most languages,I edited the en one but did not change the page.Do I need a sample page to point DocumentRoot to or should I add a UserDir.On gentoo I don't have htttd files all the conf files are /etc/apache2/apache2.conf and /etc/conf.d/apache2 Here is the doc on Usrdir http://httpd.apache.org/docs-2.0/howto/public_html.html Do I add that to the same file that the DocumentRoot is in?I need a push in the right direction,thanks
I changed DocumentRoot to /home/www/abbottdavid in both /etc/apache2/apache2.conf and /etc/apache2/commonapache2.conf and I can't get it to read that file.Where is it getting the Test Page from?
[edit] O.K its reading it now,I restarted the server,now whats next.
Last edited by comprookie2000; 01-19-2005 at 04:56 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.