Welcome Guest ( Log In | Register)



2 Pages V   1 2 >  
Reply to this topicStart new topic
> Image.index.html
kvarnerexpress
post Sep 10 2005, 04:00 PM
Post #1


Super Member
*********

Group: Members
Posts: 407
Joined: 13-December 04
Member No.: 2,696



hello there
well i designed this image that includes text a logo i shall say
i am aware that i need to title it index.html when i upload the file i visit my website and it shows the file folder.
now i only want that image i designed on there so when clients visit my site it only goes to that page the rest of my site isent done yet. i want it to be just like the sites you visit and it states underconstruction.

programs ive tried: indesign, image ready, incopy cs2, dreamweaver.


and i still dont understand please help meeh thanks


oh and what classify's images html, css etc?
kvarnerexpress
Go to the top of the page
 
+Quote Post
thablkpanda
post Sep 10 2005, 05:21 PM
Post #2


Super Member
*********

Group: Members
Posts: 339
Joined: 2-December 04
From: Atlanta, GA
Member No.: 2,516



I'm not too sure what you're asking.

However if you visit your root directory and it shows a directory listing, instead of index.html, copy and paste the following, into a file called .htaceess, and save it.

CODE

DocumentRoot index.html


Upload that .htaccess file to the directory you're having problems with.

Now i'm not understanding your problem, however I'm thinking that you created a image to state that your page is under-construction, and you want that image on the page..

CODE

<html>
<head>
<title> Under Construction </title>
</head>
<body>
<img src="underconstruction.gif">
<h4> This page is under construction </h4>
<div class="bodytext">
This page is under construction, please visit back later, blah blah blah.

<a href="mailto:webmaster@MYDOMAIN.com"/>E-mail the webmaster</a>
</div>
</body>
</html>


- I thew that together off the top of my head. Sorry if it's not W3C, and you're worried about that kinda stuff.

I think that's what you're looking for, replace the image URL with the actual one, and your e-mail address with the actual one..

Notify me if that's not it. Oh and -

CODE

Linking to a stylesheet -
<link rel="stylesheet"
type="text/css" href="STYLESHEET URL/URI HERE.css" />

Classifying the beginning of a HTML page

<html>
</html>

Image string -
<img src="LINK TO IT.. HERE.gif">



Holla if you need anything else, hoping this is what you're looking for.
Go to the top of the page
 
+Quote Post
biscuitrat
post Sep 10 2005, 06:00 PM
Post #3


Kween of Everything :)
***********

Group: Members
Posts: 1,052
Joined: 16-October 04
From: Houston, Tejas :D
Member No.: 1,774



Just like Panda said - you'll want to just have a plain HTML page with maybe a background or something that displays your Under Contstruction sign. You may want a counter there too or a way for people to contact you (see Panda's code) while your site is down.
Go to the top of the page
 
+Quote Post
thablkpanda
post Sep 10 2005, 06:48 PM
Post #4


Super Member
*********

Group: Members
Posts: 339
Joined: 2-December 04
From: Atlanta, GA
Member No.: 2,516



Oh, I can get all kinds of fancy with that.. Neon on Black.. all kinds of fun.

Panda - Still wondering if this solved the problem.
Go to the top of the page
 
+Quote Post
Rosuto
post Sep 11 2005, 04:29 AM
Post #5


Newbie [Level 1]
*

Group: Members
Posts: 20
Joined: 11-September 05
Member No.: 11,728



Hmm... Not really understanding what you're trying to say, but yes, like biscuitrat and panda have been saying, you should make an index.html and put your info on there... I'm not really sure what image you mean...?
Go to the top of the page
 
+Quote Post
Lozbo
post Sep 12 2005, 05:13 AM
Post #6


Super Member
*********

Group: Members
Posts: 282
Joined: 1-September 05
From: Wanatos
Member No.: 11,382



QUOTE(thablkpanda @ Sep 10 2005, 11:21 AM)
However if you visit your root directory and it shows a directory listing, instead of index.html, copy and paste the following, into a file called .htaceess, and save it.
....
Upload that .htaccess file to the directory you're having problems with.
*


I think you mispelled, Its .htaccess, like the second time you wrote it.

And kvarnerexpress, i actually didnt understand what was your other question, but about the index issue, if your hosting offers you the "cpanel" you can also mess a little bit with it to see if you can configure what kind of extension file is the folder going to point at first (in case of having several files named "index" but with different extension, i.e. .htm, .html, .php...). Im not sure if you can change or admin this, or if theres a manual way to change a server file (if you have access to them), to address this problem.

Hope i made my self clear.

If you DO have cpanel (hosting at trap17 offers this service), you can control wheter or not you want a folder to show off its contents if theres no index files at all within it. You can find this in the section named "Index Manager" (Site Management Tools / Index Manager).
Go to the top of the page
 
+Quote Post
byte
post Sep 18 2005, 04:45 PM
Post #7


Newbie [Level 2]
**

Group: Members
Posts: 34
Joined: 17-September 05
From: Earth
Member No.: 11,976



And if you want it centered type in

<center>

between the <HTML> and <body> tags
Go to the top of the page
 
+Quote Post
jlhaslip
post Sep 18 2005, 05:59 PM
Post #8


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,077
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol



QUOTE(byte @ Sep 18 2005, 10:45 AM)
And if you want it centered type in

<center>

between the <HTML> and <body> tags
*



Doesn't the center tag need to be closed? like this:

CODE
<html> <body> <center> ... Under Construction Image Tag here ie:<img src="http://image_name.jpg"> .... </center> </body> </html>


And if it is the only file in the web site, why not just name it "index.html" in order to avoid the .htaccess stuff?

Another thing I do, as I build sites, is to create a version of this page to use for a dummy link. By renaming this file to something like "underconst.html", as you develop the menu structure, have all of the links for the web site point to this file. Then as you upload the files, there is an active file to point to and you then know that the coding is working properly. When the real file is completed and uploaded, alter the link to point to the new file and your site is bigger and better.

Works for me.

HTH
Go to the top of the page
 
+Quote Post
thablkpanda
post Sep 18 2005, 07:29 PM
Post #9


Super Member
*********

Group: Members
Posts: 339
Joined: 2-December 04
From: Atlanta, GA
Member No.: 2,516



Thanks Lozbo, you're right.

CODE

<p align="center"> Centered text will be here </p> Non-centered text is here


That will center the paragraph only in the paragraph in question.

Lozbo, your way works, but all Cpanel really is, is a way to edit .htaccess and the <VirtualHost> tags in Apache's base setup.

Panda