LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Closed Thread
  Search this Thread
Old 07-04-2003, 08:16 PM   #1
Xiangbuilder
Member
 
Registered: Apr 2003
Location: Shandong province China
Distribution: fedora core 1.0
Posts: 206

Rep: Reputation: 30
apache question


In home folder, there is no "httpd" folder,
so I add it, and add a simple *.html file in it.
I have applied the web address: xiangbuilder.dns0755.net
but when I type "xiangbuilder.dns0755.net" in http address box,
"The page not find" appears.
What is wrong?
And what should I do?
Here is the detail:

I have select "everything" during installing Redhat 7.2.
[root@xiangbuilder root]# /etc/init.d/httpd start
Starting httpd: [Fri Jul 4 22:51:55 2003]
[alert] httpd: Could not determine the server's fully qualified domain name,
using 127.0.0.1 for ServerName
[ OK ]
So I open the file: /etc/httpd/conf/httpd.conf
modify the "servername localhost" to "servername 127.0.0.1"
[root@xiangbuilder root]# /etc/init.d/httpd start
Starting httpd:
[root@xiangbuilder root]#

Seems well this time, but
[root@xiangbuilder root]# apachectl configtest
bash: apachectl: command not found

Thank you.

Last edited by Xiangbuilder; 07-04-2003 at 08:21 PM.
 
Old 07-05-2003, 11:37 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Is the document root in httpd.conf set to /home/httpd?
 
Old 07-05-2003, 11:43 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
Old 07-05-2003, 12:14 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
//moderator.note: closed cuz of Xiangbuilder cross posting it: http://www.linuxquestions.org/questi...hreadid=70266.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question - (apache?) pylon42 Linux - General 7 03-23-2005 07:55 AM
Apache Question Sideshow Linux - Networking 6 02-13-2004 05:31 PM
another apache question peteABK Linux - Software 8 05-27-2003 02:58 AM
Apache question plisken Linux - Software 1 02-25-2003 02:40 PM
apache question davsingl67 Linux - Newbie 1 12-11-2002 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration