I just installed Campsite 3.11 and afterward, when I click on the Administrator icon I get a 404 error. The admin directory does not exist on my server, either. Nor do I find it in the unarchived .tar.gz file.
I also tried Campsite 3.10 and get the same thing. The online "fine manual" is no help: it just says to go to http://yourdomain/admin/
All pre-installation checklist items were green except APC PHP cache, and the installation went smoothly.
Please tell us about your platform (Operating System, Apache version)
and some more details you can give us in order to figure out what
could be happening.
Thanks,
On Thu, Aug 7, 2008 at 3:18 PM, wrote:
> I just installed Campsite 3.11 and afterward, when I click on the Administrator icon I get a 404 error. The admin directory does not exist on my server, either. Nor do I find it in the unarchived .tar.gz file.
>
> I also tried Campsite 3.10 and get the same thing. The online "fine manual" is no help: it just says to go to http://yourdomain/admin/
>
> All pre-installation checklist items were green except APC PHP cache, and the installation went smoothly.
>
Zend logo This program makes use of the Zend
Scripting Language Engine:
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with the ionCube PHP Loader v3.1.28, Copyright (c) 2002-2007, by ionCube Ltd.
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file /no value/ /no value/
auto_globals_jit On On
auto_prepend_file /no value/ /no value/
browscap /no value/ /no value/
default_charset /no value/ /no value/
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes /no value/ /no value/
disable_functions /no value/ /no value/
display_errors On On
display_startup_errors Off Off
doc_root /no value/ /no value/
docref_ext /no value/ /no value/
docref_root /no value/ /no value/
enable_dl On On
error_append_string /no value/ /no value/
error_log /no value/ /no value/
error_prepend_string /no value/ /no value/
error_reporting 2047 2047
expose_php On On
extension_dir /usr/lib64/php/modules /usr/lib64/php/modules
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/share/pear:/usr/share/php
.:/usr/share/pear:/usr/share/php
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters /no value/ /no value/
max_execution_time 30 30
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 16M 16M
open_basedir /var/www/vhosts/islamradionetwork.com/httpdocs:/tmp /no value/
output_buffering 4096 4096
output_handler /no value/ /no value/
post_max_size 800M 800M
precision 14 14
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv Off Off
register_globals Off Off
register_long_arrays Off Off
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir /no value/ /no value/
safe_mode_gid Off Off
safe_mode_include_dir /no value/ /no value/
sendmail_from /no value/ /no value/
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func /no value/ /no value/
upload_max_filesize 799M 799M
upload_tmp_dir /no value/ /no value/
user_dir /no value/ /no value/
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off
apache2handler
Apache Version Apache/2.2.3 (Fedora)
Apache API Version 20051115
Server Administrator mir@islamtribune.com
Hostname:Port islamradionetwork.com:80
User/Group apache(48)/48
Max Requests Per Child: 4000 - Keep Alive: off - Max Per Connection: 100
Timeouts Connection: 120 - Keep-Alive: 15
Virtual Server Yes
Server Root /etc/httpd
Loaded Modules core prefork http_core mod_so mod_auth_basic
mod_auth_digest mod_authn_file mod_authn_alias mod_authn_anon
mod_authn_dbm mod_authn_default mod_authz_host mod_authz_user
mod_authz_owner mod_authz_groupfile mod_authz_dbm mod_authz_default
util_ldap mod_authnz_ldap mod_include mod_log_config mod_logio mod_env
mod_ext_filter mod_mime_magic mod_expires mod_deflate mod_headers
mod_usertrack mod_setenvif mod_mime mod_dav mod_status mod_autoindex
mod_info mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_actions
mod_speling mod_userdir mod_alias mod_rewrite mod_proxy
mod_proxy_balancer mod_proxy_ftp mod_proxy_http mod_proxy_connect
mod_cache mod_suexec mod_disk_cache mod_file_cache mod_mem_cache mod_cgi
mod_jk mod_fcgid mod_perl mod_php5 mod_proxy_ajp mod_python mod_ssl
Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0
Apache Environment
Variable Value
HTTP_HOST www.islamradionetwork.org
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US;
rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16
HTTP_ACCEPT
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
BZip2 Support Enabled
Stream Wrapper support compress.bz2://
Stream Filter support bzip2.decompress, bzip2.compress
BZip2 Version 1.0.3, 15-Feb-2005
calendar
Calendar support enabled
ctype
ctype functions enabled
curl
CURL support enabled
CURL Information libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
date
date/time support enabled
Timezone Database Version 2006.1
Timezone Database internal
Default timezone America/New_York
Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone /no value/ /no value/
dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.29
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled
exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.173.2.5 2006/04/10 18:23:24 helly Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF
ftp
FTP support enabled
gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.2.1
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
iconv support enabled
iconv implementation glibc
iconv library version 2.5
Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1
imap
IMAP c-Client Version 2004
SSL Support enabled
Kerberos Support enabled
libxml
libXML support active
libXML Version 2.6.29
libXML streams enabled
mbstring
Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 3.7.1
mbstring extension makes use of "streamable kanji code filter and
converter", which is distributed under the GNU Lesser General Public
License version 2.1.
Directive Local Value Master Value
mbstring.detect_order /no value/ /no value/
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding /no value/ /no value/
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character /no value/ /no value/
mime_magic
mime_magic support invalid magic file, disabled
Directive Local Value Master Value
mime_magic.debug Off Off
mime_magic.magicfile /usr/share/file/magic.mime /usr/share/file/magic.mime
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.22
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib64/mysql -lmysqlclient
Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host /no value/ /no value/
mysql.default_password /no value/ /no value/
mysql.default_port /no value/ /no value/
mysql.default_socket /no value/ /no value/
mysql.default_user /no value/ /no value/
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
mysqli
MysqlI Support enabled
Client API library version 5.0.22
Client API header version 5.0.27
MYSQLI_SOCKET /var/lib/mysql/mysql.sock
Directive Local Value Master Value
mysqli.default_host /no value/ /no value/
mysqli.default_port 3306 3306
mysqli.default_pw /no value/ /no value/
mysqli.default_socket /no value/ /no value/
mysqli.default_user /no value/ /no value/
mysqli.max_links Unlimited Unlimited
mysqli.reconnect Off Off
openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.8b 04 May 2006
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 6.6 06-Feb-2006
PDO
PDO support enabled
PDO drivers mysql, sqlite
pdo_mysql
PDO Driver for MySQL, client library version 5.0.22
sysvmsg support enabled
Revision $Revision: 1.20.2.3 $
tokenizer
Tokenizer Support enabled
wddx
WDDX Support enabled
WDDX Session Serializer enabled
xml
XML Support active
XML Namespace Support active
libxml2 Version 2.6.29
xmlreader
XMLReader enabled
xmlwriter
XMLWriter enabled
xsl
XSL enabled
libxslt Version 1.1.21
libxslt compiled against libxml Version 2.6.28
EXSLT enabled
libexslt Version 1.1.21
zlib
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler /no value/ /no value/
Additional Modules
Module Name
ionCube Loader
sysvsem
sysvshm
Environment
Variable Value
SELINUX_INIT YES
CONSOLE /dev/null
TERM linux
INIT_VERSION sysvinit-2.86
PATH /sbin:/usr/sbin:/bin:/usr/bin
RUNLEVEL 3
runlevel 3
PWD /etc/rc.d/init.d
LANG C
PREVLEVEL N
previous N
HOME /
SHLVL 4
OPENSSL_CONF /usr/local/psa/admin/conf/openssl.cnf
_ /usr/sbin/httpd
PHP Variables
Variable Value
_REQUEST["58c9892ebd05fbf7fe333c670b120b23"]
12ed9ad2acdfb02e4221961bf3c29571
_COOKIE["58c9892ebd05fbf7fe333c670b120b23"] 12ed9ad2acdfb02e4221961bf3c29571
_SERVER["HTTP_HOST"] www.islamradionetwork.org
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 6.0;
en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16
_SERVER["HTTP_ACCEPT"]
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"] 300
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["HTTP_COOKIE"]
58c9892ebd05fbf7fe333c670b120b23=12ed9ad2acdfb02e4221961bf3c29571
_SERVER["PATH"] /sbin:/usr/sbin:/bin:/usr/bin
_SERVER["SERVER_SIGNATURE"] Apache/2.2.3 (Fedora) Server at
www.islamradionetwork.org Port 80
_SERVER["SERVER_SOFTWARE"] Apache/2.2.3 (Fedora)
_SERVER["SERVER_NAME"] www.islamradionetwork.org
_SERVER["SERVER_ADDR"] 205.178.137.78
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 67.100.123.22
_SERVER["DOCUMENT_ROOT"] /var/www/vhosts/islamradionetwork.com/httpdocs
_SERVER["SERVER_ADMIN"] mir@islamtribune.com
_SERVER["SCRIPT_FILENAME"]
/var/www/vhosts/islamradionetwork.com/httpdocs/phpinfo.php
_SERVER["REMOTE_PORT"] 49273
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] /no value/
_SERVER["REQUEST_URI"] /phpinfo.php
_SERVER["SCRIPT_NAME"] /phpinfo.php
_SERVER["PHP_SELF"] /phpinfo.php
_SERVER["REQUEST_TIME"] 1218212438
_ENV["SELINUX_INIT"] YES
_ENV["CONSOLE"] /dev/null
_ENV["TERM"] linux
_ENV["INIT_VERSION"] sysvinit-2.86
_ENV["PATH"] /sbin:/usr/sbin:/bin:/usr/bin
_ENV["RUNLEVEL"] 3
_ENV["runlevel"] 3
_ENV["PWD"] /etc/rc.d/init.d
_ENV["LANG"] C
_ENV["PREVLEVEL"] N
_ENV["previous"] N
_ENV["HOME"] /
_ENV["SHLVL"] 4
_ENV["OPENSSL_CONF"] /usr/local/psa/admin/conf/openssl.cnf
_ENV["_"] /usr/sbin/httpd
PHP License
This program is free software; you can redistribute it and/or modify it
under the terms of the PHP License as published by the PHP Group and
included in the distribution in the file: LICENSE
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you did not receive a copy of the PHP license, or have any questions
about PHP licensing, please contact license@php.net.
Further information: I tried unarchiving the campsite-3.1.1.tar.gz on my Windows PC using WinRAR version 3.70, rather than using "tar -xzfv" on our Linux server, and it fails saying
"F:\campsite-3.1.1.tar.gz: Cannot create dmin\
F:\campsite-3.1.1.tar.gz: Cannot create eÅ"
I've tried redownloading the file from different mirrors on Sourceforge and get the same results.
I've uninstalled WinRAR 3.70 and installed their latest version, 3.80b4 and get the same error.
I was able to extract the files using 7Zip 4.57 but there's still no admin directory under implementation/site.
I think the .tar.gz archive file is corrupt on the mirors.
I checked the archive and it is valid, please try a different archiving
tool. The admin directory does not exist indeed and it is not needed.
Campsite relies on the multiviews apache option to run the admin.php script
whenever it receives a request like: /admin/something/
> Author: motterj
> Link: http://code.campware.org/phorum/read.php?8,6541,6545#msg-6545
>
> --------------------------------------------------------------------------------
>
> Further information: I tried unarchiving the campsite-3.1.1.tar.gz on my
> Windows PC using WinRAR version 3.70, rather than using "tar -xzfv" on our
> Linux server, and it fails saying
> "F:\campsite-3.1.1.tar.gz: Cannot create dmin\
> F:\campsite-3.1.1.tar.gz: Cannot create eÅ "
>
> I've tried redownloading the file from different mirrors on Sourceforge and
> get the same results.
>
> I've uninstalled WinRAR 3.70 and installed their latest version, 3.80b4 and
> get the same error.
>
> I was able to extract the files using 7Zip 4.57 but there's still no admin
> directory under implementation/site.
>
> I think the .tar.gz archive file is corrupt on the mirors.
>
> --
> Sent from Campware Forums
> http://code.campware.org/phorum
>
The problem is, I don't really know what I'm doing regarding configuring Apache. I've edited httpd.conf to look like this:
ServerAdmin webmaster@islamtribune.com
DocumentRoot /var/www/vhosts/islamtribune.com
ServerName islamtribune.com
DirectoryIndex index.php index.html
Options -Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
...and then I restarted Apache. I had already renamed htaccess to .htaccess after reinstalling Campsite 3.11. No joy- still get the 404 error when trying to load the admin page in my browser.
Also, when I visit www.islamtribune.com I get the following:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /var/www/vhosts/islamtribune.com/httpdocs/classes/User.php on line 130
We're running on a Network Solutions vps, using Fedora core 6 and Apache 2.2.3. The actual Campsite files are found in /var/www/vhosts/islamtribune.com/httpdocs.
I have no such directory tree or file as /extra/httpd/vhosts.conf in /etc/httpd/conf, just the files httpd.conf, httpd.pem and magic.
Do the configuration exactly as described there, restart apache and check
the site. If it still doesn't work please send me the apache logs and
config file.
Mugur
On Sat, Aug 16, 2008 at 7:17 PM, wrote:
> Author: motterj
> Link: http://code.campware.org/phorum/read.php?8,6541,6549#msg-6549
>
> --------------------------------------------------------------------------------
>
> Thank you.
>
> The problem is, I don't really know what I'm doing regarding configuring
> Apache. I've edited httpd.conf to look like this:
>
>
> ServerAdmin webmaster@islamtribune.com
> DocumentRoot /var/www/vhosts/islamtribune.com
> ServerName islamtribune.com
> DirectoryIndex index.php index.html
>
> Options -Indexes FollowSymLinks MultiViews
> AllowOverride All
>
> Order allow,deny
> Allow from all
>
>
> # ErrorLog logs/dummy-host.example.com-error_log
> # CustomLog logs/dummy-host.example.com-access_log common
>
>
> It's already loading these modules:
>
> LoadModule auth_basic_module modules/mod_auth_basic.so
> LoadModule auth_digest_module modules/mod_auth_digest.so
> LoadModule authn_file_module modules/mod_authn_file.so
> LoadModule authn_alias_module modules/mod_authn_alias.so
> LoadModule authn_anon_module modules/mod_authn_anon.so
> LoadModule authn_dbm_module modules/mod_authn_dbm.so
> LoadModule authn_default_module modules/mod_authn_default.so
> LoadModule authz_host_module modules/mod_authz_host.so
> LoadModule authz_user_module modules/mod_authz_user.so
> LoadModule authz_owner_module modules/mod_authz_owner.so
> LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
> LoadModule authz_dbm_module modules/mod_authz_dbm.so
> LoadModule authz_default_module modules/mod_authz_default.so
> LoadModule ldap_module modules/mod_ldap.so
> LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
> LoadModule include_module modules/mod_include.so
> LoadModule log_config_module modules/mod_log_config.so
> LoadModule logio_module modules/mod_logio.so
> LoadModule env_module modules/mod_env.so
> LoadModule ext_filter_module modules/mod_ext_filter.so
> LoadModule mime_magic_module modules/mod_mime_magic.so
> LoadModule expires_module modules/mod_expires.so
> LoadModule deflate_module modules/mod_deflate.so
> LoadModule headers_module modules/mod_headers.so
> LoadModule usertrack_module modules/mod_usertrack.so
> LoadModule setenvif_module modules/mod_setenvif.so
> LoadModule mime_module modules/mod_mime.so
> LoadModule dav_module modules/mod_dav.so
> LoadModule status_module modules/mod_status.so
> LoadModule autoindex_module modules/mod_autoindex.so
> LoadModule info_module modules/mod_info.so
> LoadModule dav_fs_module modules/mod_dav_fs.so
> LoadModule vhost_alias_module modules/mod_vhost_alias.so
> LoadModule negotiation_module modules/mod_negotiation.so
> LoadModule dir_module modules/mod_dir.so
> LoadModule actions_module modules/mod_actions.so
> LoadModule speling_module modules/mod_speling.so
> LoadModule userdir_module modules/mod_userdir.so
> LoadModule alias_module modules/mod_alias.so
> LoadModule rewrite_module modules/mod_rewrite.so
> LoadModule proxy_module modules/mod_proxy.so
> LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
> LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
> LoadModule proxy_http_module modules/mod_proxy_http.so
> LoadModule proxy_connect_module modules/mod_proxy_connect.so
> LoadModule cache_module modules/mod_cache.so
> LoadModule suexec_module modules/mod_suexec.so
> LoadModule disk_cache_module modules/mod_disk_cache.so
> LoadModule file_cache_module modules/mod_file_cache.so
> LoadModule mem_cache_module modules/mod_mem_cache.so
> LoadModule cgi_module modules/mod_cgi.so
>
>
> ...and then I restarted Apache. I had already renamed htaccess to .htaccess
> after reinstalling Campsite 3.11. No joy- still get the 404 error when
> trying to load the admin page in my browser.
>
> Also, when I visit www.islamtribune.com I get the following:
>
> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> allocate 23040 bytes) in /var/www/vhosts/
> islamtribune.com/httpdocs/classes/User.php on line 130
>
> We're running on a Network Solutions vps, using Fedora core 6 and Apache
> 2.2.3. The actual Campsite files are found in /var/www/vhosts/
> islamtribune.com/httpdocs.
>
> I have no such directory tree or file as /extra/httpd/vhosts.conf in
> /etc/httpd/conf, just the files httpd.conf, httpd.pem and magic.
>
> Can you tell me what I'm doing wrong here?
>
> --
> Sent from Campware Forums
> http://code.campware.org/phorum
>
OK, I've un-commented the lines in httpd.conf relating to VirtualHost, and was able to stop then start Apache without it crashing. I then reinstalled Campware 3.11 from scratch and went through the setup steps again. All items on the initial setup "check" screen were green except for PHP caching.
Upon being presented with the Administrator icon I clicked on it and still get a Not Found page saying "The requested URL /admin/index.php was not found on this server."
By the way, we're running on a virtual private server at Network Solutions, if I haven't already mentioned that. The actual Campsite files are located in /var/www/vhosts/islamtribune.com/httpdocs
----------------------------
My http.conf file:
#
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See for detailed information.
# In particular, see
#
# for a discussion of each configuration directive.
#
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
# The configuration directives are grouped into three basic sections:
# 1. Directives that control the operation of the Apache server process as a
# whole (the 'global environment').
# 2. Directives that define the parameters of the 'main' or 'default' server,
# which responds to requests that aren't handled by a virtual host.
# These directives also provide default values for the settings
# of all virtual hosts.
# 3. Settings for virtual hosts, which allow Web requests to be sent to
# different IP addresses or hostnames and have them handled by the
# same Apache server process.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
# with ServerRoot set to "/etc/httpd" will be interpreted by the
# server as "/etc/httpd/logs/foo.log".
#
### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#
#
# Don't give away too much information about all the subcomponents
# we are running. Comment out this line if you don't mind remote sites
# finding out what major optional modules you are running
ServerTokens OS
#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE! If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation
# (available at );
# you will save yourself a lot of trouble.
#
# Do NOT add a slash at the end of the directory path.
#
ServerRoot "/etc/httpd"
#
# PidFile: The file in which the server should record its process
# identification number when it starts.
#
PidFile run/httpd.pid
#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 120
#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive Off
#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100
#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# ServerLimit: maximum value for MaxClients for the lifetime of the server
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
StartServers 1
MinSpareServers 1
MaxSpareServers 4
ServerLimit 10
MaxClients 10
MaxRequestsPerChild 4000
# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
StartServers 1
MaxClients 10
MinSpareThreads 1
MaxSpareThreads 4
ThreadsPerChild 25
MaxRequestsPerChild 0
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 80
#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule cgi_module modules/mod_cgi.so
#
# The following modules are not loaded by default:
#
#LoadModule cern_meta_module modules/mod_cern_meta.so
#LoadModule asis_module modules/mod_asis.so
LoadModule jk_module /usr/lib64/httpd/modules/mod_jk.so
#
# Load config files from the config directory "/etc/httpd/conf.d".
#
Include conf.d/*.conf
#
# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
#
#ExtendedStatus On
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# . On SCO (ODT 3) use "User nouser" and "Group nogroup".
# . On HPUX you may not be able to use shared memory as nobody, and the
# suggested workaround is to create a user www and use that user.
# NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
# when the value of (unsigned)Group is above 60000;
# don't use Group #-1 on these systems!
#
User apache
Group apache
### Section 2: 'Main' server configuration
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# definition. These values also provide defaults for
# any containers you may define later in the file.
#
# All of these directives may appear inside containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#
#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
#
ServerAdmin root@localhost
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If this is not set to valid DNS name for your host, server-generated
# redirections will not work. See also the UseCanonicalName directive.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address anyway, and this will make
# redirections work in a sensible way.
#
#ServerName www.example.com:80
#
# UseCanonicalName: Determines how Apache constructs self-referencing
# URLs and the SERVER_NAME and SERVER_PORT variables.
# When set "Off", Apache will use the Hostname and Port supplied
# by the client. When set "On", Apache will use the value of the
# ServerName directive.
#
UseCanonicalName Off
#
# 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 "/var/www/html"
#
# 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
# features.
#
Options FollowSymLinks
AllowOverride None
#
# 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.
#
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
#
# The path to the end user account 'public_html' directory must be
# accessible to the webserver userid. This usually means that ~userid
# must have permissions of 711, ~userid/public_html must have permissions
# of 755, and documents contained therein must be world-readable.
# Otherwise, the client will only receive a "403 Forbidden" message.
#
# See also: http://httpd.apache.org/docs/misc/FAQ.html#forbidden
#
#
# UserDir is disabled by default since it can confirm the presence
# of a username on the system (depending on home directory
# permissions).
#
UserDir disable
#
# To enable requests to /~user/ to serve the user's public_html
# directory, remove the "UserDir disable" line above, and uncomment
# the following line instead:
#
#UserDir public_html
#
# 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: sets the file that Apache will serve if a directory
# is requested.
#
# The index.html.var file (a type-map) is used to deliver content-
# negotiated documents. The MultiViews Option can be used for the
# same purpose, but it is much slower.
#
DirectoryIndex at_domains_index.html index.html index.html.var index.shtml index.cfm index.php index.htm index.aol
#
# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives. See also the AllowOverride
# directive.
#
AccessFileName .htaccess
#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
Order allow,deny
Deny from all
#
# TypesConfig describes where the mime.types file (or equivalent) is
# to be found.
#
TypesConfig /etc/mime.types
#
# DefaultType is the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, "text/plain" is
# a good value. If most of your content is binary, such as applications
# or images, you may want to use "application/octet-stream" instead to
# keep browsers from trying to display binary files as though they are
# text.
#
DefaultType text/plain
#
# The mod_mime_magic module allows the server to use various hints from the
# contents of the file itself to determine its type. The MIMEMagicFile
# directive tells the module where the hint definitions are located.
#
# MIMEMagicFile /usr/share/magic.mime
MIMEMagicFile conf/magic
#
# HostnameLookups: Log the names of clients or just their IP addresses
# e.g., www.apache.org (on) or 204.62.129.132 (off).
# The default is off because it'd be overall better for the net if people
# had to knowingly turn this feature on, since enabling it means that
# each client request will result in AT LEAST one lookup request to the
# nameserver.
#
HostnameLookups Off
#
# EnableMMAP: Control whether memory-mapping is used to deliver
# files (assuming that the underlying OS supports it).
# The default is on; turn this off if you serve from NFS-mounted
# filesystems. On some systems, turning it off (regardless of
# filesystem) can improve performance; for details, please see
# http://httpd.apache.org/docs/2.2/mod/core.html#enablemmap
#
#EnableMMAP off
#
# EnableSendfile: Control whether the sendfile kernel support is
# used to deliver files (assuming that the OS supports it).
# The default is on; turn this off if you serve from NFS-mounted
# filesystems. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#enablesendfile
#
#EnableSendfile off
#
# 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.
#
ErrorLog logs/error_log
#
# 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).
#
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
# "combinedio" includes actual counts of actual bytes received (%I) and sent (%O); this
# requires the mod_logio module to be loaded.
#LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
#
# 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.
#
#CustomLog logs/access_log common
#
# If you would like to have separate agent and referer logfiles, uncomment
# the following directives.
#
#CustomLog logs/referer_log referer
#CustomLog logs/agent_log agent
#
# For a single logfile with access, agent, and referer information
# (Combined Logfile Format), use the following directive:
#
CustomLog logs/access_log combined
#
# Optionally add a line containing the server version and virtual host
# name to server-generated pages (internal error documents, FTP directory
# listings, mod_status and mod_info output etc., but not CGI generated
# documents or custom error documents).
# Set to "EMail" to also include a mailto: link to the ServerAdmin.
# Set to one of: On | Off | EMail
#
ServerSignature On
#
# Aliases: Add here as many aliases as you need (with no limit). The format is
# Alias fakename realname
#
# Note that if you include a trailing / on fakename then the server will
# require it to be present in the URL. So "/icons" isn't aliased in this
# example, only "/icons/". If the fakename is slash-terminated, then the
# realname must also be slash terminated, and if the fakename omits the
# trailing slash, the realname must also omit it.
#
# We include the /icons/ alias for FancyIndexed directory listings. If you
# do not use FancyIndexing, you may comment this out.
#
Alias /icons/ "/var/www/icons/"
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
#
# WebDAV module configuration section.
#
# Location of the WebDAV lock database.
DAVLockDB /var/lib/dav/lockdb
#
# 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/ "/var/www/cgi-bin/"
#
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
AllowOverride None
Options None
Order allow,deny
Allow from all
#
# Redirect allows you to tell clients about documents which used to exist in
# your server's namespace, but do not anymore. This allows you to tell the
# clients where to look for the relocated document.
# Example:
# Redirect permanent /foo http://www.example.com/bar
#
# Directives controlling the display of server-generated directory listings.
#
#
# IndexOptions: Controls the appearance of server-generated directory
# listings.
#
IndexOptions FancyIndexing VersionSort NameWidth=* HTMLTable
#
# AddIcon* directives tell the server which icon to show for different
# files or filename extensions. These are only displayed for
# FancyIndexed directories.
#
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
#
# DefaultIcon is which icon to show for files which do not have an icon
# explicitly set.
#
DefaultIcon /icons/unknown.gif
#
# AddDescription allows you to place a short description after a file in
# server-generated indexes. These are only displayed for FancyIndexed
# directories.
# Format: AddDescription "description" filename
#
#AddDescription "GZIP compressed document" .gz
#AddDescription "tar archive" .tar
#AddDescription "GZIP compressed tar archive" .tgz
#
# ReadmeName is the name of the README file the server will look for by
# default, and append to directory listings.
#
# HeaderName is the name of a file which should be prepended to
# directory indexes.
ReadmeName README.html
HeaderName HEADER.html
#
# IndexIgnore is a set of filenames which directory indexing should ignore
# and not include in the listing. Shell-style wildcarding is permitted.
#
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
#
# DefaultLanguage and AddLanguage allows you to specify the language of
# a document. You can then use content negotiation to give a browser a
# file in a language the user can understand.
#
# Specify a default language. This means that all data
# going out without a specific language tag (see below) will
# be marked with this one. You probably do NOT want to set
# this unless you are sure it is correct for all cases.
#
# * It is generally better to not mark a page as
# * being a certain language than marking it with the wrong
# * language!
#
# DefaultLanguage nl
#
# Note 1: The suffix does not have to be the same as the language
# keyword --- those with documents in Polish (whose net-standard
# language code is pl) may wish to use "AddLanguage pl .po" to
# avoid the ambiguity with the common suffix for perl scripts.
#
# Note 2: The example entries below illustrate that in some cases
# the two character 'Language' abbreviation is not identical to
# the two character 'Country' code for its country,
# E.g. 'Danmark/dk' versus 'Danish/da'.
#
# Note 3: In the case of 'ltz' we violate the RFC by using a three char
# specifier. There is 'work in progress' to fix this and get
# the reference data for rfc1766 cleaned up.
#
# Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl)
# English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de)
# Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja)
# Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn)
# Norwegian (no) - Polish (pl) - Portugese (pt)
# Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv)
# Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW)
#
AddLanguage ar .ar
AddLanguage ca .ca
AddLanguage cs .cz .cs
AddLanguage da .dk
AddLanguage de .de
AddLanguage el .el
AddLanguage en .en
AddLanguage eo .eo
AddLanguage es .es
AddLanguage et .et
AddLanguage fa .fa
AddLanguage fr .fr
AddLanguage he .he
AddLanguage hr .hr
AddLanguage it .it
AddLanguage ja .ja
AddLanguage ko .ko
AddLanguage ltz .ltz
AddLanguage ms .ms
AddLanguage nl .nl
AddLanguage nn .nn
AddLanguage no .no
AddLanguage pl .po
AddLanguage pt .pt
AddLanguage pt-BR .pt-br
AddLanguage ru .ru
AddLanguage sv .sv
AddLanguage tr .tr
AddLanguage ur .ur
AddLanguage zh-CN .zh-cn
AddLanguage zh-TW .zh-tw
#
# LanguagePriority allows you to give precedence to some languages
# in case of a tie during content negotiation.
#
# Just list the languages in decreasing order of preference. We have
# more or less alphabetized them here. You probably want to change this.
#
LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
#
# ForceLanguagePriority allows you to serve a result page rather than
# MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)
# [in case no accepted languages matched the available variants]
#
ForceLanguagePriority Prefer Fallback
#
# Specify a default charset for all content served; this enables
# interpretation of all content as UTF-8 by default. To use the
# default browser choice (ISO-8859-1), or to allow the META tags
# in HTML content to override this choice, comment out this
# directive:
#
#AddDefaultCharset UTF-8
#
# AddType allows you to add to or override the MIME configuration
# file mime.types for specific file types.
#
#AddType application/x-tar .tgz
#
# AddEncoding allows you to have certain browsers uncompress
# information on the fly. Note: Not all browsers support this.
# Despite the name similarity, the following Add* directives have nothing
# to do with the FancyIndexing customization directives above.
#
#AddEncoding x-compress .Z
#AddEncoding x-gzip .gz .tgz
# If the AddEncoding directives above are commented-out, then you
# probably should define those extensions to indicate media types:
#
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
#
# 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 directive (see below)
#
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#
#AddHandler cgi-script .cgi
#
# For files that include their own HTTP headers:
#
#AddHandler send-as-is asis
#
# For type maps (negotiated resources):
# (This is enabled by default to allow the Apache "It Worked" page
# to be distributed in multiple languages.)
#
AddHandler type-map var
#
# Filters allow you to process content before it is sent to the client.
#
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
#
# 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
#
#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
#
#
# Putting this all together, we can internationalize error responses.
#
# We use Alias to redirect any /error/HTTP_.html.var response to
# our collection of by-error message multi-language collections. We use
# includes to substitute the appropriate text.
#
# You can modify the messages' appearance without changing any of the
# default HTTP_.html.var files by adding the line:
#
# Alias /error/include/ "/your/include/path/"
#
# which allows you to create your own set of files by starting with the
# /var/www/error/include/ files and
# copying them to /your/include/path/, even on a per-VirtualHost basis.
#
Alias /error/ "/var/www/error/"
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en es de fr
ForceLanguagePriority Prefer Fallback
#
# The following directives modify normal HTTP response behavior to
# handle known problems with browser implementations.
#
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
#
# The following directive disables redirects on non-GET requests for
# a directory that does not include the trailing slash. This fixes a
# problem with Microsoft WebFolders which does not appropriately handle
# redirects for folders with DAV methods.
# Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.
#
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "MS FrontPage" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
BrowserMatch "^gnome-vfs/1.0" redirect-carefully
BrowserMatch "^XML Spy" redirect-carefully
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
#
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Change the ".example.com" to match your domain to enable.
#
#
# SetHandler server-status
# Order deny,allow
# Deny from all
# Allow from .example.com
#
#
# Allow remote server configuration reports, with the URL of
# http://servername/server-info (requires that mod_info.c be loaded).
# Change the ".example.com" to match your domain to enable.
#
#
# SetHandler server-info
# Order deny,allow
# Deny from all
# Allow from .example.com
#
#
# Proxy Server directives. Uncomment the following lines to
# enable the proxy server:
#
#
#ProxyRequests On
#
#
# Order deny,allow
# Deny from all
# Allow from .example.com
#
#
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
#
#ProxyVia On
#
# To enable a cache of proxied content, uncomment the following lines.
# See http://httpd.apache.org/docs/2.2/mod/mod_cache.html for more details.
#
#
# CacheEnable disk /
# CacheRoot "/var/cache/mod_proxy"
#
#
#
# End of proxy directives.
### Section 3: Virtual Hosts
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
#
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
#
# NOTE: NameVirtualHost cannot be used without a port specifier
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# SSL protocol.
#
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
ServerAdmin webmaster@islamtribune.com
DocumentRoot /var/www/vhosts/islamtribune.com/httpdocs
ServerName www.islamtribune.com
ServerAlias islamtribune.com
DirectoryIndex index.php index.html
Options -Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
-------------------------------
My error.log entries for today:
[Mon Aug 25 02:10:09 2008] [error] [client 64.246.165.200] File does not exist: /var/www/vhosts/default/htdocs/robots.txt, referer: http://www.whois.sc/
[Mon Aug 25 02:12:55 2008] [error] [client 64.246.165.190] File does not exist: /var/www/vhosts/default/htdocs/robots.txt, referer: http://www.whois.sc/
[Mon Aug 25 02:21:00 2008] [error] [client 216.145.17.190] File does not exist: /var/www/vhosts/default/htdocs/robots.txt, referer: http://www.whois.sc/
[Mon Aug 25 02:26:32 2008] [error] [client 64.246.187.42] File does not exist: /var/www/vhosts/default/htdocs/robots.txt, referer: http://www.whois.sc/
[Mon Aug 25 02:28:45 2008] [error] [client 64.246.178.34] File does not exist: /var/www/vhosts/default/htdocs/robots.txt, referer: http://www.whois.sc/
[Mon Aug 25 02:29:17 2008] [error] [client 216.145.5.42] File does not exist: /var/www/vhosts/default/htdocs/robots.txt, referer: http://www.whois.sc/
[Mon Aug 25 04:14:02 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Mon Aug 25 04:15:02 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Mon Aug 25 04:15:07 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Mon Aug 25 04:15:12 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Mon Aug 25 08:53:59 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Mon Aug 25 10:14:52 2008] [error] [client 38.99.44.105] File does not exist: /var/www/vhosts/default/htdocs/robots.txt
[Mon Aug 25 11:28:48 2008] [warn] child process 11989 still did not exit, sending a SIGTERM
[Mon Aug 25 11:28:48 2008] [warn] child process 11530 still did not exit, sending a SIGTERM
[Mon Aug 25 11:28:48 2008] [warn] child process 7751 still did not exit, sending a SIGTERM
[Mon Aug 25 11:28:48 2008] [warn] child process 5528 still did not exit, sending a SIGTERM
[Mon Aug 25 11:28:49 2008] [notice] caught SIGTERM, shutting down
[Mon Aug 25 11:29:05 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Aug 25 11:29:05 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Mon Aug 25 11:29:05 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Mon Aug 25 11:29:05 2008] [warn] Init: SSL server IP/port conflict: webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:134) vs. islamtribune.com:443 (/var/www/vhosts/islamtribune.com/conf/httpd.include:12)
[Mon Aug 25 11:29:05 2008] [warn] Init: SSL server IP/port conflict: default-205-178-137-78:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:77) vs. islamtribune.com:443 (/var/www/vhosts/islamtribune.com/conf/httpd.include:12)
[Mon Aug 25 11:29:05 2008] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Mon Aug 25 11:29:06 2008] [notice] Digest: generating secret for digest authentication ...
[Mon Aug 25 11:29:06 2008] [notice] Digest: done
PHP Warning: Module 'gd' already loaded in Unknown on line 0
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
PHP Warning: Module 'mysqli' already loaded in Unknown on line 0
[Mon Aug 25 11:29:06 2008] [notice] mod_python: Creating 4 session mutexes based on 10 max processes and 0 max threads.
[Mon Aug 25 11:29:06 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Mon Aug 25 11:29:06 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Mon Aug 25 11:29:06 2008] [warn] Init: SSL server IP/port conflict: webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:134) vs. islamtribune.com:443 (/var/www/vhosts/islamtribune.com/conf/httpd.include:12)
[Mon Aug 25 11:29:06 2008] [warn] Init: SSL server IP/port conflict: default-205-178-137-78:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:77) vs. islamtribune.com:443 (/var/www/vhosts/islamtribune.com/conf/httpd.include:12)
[Mon Aug 25 11:29:06 2008] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Mon Aug 25 11:29:06 2008] [notice] Apache/2.2.3 (Fedora) configured -- resuming normal operations
[Mon Aug 25 11:29:23 2008] [notice] caught SIGTERM, shutting down
[Mon Aug 25 11:30:27 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Aug 25 11:30:27 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Mon Aug 25 11:30:27 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Mon Aug 25 11:30:27 2008] [warn] Init: SSL server IP/port conflict: webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:134) vs. islamtribune.com:443 (/var/www/vhosts/islamtribune.com/conf/httpd.include:12)
[Mon Aug 25 11:30:27 2008] [warn] Init: SSL server IP/port conflict: default-205-178-137-78:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:77) vs. islamtribune.com:443 (/var/www/vhosts/islamtribune.com/conf/httpd.include:12)
[Mon Aug 25 11:30:27 2008] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Mon Aug 25 11:30:27 2008] [notice] Digest: generating secret for digest authentication ...
[Mon Aug 25 11:30:27 2008] [notice] Digest: done
PHP Warning: Module 'gd' already loaded in Unknown on line 0
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
PHP Warning: Module 'mysqli' already loaded in Unknown on line 0
[Mon Aug 25 11:30:27 2008] [notice] mod_python: Creating 4 session mutexes based on 10 max processes and 0 max threads.
[Mon Aug 25 11:30:28 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Mon Aug 25 11:30:28 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Mon Aug 25 11:30:28 2008] [warn] Init: SSL server IP/port conflict: webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:134) vs. islamtribune.com:443 (/var/www/vhosts/islamtribune.com/conf/httpd.include:12)
[Mon Aug 25 11:30:28 2008] [warn] Init: SSL server IP/port conflict: default-205-178-137-78:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:77) vs. islamtribune.com:443 (/var/www/vhosts/islamtribune.com/conf/httpd.include:12)
[Mon Aug 25 11:30:28 2008] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Mon Aug 25 11:30:28 2008] [notice] Apache/2.2.3 (Fedora) configured -- resuming normal operations
[Mon Aug 25 11:48:00 2008] [error] [client 64.246.165.150] File does not exist: /var/www/vhosts/default/htdocs/robots.txt, referer: http://www.whois.sc/
[Mon Aug 25 12:01:42 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/vhosts/islamtribune.com/httpdocs/