|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
I know how to make an internal redirection
outputting the Location header from a CGI script (e.g. written in C). But how do i make an external redirection? How can i force Apache to return a redirect status code (302) from a CGI C script? Outputting HTTP/1.1 302 Found as the first line doesn't work and i get error 500 instead (bad request). |
|
#2
|
|||
|
|||
|
this is an auto-reply, i found myself the solution
![]() output a Status header besides Location: Status: 302 |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > external redirection from a cgi |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|