Print this page
2837 - remove print/lp* from gate and use CUPS from userland

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/print/mod_ipp/httpd-standalone-ipp.conf
          +++ new/usr/src/lib/print/mod_ipp/httpd-standalone-ipp.conf
↓ open down ↓ 45 lines elided ↑ open up ↑
  46   46  #
  47   47  
  48   48  ### Section 1: Global Environment
  49   49  #
  50   50  # The directives in this section affect the overall operation of Apache,
  51   51  # such as the number of concurrent requests it can handle or where it
  52   52  # can find its configuration files.
  53   53  #
  54   54  
  55   55  #
  56      -# ServerType is either inetd, or standalone.  Inetd mode is only supported on
  57      -# Unix platforms.
  58      -#
  59      -ServerType standalone
  60      -
  61      -#
  62   56  # ServerRoot: The top of the directory tree under which the server's
  63   57  # configuration, error, and log files are kept.
  64   58  #
  65   59  # NOTE!  If you intend to place this on an NFS (or otherwise network)
  66   60  # mounted filesystem then please read the LockFile documentation
  67   61  # (available at <URL:http://www.apache.org/docs/mod/core.html#lockfile>);
  68   62  # you will save yourself a lot of trouble.
  69   63  #
  70      -ServerRoot "/usr/apache"
       64 +ServerRoot "/usr/apache2/2.2"
  71   65  
  72   66  #
  73   67  # The LockFile directive sets the path to the lockfile used when Apache
  74   68  # is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or
  75   69  # USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at
  76   70  # its default value. The main reason for changing it is if the logs
  77   71  # directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL
  78   72  # DISK. The PID of the main server process is automatically appended to
  79   73  # the filename. 
  80   74  #
↓ open down ↓ 104 lines elided ↑ open up ↑
 185  179  # have to place corresponding `LoadModule' lines at this location so the
 186  180  # directives contained in it are actually available _before_ they are used.
 187  181  # Please read the file http://httpd.apache.org/docs/dso.html for more
 188  182  # details about the DSO mechanism and run `httpd -l' for the list of already
 189  183  # built-in (statically linked and thus always available) modules in your httpd
 190  184  # binary.
 191  185  #
 192  186  # Note: The order in which modules are loaded is important.  Don't change
 193  187  # the order below without expert advice.
 194  188  #
 195      -LoadModule access_module libexec/mod_access.so
 196  189  LoadModule alias_module libexec/mod_alias.so
 197      -LoadModule auth_module libexec/mod_auth.so
      190 +LoadModule auth_basic_module libexec/mod_auth_basic.so
      191 +LoadModule authn_file_module libexec/mod_authn_file.so
      192 +LoadModule authz_host_module libexec/mod_authz_host.so
      193 +LoadModule authz_user_module libexec/mod_authz_user.so
 198  194  LoadModule mime_module libexec/mod_mime.so
 199  195  LoadModule mime_magic_module libexec/mod_mime_magic.so
 200  196  LoadModule ipp_module libexec/mod_ipp.so
 201  197  
 202      -#  Reconstruction of the complete module list from all available modules
 203      -#  (static and shared ones) to achieve correct module execution order.
 204      -#  [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
 205      -ClearModuleList
 206      -AddModule mod_access.c
 207      -AddModule mod_alias.c
 208      -AddModule mod_auth.c
 209      -AddModule mod_mime.c
 210      -AddModule mod_mime_magic.c
 211      -AddModule mod_ipp.c
 212      -AddModule mod_so.c
 213      -
 214  198  ### Section 2: 'Main' server configuration
 215  199  #
 216  200  # The directives in this section set up the values used by the 'main'
 217  201  # server, which responds to any requests that aren't handled by a
 218  202  # <VirtualHost> definition.  These values also provide defaults for
 219  203  # any <VirtualHost> containers you may define later in the file.
 220  204  #
 221  205  # All of these directives may appear inside <VirtualHost> containers,
 222  206  # in which case these default settings will be overridden for the
 223  207  # virtual host being defined.
↓ open down ↓ 3 lines elided ↑ open up ↑
 227  211  # If your ServerType directive (set earlier in the 'Global Environment'
 228  212  # section) is set to "inetd", the next few directives don't have any
 229  213  # effect since their settings are defined by the inetd configuration.
 230  214  # Skip ahead to the ServerAdmin directive.
 231  215  #
 232  216  
 233  217  #
 234  218  # Port: The port to which the standalone server listens. For
 235  219  # ports < 1023, you will need httpd to be run as root initially.
 236  220  #
 237      -Port 631
      221 +Listen 631
 238  222  
 239  223  #
 240  224  # If you wish httpd to run as a different user or group, you must run
 241  225  # httpd as root initially and it will switch.  
 242  226  #
 243  227  # User/Group: The name (or #number) of the user/group to run httpd as.
 244  228  #  . On SCO (ODT 3) use "User nouser" and "Group nogroup".
 245  229  #  . On HPUX you may not be able to use shared memory as nobody, and the
 246  230  #    suggested workaround is to create a user www and use that user.
 247  231  #  NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
↓ open down ↓ 94 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX