Menu

#5 multiple index filenames

open
nobody
None
5
2001-11-20
2001-11-20
RJB
No

Allow us to specify more than one filename for the INDEX
directive in the config file. For example, under QPQ, I
have now: index.html, index-d.html. index-e.html. This
gives me flexibility in handling a multilingual web
site. In MacHTTP, I have to use file aliases in each
folder. This works as long as the root folder is not
moved. Then, I have to change tens of aliases to get the
things back in order.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Surely these pages should be labelled index.en.html index.de.html (or
    similar) to allow for negotiation.

    Don't your aliases stay connected when you move the root folder.

    Some people recommend not following aliases...

     
  • RJB

    RJB - 2002-02-26

    Logged In: YES
    user_id=381409

    Aliases stay connected only if the folder is moved within the
    same drive (the same volume to be exact). If it is copied to
    another volume or the drive is reformatted, the aliases get
    broken.

    Why do you think index.en.html is better than index-e.html?
    Are you referring to some undocumented feature?

    Without aliases, I can't (up to my knowledge) have the
    default page open in English for some subsites and in German
    for other subsites/content areas unless I provide the
    appropriate content in the index file. However, some subsites
    have only English content, others have only German, whereas
    others have both English and German in parallel, so using
    external labeling makes it easy to know what is what without
    having to open the files, particularly as the language
    content keeps changing.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.