#VSD httpd.conf -- Apache HTTP server configuration file #VSD Do not change these settings ServerType standalone ServerRoot /usr/local/etc/httpd LockFile /var/lock/httpd.lock PidFile /var/run/httpd.pid ScoreBoardFile /var/run/httpd.scoreboard #ResourceConfig /etc/httpd/conf/srm.conf #AccessConfig /etc/httpd/conf/access.conf Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 MinSpareServers 5 MaxSpareServers 10 StartServers 5 User web Group web #VSD Dynamic Shared Object extensions #LoadModule mmap_static_module /usr/lib/apache/mod_mmap_static.so #LoadModule bandwidth_module /usr/lib/apache/mod_bandwidth.so #LoadModule status_module /usr/lib/apache/mod_status.so LoadModule includes_module /usr/lib/apache/mod_include.so LoadModule autoindex_module /usr/lib/apache/mod_autoindex.so #LoadModule asis_module /usr/lib/apache/mod_asis.so #LoadModule imap_module /usr/lib/apache/mod_imap.so #LoadModule action_module /usr/lib/apache/mod_actions.so #LoadModule speling_module /usr/lib/apache/mod_speling.so LoadModule rewrite_module /usr/lib/apache/mod_rewrite.so #LoadModule anon_auth_module /usr/lib/apache/mod_auth_anon.so #LoadModule db_auth_module /usr/lib/apache/mod_auth_db.so #LoadModule dbm_auth_module /usr/lib/apache/mod_auth_dbm.so #LoadModule mysql_auth_module /usr/lib/apache/mod_auth_mysql.so #LoadModule auth_pgsql_module /usr/lib/apache/mod_auth_pgsql.so #LoadModule cern_meta_module /usr/lib/apache/mod_cern_meta.so #LoadModule unique_id_module /usr/lib/apache/mod_unique_id.so #LoadModule perl_module /usr/lib/apache/libperl.so #LoadModule dav_module /usr/lib/apache/libdav.so LoadModule ssl_module /usr/lib/apache/libssl.so #LoadModule python_module /usr/lib/apache/mod_python.so LoadModule php4_module /opt/php-4.3/lib/apache/libphp4.so #LoadModule php5_module /opt/php-5.1/lib/apache/libphp5.so #VSD Reconstruct the complete module list. Don't change this order ClearModuleList #AddModule mod_mmap_static.c AddModule mod_vhost_alias.c #AddModule mod_bandwidth.c AddModule mod_env.c AddModule mod_log_config.c AddModule mod_log_agent.c AddModule mod_log_referer.c #AddModule mod_mime_magic.c AddModule mod_mime.c AddModule mod_negotiation.c #AddModule mod_status.c AddModule mod_info.c AddModule mod_include.c AddModule mod_autoindex.c AddModule mod_dir.c AddModule mod_cgi.c #AddModule mod_asis.c #AddModule mod_imap.c #AddModule mod_actions.c #AddModule mod_speling.c AddModule mod_userdir.c AddModule mod_alias.c AddModule mod_rewrite.c AddModule mod_access.c AddModule mod_auth.c #AddModule mod_auth_anon.c #AddModule mod_auth_db.c #AddModule mod_auth_any.c #AddModule mod_auth_dbm.c #AddModule mod_auth_mysql.c #AddModule mod_auth_pgsql.c #AddModule auth_ldap.c #AddModule mod_digest.c AddModule mod_proxy.c #AddModule mod_cern_meta.c AddModule mod_expires.c AddModule mod_headers.c #AddModule mod_usertrack.c #AddModule mod_unique_id.c AddModule mod_frontpage.c AddModule mod_so.c AddModule mod_setenvif.c #AddModule mod_perl.c #AddModule mod_dav.c #AddModule mod_roaming.c AddModule mod_ssl.c #AddModule mod_put.c #AddModule mod_python.c AddModule mod_php4.c #AddModule mod_php5.c #VSD Do not change these Port 80 AccessFileName .htaccess TypesConfig /usr/local/etc/httpd/conf/mime.types DefaultType text/plain #VSD Modify normal HTTP response behaviour for non-conformant browsers 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 #VSD Handle broken MS Internet Exporer SSL implementation SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown #VSD Forced to off because it slows web-server response. #VSD You don't need it. Use a webstats package instead. HostnameLookups Off #VSD IP addresses and ports that the webserver shall listen on Listen 212.69.199.171:80 #Listen 212.69.199.171:443 Listen 212.69.202.138:80 Listen 212.69.202.138:443 #VSD Do not change these SSLEngine off SSLPassPhraseDialog builtin SSLSessionCache dbm:/var/log/httpd/ssl_scache SSLSessionCacheTimeout 300 SSLMutex file:/var/log/httpd/ssl_mutex SSLRandomSeed startup builtin SSLRandomSeed connect builtin SSLLog /var/log/httpd/ssl_engine_log SSLLogLevel info MaxClients 30 MaxRequestsPerChild 3000 #VSD Web-server default configuration overrided by VirtualHosts ServerAdmin admin@conne-24278-001.dsvr.co.uk ServerName conne-24278-001.dsvr.co.uk DocumentRoot /home/httpd/docs #VSD Directory appended to a user's home dir if ~user request received UserDir public_html #VSD Default log file locations if not defined by VirtualHost CustomLog /var/log/httpd/access_log common ErrorLog /var/log/httpd/error_log #VSD Log format declarations for CustomLog log-files LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent LogFormat "%h %l %u %t \"%r\" %>s %b" common #VSD IP-addresses used by name-based VirtualHost declarations NameVirtualHost 212.69.199.171:80 NameVirtualHost 212.69.202.138:80 #VSD Name of the files to use as a pre-written directory index DirectoryIndex index.html index.php home.html index.htm home.htm default.htm #VSD Configuration not handled by VSD UseCanonicalName On # /usr/local/etc/httpd/conf/httpd.conf # DSVR Apache httpd configuration file. # Dynamic Shared Object (DSO) support. # Please respect the order below. # Reconstruction of the complete module list from all available modules # (static and shared ones) to achieve correct module execution order. # [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO] ServerSignature On Alias /icons/ "/home/httpd/icons/" IndexOptions FancyIndexing AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ DefaultIcon /icons/unknown.gif ReadmeName README HeaderName HEADER IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t AddEncoding x-compress Z AddEncoding x-gzip gz AddLanguage en .en AddLanguage fr .fr AddLanguage de .de AddLanguage da .da AddLanguage el .el AddLanguage it .it LanguagePriority en fr de #AddType application/x-httpd-php3 .php3 #AddType application/x-httpd-php3-source .phps AddType application/x-httpd-php4 .php4 #AddType application/x-httpd-php4-source .phps AddType application/x-httpd-php .php .csv AddType application/x-x509-ca-cert .crt AddType application/x-pkcs7-crl .crl # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot /home/httpd/docs # Each directory to which Apache has access, can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # First, we configure the "default" to be a very restrictive set of # permissions. # # Note that from this point forward you must specifically allow # particular features to be enabled - so if something's not working as # you might expect, make sure that you have specifically enabled it # below. # # This should be changed to whatever you set DocumentRoot to. # # UserDir: The name of the directory which is appended onto a user's home # directory if a ~user request is received. # # # Control access to UserDir directories. The following is an example # for a site where these directories are restricted to read-only. # # # AllowOverride FileInfo AuthConfig Limit # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec # # Order allow,deny # Allow from all # # # Order deny,allow # Deny from all # # # # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # # # AccessFileName: The name of the file to look for in each directory # for access control information. # # # The following lines prevent .htaccess files from being viewed by # Web clients. Since .htaccess files often contain authorization # information, access is disallowed for security reasons. Comment # these lines out if you want Web visitors to see the contents of # .htaccess files. If you change the AccessFileName directive above, # be sure to make the corresponding changes here. # # # ErrorLog: The location of the error log file. # If you do not specify an ErrorLog directive within a # container, error messages relating to that virtual host will be # logged here. If you *do* define an error logfile for a # container, that host's errors will be logged there and not here. # # # LogLevel: Control the number of messages logged to the error_log. # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. # LogLevel warn # # The following directives define some format nicknames for use with # a CustomLog directive (see below). # # # The location and format of the access logfile (Common Logfile Format). # If you do not define any access logfiles within a # container, they will be logged here. Contrariwise, if you *do* # define per- access logfiles, transactions will be # logged therein and *not* in this file. # # # If you would like to have agent and referer logfiles, uncomment the # following directives. # #CustomLog /var/log/httpd/referer_log referer #CustomLog /var/log/httpd/agent_log agent # # If you prefer a single logfile with access, agent, and referer information # (Combined Logfile Format) you can use the following directive. # #CustomLog /var/log/httpd/access_log combined # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/" # # "/usr/apps/apache/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # # # AddType allows you to tweak mime.types without actually editing it, or to # make certain files to be certain types. # # # AddHandler allows you to map certain file extensions to "handlers" , # actions unrelated to filetype. These can be either built into the server # or added with the Action command (see below) # # If you want to use server side includes, or CGI outside # ScriptAliased directories, uncomment the following lines. # # To use CGI scripts: # #AddHandler cgi-script .cgi # # To use server-parsed HTML files # AddType text/html .html AddHandler server-parsed .html .xsl .htm # # Uncomment the following line to enable Apache's send-asis HTTP file # feature # #AddHandler send-as-is asis # # If you wish to use server-parsed imagemap files, use # #AddHandler imap-file map # # To enable type maps, you might want to use # #AddHandler type-map var # javascript #AddHandler javascript-html .jshtml #AddHandler javascript-script .ssjs # # Action lets you define media types that will execute a script whenever # a matching file is called. This eliminates the need for repeated URL # pathnames for oft-used CGI file processors. # Format: Action media/type /cgi-script/location # Format: Action handler-name /cgi-script/location # # # MetaDir: specifies the name of the directory in which Apache can find # meta information files. These files contain additional HTTP headers # to include when sending the document # #MetaDir .web # # MetaSuffix: specifies the file name suffix for the file containing the # meta information. # #MetaSuffix .meta # # Customizable error response (Apache style) # these come in three flavors # # 1) plain text #ErrorDocument 500 "The server made a boo boo. # n.b. the (") marks it as text, it does not get output # # 2) local redirects #ErrorDocument 404 /missing.html # to redirect to local URL /missing.html #ErrorDocument 404 /cgi-bin/missing_handler.pl # N.B.: You can redirect to a script or a document using server-side-includes. # # 3) external redirects #ErrorDocument 402 http://some.other_server.com/subscription_info.html # N.B.: Many of the environment variables associated with the original # request will *not* be available to such a script. # Insert SSL enabled virtual hosts within # this ... section. # Standard non-SSL enabled virtual hosts #VSD End of configuration not handled by VSD Order allow,deny Deny from all Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all Options FollowSymLinks Indexes IncludesNoExec AllowOverride All # # This may also be "None" , "All" , or any combination of "Indexes" , # "Includes" , "FollowSymLinks" , "ExecCGI" , or "MultiViews" . # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # Options Indexes FollowSymLinks # # This controls which options the .htaccess files in directories can # override. Can also be "All" , or any combination of "Options" , "FileInfo" , # "AuthConfig" , and "Limit" # AllowOverride All # # Controls who can get stuff from this server. # Order allow,deny Allow from all AllowOverride None Options None Order allow,deny Allow from all ServerName www.glamor247.com ServerAlias www.glamortogo.com RedirectMatch (.*) https://www.glamour247.com/catalog68.xml XBitHack on CustomLog /www/logs/glamour247.com-transfer combined ErrorLog /www/logs/glamour247.com-error ServerName www.glamour247.com ServerAlias www.glamourtogo.co.uk www.glamour247.co.uk www.glamour247.eu www.glamourtogo.eu RedirectMatch permanent /(.*) https://www.glamour247.com/$1 XBitHack on CustomLog /www/logs/glamour247.com-transfer combined ErrorLog /www/logs/glamour247.com-error ServerName www.glamour247.com DocumentRoot /www/vhtdocs/glamour247.com CustomLog /www/logs/glamour247.com-transfer combined ErrorLog /www/logs/glamour247.com-error Redirect /usa/ https://www.glamour247.com/catalog68.xml Redirect /usa https://www.glamour247.com/catalog68.xml SSLEngine on SSLCertificateFile /www/conf/ssl.crt/glamour247.com.crt SSLCertificateKeyFile /www/conf/ssl.key/glamour247.com.key