Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Kako postaviti html fajl kao pocetnu stranicu
Author Message
mini programer Offline
Novi korisnik
*

Posts: 54
Joined: Apr 2011
Reputation: 1
Post: #1
Kako postaviti html fajl kao pocetnu stranicu
treba mi pomoć, kako staviti fajl na poćetnu(ili kako se već to kaže) stranicu, ja sam stavio html dokument, i on mi se pojavio /tajdokument.html
a ne na glavnoj stranici, koristim smartftp
11-05-2011 09:58 AM
Find all posts by this user Quote this message in a reply
danielvast Offline
Forumaš
***

Posts: 432
Joined: Dec 2009
Reputation: 22
Post: #2
RE: web
Nisam bas razumio, ako je ono sto ja mislim trebas samo preimenovati tajdokument.html u index.html ili default.html i kada udjes na stranicu browser otvara index.html ili default.html

"When all else fails, read the manual."
11-05-2011 10:50 AM
Find all posts by this user Quote this message in a reply
Gogy Offline
____
*

Posts: 2,378
Joined: Feb 2006
Post: #3
RE: web
Moraš ga imenovat da ti bude index.html (početna stranica se uvijek mora zvati "index"

btw, pazi kako imenuješ teme! Pravila foruma su ti u mom signatureu.

Pravila foruma | Twitter - Facebook - Google+ |


Radar404 <- moj blog
11-05-2011 10:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
mini programer Offline
Novi korisnik
*

Posts: 54
Joined: Apr 2011
Reputation: 1
Post: #4
RE: Kako postaviti html fajl kao pocetnu stranicu
hvala radi
11-05-2011 04:23 PM
Find all posts by this user Quote this message in a reply
kecko Offline
Forumaš
***

Posts: 645
Joined: Nov 2009
Reputation: 20
Post: #5
RE: Kako postaviti html fajl kao pocetnu stranicu
Ukoliko je apache server u pitanju dovoljno je otvoriti httpd.conf
i pogledati varijablu DirectoryIndex na što je postavljena...
Po defaultu bi to bilo
Code:
DirectoryIndex index.html index.php
Možeš i promjeniti u što god želiš.
12-05-2011 08:21 AM
Find all posts by this user Quote this message in a reply
mini programer Offline
Novi korisnik
*

Posts: 54
Joined: Apr 2011
Reputation: 1
Post: #6
RE: Kako postaviti html fajl kao pocetnu stranicu
nije apache server
12-05-2011 10:52 AM
Find all posts by this user Quote this message in a reply
kecko Offline
Forumaš
***

Posts: 645
Joined: Nov 2009
Reputation: 20
Post: #7
RE: Kako postaviti html fajl kao pocetnu stranicu
nego?
12-05-2011 11:33 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)