Re: Find htm or html files on (Linux) server



"©®" <n0ne@xxxxxxxx> wrote in news:g9autv$sdp$1@xxxxxxxx:

I use a Linux/PHP hosting plan (not sure of the correct terninology - it
is not Windows/ASP based) for a website.

Is there a simple way that if someone types
http://www.mydomain.com/info.html that it would find the webpage
http://www.mydomain.com/info.htm (no "L" on the end) or vice versa: if
someone types http://www.mydomain.com/info.htm that it would find the
webpage http://www.mydomain.com/info.html (with "L" on the end)?

I am not even sure what this "procedure" would be called so hope someone
can help a newbie.
Thanks




Despite that fact that I am one of the least knowledgable HTML "experts"
here, I can tell you that:

1) This is definitely NOT an HTML question. It is instead a question
relating to the exact server you are using. It is likely Apache, because
that is the most popular Unix-based server available. Find out if this is
the case, and take your question to an Apache newsgroup / forum. Note also
that you should be able to configure it to find a default extension. Using
your example, "http://www.mydomain.com/info"; should get the user to
"http://www.mydomain.com/info.html"; or "http://www.mydomain.com/info.htm";,
whichever actually exists.

2) You could always use symbolic links within the Linux filesystem itself.
There are a number of approaches to use. I suppgest asking in a Linux
newsgroup / forum. Exactly how you do it depends on how often you intend to
modify your content and how you intend to back up your website.
.



Relevant Pages

  • Re: Breaking USCF News
    ... preview of concepts for the new magazine and the website that impressed ... idea of having a vigorous forum for debate within the USCF website. ...
    (rec.games.chess.politics)
  • Re: WW website changes
    ... the WW website today that the forum logins are all going to be wiped ... when they put new forum software in place (if ... maybe VTES can/will finally pull its ...
    (rec.games.trading-cards.jyhad)
  • Legality of free CBT videos
    ... which I will offer for free on my website. ... are a lot of training vendors which offer really expensive products. ... text/graphic versions on different Microsoft topics. ... Some of the topics I intend to cover in detail include, ...
    (microsoft.public.windowsxp.general)
  • Re: Breaking USCF News
    ... preview of concepts for the new magazine and the website that impressed ... idea of having a vigorous forum for debate within the USCF website. ... Dissent and moderation rarely mix. ...
    (rec.games.chess.politics)