Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
It still has not worked? The server is set up for php nuke, from the host. So I am wondering if it will work since my document is in html?
Is a JPG backround sufficent, or does the image have to be another type?
I'm not sure what is not working. The structure of the site seems OK to me, although, as a web developer I'm a bit more "sensitive" about where files go and typically have an api directory for CSS and js files, a mmedia for swf files and an images directory for ... well you know.
Assuming that your setup of apache is correct you should have no problems seeing your index.html on that site. I also assume that in your /etc/apache/httpd.conf you enabled the use of /home/<user>/public_html. If you did not that is probably the reason you are not able to see the pages.
Other that that, the structure of the site if mostly for organizational purposes and to make development and maintenace easy.
As per images on the web, browsers can handle .jpg, .gif, and .png anything else will not work.
Well I am a newbie at this stuff, and I hate to bother people, but need to start and try to learn somehow....thanks for your time, it's much appreciated.
You said: "I also assume that in your /etc/apache/httpd.conf you enabled the use of /home/<user>/public_html. If you did not that is probably the reason you are not able to see the pages."
The server comapny "Hypernia" set it up for me, I have been able to open up cPanel, and ftp. That is my extent of the Linux knowledge so far. I do know apache servers, are supposed to be one of the best things out there. However, as far as "enabling /home/<user>/public_html", I have no idea how to do that?
Welcome dbhclan.org! Last login from: xxx.xx.xx.xxx.
Please update your contact information here.
General account information:
Hosting package undefined
Shared Ip Address 22.214.171.124
Subdomains 0 / unlimited
Parked Domains 0 / 0
Addon Domains 0 / 0
MySQL Databases 0 / unlimited
Disk usage 0.48 Megabytes
SQL Disk usage 0.00 Megabytes
Disk space available 499.52 Megabytes
Bandwidth usage (current month) 7.47 Megabytes
Email Accounts 0 / unlimited
Email Forwarders 0
Mailing Lists 0 / unlimited
Email filters 0
Ftp Accounts 0 / unlimited
General server information:
Operating system Linux
Service Status Click to View
Kernel version 2.4.22-1.2199.nptl
Machine Type i686
Apache version 1.3.33 (Unix)
PERL version 5.8.3
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
Installed Perl Modules Click to View
PHP version 4.3.10
MySQL version 4.0.22-standard
cPanel Build 10.0.0-CURRENT 160
Theme cPanel X v2.5.0
Documentation Click to View
You are actually correct. Just because you have an image in the server that you intend to use as background it will not be displayed unless you specifically "tell" the web served to do so.
This is how your code should look like if you want to display an image in the background:
If on the other hand you want to use a color as a background you would use:
Notice that in the first case I'm indicating the path to the image based on the place where my html document resides. This means that I have the html document in public_html and that the sub-directory images pertains to the same directory.
On the second example we are using hexadecimal notation. Be careful not to skip the "#" as it will cause problems with some browsers, and your color will not display.
What matters here is the location of the image. If you have a directory called images and an image called "dbh_page.jpg" in that directory then that will work.
If your dbh_page.jpg is somewhere else it will not.
I think that this web site will help you achieve what you want.