All pastes #996068 Raw Edit

Miscellany

public text v1 · immutable
#996068 ·published 2008-04-24 18:26 UTC
rendered paste body
# DO NOT EDIT THIS FILE
# GENERATED BY SCOPSERV

ServerTokens ProductOnly
ServerRoot "/etc/httpd"
PidFile /var/run/scopserv.pid
Timeout 90
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15

<IfModule prefork.c>
StartServers       1
MinSpareServers    1
MaxSpareServers    2
MaxClients       150
MaxRequestsPerChild  1000
</IfModule>

<IfDefine PHP4>
LoadModule php4_module modules/libphp4.so
</IfDefine>

<IfDefine PHP5>
LoadModule php5_module modules/libphp5.so
</IfDefine>

AddType application/x-httpd-php .php
DirectoryIndex index.php

PhpIniDir "/var/www/scopserv/config"

Listen 5555

LoadModule access_module modules/mod_access.so
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule info_module modules/mod_info.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dir_module modules/mod_dir.so
LoadModule alias_module modules/mod_alias.so
LoadModule log_config_module modules/mod_log_config.so

User scopserv
Group scopserv

UseCanonicalName Off

LogLevel warn
ErrorLog /var/www/scopserv/logs/error_log
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog /var/www/scopserv/logs/access_log common

DocumentRoot "/var/www/scopserv"

<Directory />
    Options FollowSymLinks ExecCGI
    AllowOverride All
</Directory>

<Location />
      php_value include_path "/var/www/scopserv/framework"
</Location>

Alias /tftpboot "/tftpboot/"

<Directory /tftpboot>
    Options FollowSymLinks ExecCGI
    AllowOverride All
</Directory>
AccessFileName .htaccess

#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>

TypesConfig /etc/mime.types

DefaultType text/plain
HostnameLookups Off

ServerSignature Off

IndexOptions SuppressColumnSorting SuppressDescription SuppressLastModified SuppressSize SuppressIcon

AddEncoding x-compress Z
AddEncoding x-gzip gz tgz

AddDefaultCharset ISO-8859-1
AddType application/x-tar .tgz

BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0

BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully