Re: Find htm or html files on (Linux) server
- From: Mike Duffy <respond@xxxxxxxxxxxxxx>
- Date: Sat, 30 Aug 2008 13:23:50 GMT
"©®" <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.
.
- References:
- Prev by Date: Re: ordered lists vs unordered lists
- Next by Date: Re: ordered lists vs unordered lists
- Previous by thread: Find htm or html files on (Linux) server
- Next by thread: Re: Find htm or html files on (Linux) server
- Index(es):
Relevant Pages
|