Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Web server
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== URL redirection ==== {{Main|URL redirection}} A web server program ''may'' have the capability of doing URL redirections to new URLs (new locations) which consists in replying to a client request message with a response message containing a new URL suited to access a valid or an existing web resource (client should redo the request with the new URL).<ref name="rfc7231-6.4">{{cite IETF |rfc=7231 |sectionname=Response Status Codes: Redirection 3xx |section=6.4|title=RFC 7231, HTTP/1.1: Semantics and Content|pages=53β54}}</ref> URL redirection of location is used:<ref name="rfc7231-6.4" /> * to fix a directory name by adding a final slash '/';<ref name="ws-directory-listings" /> * to give a new URL for a no more existing URL path to a new path where that kind of web resource can be found. * to give a new URL to another domain when current domain has too much load. Example 1: a URL path points to a '''directory''' name but it does not have a final slash '/' so web server sends a redirect to client in order to instruct it to redo the request with the fixed path name.<ref name="ws-directory-listings" /> From:<br /> <code>/directory1/directory2</code><br /> To:<br /> <code>/directory1/directory2/</code> Example 2: a whole set of documents has been '''moved inside website''' in order to reorganize their file system paths. From:<br /> <code>/directory1/directory2/2021-10-08/</code><br /> To:<br /> <code>/directory1/directory2/2021/10/08/</code> Example 3: a whole set of documents has been '''moved to a new website''' and now it is mandatory to use secure HTTPS connections to access them. From:<br /> <code><nowiki>http://www.example.com/directory1/directory2/2021-10-08/</nowiki></code><br /> To:<br /> <code><nowiki>https://docs.example.com/directory1/2021-10-08/</nowiki></code> Above examples are only a few of the possible kind of redirections.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Web server
(section)
Add topic