Long description

Back

The following are the different stages shown here. Stage 1: Initial request

Stage 2: Redirect configuration tells us that foo dot html has moved to bar dot p h p

Stage 3. Returns a 302 redirect with the path of the new resource bar dot php in the Location header.

Stage 4: The browser interprets the 302 redirect, and makes another request with the new U R L.

The initial request from the user is given as follows: GET forward slash foo dot h t m l H T T P forward slash 1.1 Host colon funwebdev dot com. This request is given to the server. The following is the instruction given on the server: RedirectMatch foo dot h t m l forward slash PATH forward slash bar dot p h p.

An arrow from the server points to the user window. The following is labeled on the block shown in between the arrow:

H T T P forward slash 1.1 302 found.

...

Location: h t t p colon forward slash forward slash funwebdev dot com forward slash PATH forward slash bar dot p h p.

...

An arrow from the user window points back to this block. The following is labeled on the block in between the arrow: GET forward slash PATH forward slash bar dot p h p H T T P forward slash 1.1

Host colon funwebdev dot com

...

An arrow from the instruction 5 points to the instruction 4. A bar dot p h p page is shown in between the arrow.

Back