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.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
and
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?
My cPanel:
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 204.11.239.20
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
Autoresponders 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
Apparently, it was a server issue, and when I looged on today it said "dbhclan.org soon to come". I then recieved and email from them, claiming, they corrected the issue and it was ready.
I attempted to upload the index.html to the site. The writing is there, however I can't seem to get a backround color, or backround image to load up?
I did load the image to the public_html also.
I am thinking, there must be some type of html code, that I need so the server can use the JPG I sent?
Does anybody know what this is or how to do it? I tried numerous times without success?
Again, I appreciate your help immesnly and thanks!
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:
<body background="images/mybackgroundimage.jpg">
If on the other hand you want to use a color as a background you would use:
<body bgcolor="#FFCC66">
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.
I have no idea what I did before? I must have typed something wrong? jpg name? something? I sat here all day working on this, finally gave up for a few hours. Came back tried again and it worked!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.