LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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

Reply
 
Search this Thread
Old 09-15-2004, 08:12 PM   #1
Ukee
LQ Newbie
 
Registered: Sep 2004
Posts: 20

Rep: Reputation: 0
Question HTTP server set-up issue


I recently installed SuSE 9.1 on my P4. I want to allow my computer to act as an HTTP server. I went to YaST and enabled it.

Here are some more details...

Settings Summary
listen on 80
Modules ....
Default Host /srv/www/htdocs
Hosts

There is nothing listed for Hosts under the Summary heading.

I'm told that if I have my index.html file in the correct directory (/srv/www/htdocs/), it will come-up when I type "localhost" into the location line on my web-browser.

To my surprise it says "The connection was refused when attempting to contact the localhost."

I place my index.html file in the following directory: /srv/www/htdocs/

Does anyone know why?

Thanks
 
Old 09-18-2004, 07:49 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Do you have any firewall rule blocking port 80:
iptables -nL
 
Old 09-19-2004, 01:52 PM   #3
sal_paradise42
Member
 
Registered: Jul 2003
Location: Utah
Distribution: Gentoo FreeBSD 5.4
Posts: 150

Rep: Reputation: 16
Maybe you have not started the httpd daemon
/etc/init.d/httpd start
or
apachectl start
try that
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
http server help jrmontg Linux - Newbie 2 04-11-2005 02:49 PM
Http Server help eckertc1 Linux - Newbie 8 03-06-2005 03:23 AM
How do I set up http and NFS Joelbarnard Linux - Newbie 4 03-25-2004 02:04 AM
Linux email server and some HTTP server questions Steven6282 Linux - General 7 02-19-2003 04:39 PM
Strange HTTP issue cyberkatis Linux - Networking 2 02-07-2002 11:35 AM


All times are GMT -5. The time now is 11:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration