Search:
Preferences
Help/Guide
About Trac
Wiki
View Tickets
Search
Context Navigation
Back to Ticket #17
Ticket #17
: printenv
File printenv,
222 bytes
(added by
Ludovic Bellière
,
15 years ago
)
to be placed in /usr/lib/cgi-bin/mailman
Line
1
#!/usr/bin/python
2
3
import os
4
5
print 'Content-type: text/html'
6
print
7
print '<HTML><HEAD><TITLE>Print Environment</TITLE></HEAD><BODY>'
8
for n,v in os.environ.items():
9
print '%s: %s<br>' % (n,v)
10
print ' </BODY> </HTML>'
11
Download in other formats:
Original Format