About usContact usSite help
Quick links
Search this site

Example script

Redirecting STDERR to STDOUT
Query_String: ''
Path_Info: '<NULL>'
Remote Host: 'your.host.here'
Remote Addr: '123.456.78.90'

Results of stat:
File Owner: '3149'
File Group: '102'

User not in list, defaulting.

User Data Retrieved:
UserName: 'nobody'
UID: '999'
GID: '999'
Directory: '/'
Sanitize script name: 'xx-my-script.pl'
Sanitized to: 'xx-my-script.pl'
Sanitize path name: '/cgi-bin/www.yourname.co.uk/xx-my-script.pl'
Sanitized to: '/cgi-bin/www.yourname.co.uk/xx-my-script.pl'

Log Request
Opening log file.
Writing log entry.
Closing log file.
Done logging request.

UIDs/GIDs Changed To:
RUID: '999'
EUID: '999'
RGID: '999'
EGID: '999'

Output of script follows:
=====================================================
path: '/cgi-bin/www.yourname.co.uk/xx-my-script.pl'
argv[0]: 'xx-my-script.pl'
argv[1]: '<NULL>'
Content-type: text/html

This is an example.

Back to Using cgi-bin





*