![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#8
|
|||
|
|||
|
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. |
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
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 |
|
#10
|
|||
|
|||
|
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> |
|||
| Google The UNIX and Linux Forums |