Skip to content

Instantly share code, notes, and snippets.

@rohit-lakhanpal
Created May 21, 2016 05:22
Show Gist options
  • Save rohit-lakhanpal/141e6d5634581b4b86615b18cd8601a8 to your computer and use it in GitHub Desktop.
Save rohit-lakhanpal/141e6d5634581b4b86615b18cd8601a8 to your computer and use it in GitHub Desktop.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>
Apache Web Server <!--#echo var="SCRIPT_NAME" -->
</title>
</head>
<body>
<h1><!--#echo var="SCRIPT_NAME" --></h1>
<ul>
<li>
<strong>YOUR CUSTOM CONTENT GOES HERE</strong>
</li>
<li>
<strong>
DOCUMENT_ROOT:
</strong>
<!--#echo var="DOCUMENT_ROOT" -->
<br /><small>The root directory of your server</small>
</li>
<li>
<strong>
HTTP_HOST:
</strong>
<!--#echo var="HTTP_HOST" -->
<br /><small>The hostname of the page being attempted</small>
</li>
<li>
<strong>
HTTP_REFERER:
</strong>
<!--#echo var="HTTP_REFERER" -->
<br /><small>The URL of the page that called your program</small>
</li>
<li>
<strong>
PATH:
</strong>
<!--#echo var="PATH" -->
<br /><small>The system path your server is running under</small>
</li>
<li>
<strong>
REMOTE_ADDR:
</strong>
<!--#echo var="REMOTE_ADDR" -->
<br /><small> The IP address of the visitor</small>
</li>
<li>
<strong>
REMOTE_HOST:
</strong>
<!--#echo var="REMOTE_HOST" -->
<br /><small>The hostname of the visitor (if your server has reverse-name-lookups on; otherwise this is the IP address again)</small>
</li>
<li>
<strong>
REMOTE_PORT:
</strong>
<!--#echo var="REMOTE_PORT" -->
<br /><small>The port the visitor is connected to on the web server</small>
</li>
<li>
<strong>
REMOTE_USER:
</strong>
<!--#echo var="REMOTE_USER" -->
<br /><small>The visitor's username</small>
</li>
<li>
<strong>
REQUEST_URI:
</strong>
<!--#echo var="REQUEST_URI" -->
<br /><small>The interpreted pathname of the requested document or CGI (relative to the document root)</small>
</li>
<li>
<strong>
SCRIPT_FILENAME:
</strong>
<!--#echo var="SCRIPT_FILENAME" -->
<br /><small>The full pathname of the current CGI</small>
</li>
<li>
<strong>
SCRIPT_NAME:
</strong>
<!--#echo var="SCRIPT_NAME" -->
<br /><small>The interpreted pathname of the current CGI (relative to the document root)</small>
</li>
<li>
<strong>
SERVER_ADMIN:
</strong>
<!--#echo var="SERVER_ADMIN" -->
<br /><small>The email address for your server's webmaster</small>
</li>
<li>
<strong>
SERVER_NAME:
</strong>
<!--#echo var="SERVER_NAME" -->
<br /><small>Your server's fully qualified domain name </small>
</li>
<li>
<strong>
SERVER_PORT:
</strong>
<!--#echo var="SERVER_PORT" -->
<br /><small>The port number your server is listening on</small>
</li>
<li>
<strong>
SERVER_SOFTWARE:
</strong>
<!--#echo var="SERVER_SOFTWARE" -->
<br /><small>The server software you're using</small>
</li>
</ul>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment