Jump to content
Sign in to follow this  
gaby

Ordinea Prioritatii Fisierelor Index Dintr-Un Site

Recommended Posts

In mod standard, ordinea prioritatii fisierelor index de pe un cont de gazduire arata asa:

DirectoryIndex index.html index.shtml index.php index.htm default.html Default.htm default.html Default.html default.shtml Default.shtml page1.html index.pl index.cgi index.php3 index.phtml home.htm home.html home.shtml index.wml

Asta inseamna ca daca in root avem doua fisiere: index.html (primul din lista) si index.php (al treilea din lista) de exemplu, la accesarea www.nume-domeniu.ro va fi afisat continutul fisierului index.html si nu cel al index.php. Daca doriti sa modificati prioritatiile, trebuie sa schimbati ordinea fisierelor, in functie de preferinte, din liniile de mai sus, si sa puneti continutul rezultat in fisierul .htaccess

Pentru detalii suplimentare vedeti:

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...