Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DISCUSSION] CGI #140

Open
yenthing opened this issue Jan 19, 2025 · 1 comment
Open

[DISCUSSION] CGI #140

yenthing opened this issue Jan 19, 2025 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@yenthing
Copy link
Collaborator

No description provided.

@yenthing yenthing self-assigned this Jan 19, 2025
@yenthing yenthing added the documentation Improvements or additions to documentation label Jan 19, 2025
@yenthing yenthing changed the title CGI [DISCUSSION] CGI Jan 19, 2025
@yenthing
Copy link
Collaborator Author

yenthing commented Jan 19, 2025

I need:

  • Script-URI, MUST have the property that if the client had accessed this URI instead, then the script would have been executed with the same values for the SCRIPT_NAME, PATH_INFO and QUERY_STRING meta-variables.
  • Variables I need:

MUST:

  • CONTENT_LENGTH
  • CONTENT_TYPE
  • GATEWAY_INTERFACE -> GATEWAY_INTERFACE = "CGI" "/" 1digit "." 1digit
  • PATH_TRANSLATED
  • QUERY_STRING
  • REMOTE_ADDR -> HOSTnumber
  • REMOTE_USER -> provides a user identification string supplied by client as part of user authentication, only if the client request AUTH_TYPE then must have this var
  • REQUEST_METHOD
  • SCRIPT_NAME, SCRIPT_NAME = "" | ( "/" path ) -> its URI path
  • SERVER_NAME
  • SERVER_PORT
  • SERVER_PROTOCOL -> name and the http version
  • SERVER_SOFTWARE

SHOULD

  • PATH_INFO -> PATH_INFO is NULL, then the PATH_TRANSLATED variable MUST be set to NULL (or unset). -> I got the whole Path string from Kamilla, then divide it after that
  • REMOTE_HOST

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant