The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SED Newbie cpslo09 Shell Programming and Scripting 3 10-19-2006 12:51 PM
UNIX newbie NEWBIE question! Hanamachi UNIX for Dummies Questions & Answers 3 09-14-2006 07:23 AM
Newbie in need of help cfjohnsn UNIX for Dummies Questions & Answers 3 05-17-2006 03:10 PM
Newbie Special K UNIX for Dummies Questions & Answers 4 06-10-2002 11:02 AM
NEWBIE << help >> LolapaloL High Level Programming 1 11-13-2001 10:02 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #8  
Old 07-23-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
What did you edit exactly? Anyway, what it says is put some files in /var/www/html/ and you should get them instead of the default welcome page. If you don't have an index.html page there (in /var/www/html/index.html) and the configuration prevents one from being generated automatically, perhaps you want to change the configuration so it is generated automatically.

Coincidentally, also check that the permissions of the files allow reading by the Apache user (www or www-data perhaps?) -- simply making them world-readable is usually acceptable.
Reply With Quote
Forum Sponsor
  #9  
Old 07-24-2008
Registered User
 

Join Date: Jul 2008
Posts: 5
Sigh

era,

If putting some files in /var/www/html/ can be accomplished via FTP, I am seeing no such directory in httpsdocs nor httpdocs.

As for changes made in SSH, notice the removal of # before the last several entries AND the addition of www.mydomain.com (domain being what my domain would be).

I can design and program all day long, but not this stuff. It makes me very tired.

John
Reply With Quote
  #10  
Old 07-24-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
The addition of www.mydomain.com is definitely wrong, you should take that out. If the other lines were commented out before, then they were not the ones which were responsible for giving you the default welcome page -- look elsewhere, perhaps?

The path /var/www/html is relative to the root, not underneath a different directory such as httpsdocs or httpdocs. Perhaps you have additional configuration which invalidates what it says in the default welcome page, but give it a shot -- as root, create /var/www/html/index.html world readable, and see if it changes what you see when you connect.

Sample content for /var/www/html/index.html:

Code:
<html>
<head><title>It works</title></head>
<body><p><blink>Whoa</blink></p></body>
</html>
... just in case you can't come up with something better to put there.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:34 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0