Httpd.conf file missing in action
This is a weird one. I want to modify my httpd.conf file so my URL's all default to lower case. I'm using MAMP, so I navigated to Applications > MAMP, opened the file, modified it and restarted my server. (I also modified an .htaccess file.)
I then added the code LogLevel trace8 to my config file, with the understanding that I would see more "verbose" messages in my error log. Afterr restarting my servers, I reloaded my web page, then checked the log - nothing changed. That is, the log is recording my activity, but it doesn't display "verbose" messages.
Someone who was helping me on an Apache forum came to thte conclusion that my httpd.conf fiile isn't being used. So I typed httpd.conf into Apple's finder and, sure enough, I found half a dozen files with that name. I couldn't determine which is the right one, so I modifed all of them and restarted my serverrs again. There's STILL no change in my URL's, and my log is still recording generic messages.
Does anyone have any idea how I can solve this problem? First, am I correct in understanding that there must be at least ONE active httpd.conf files in order for my sites to function? If so, then I know there must be an invisible httpd.conf file somewhere on my MacBook that I need to locate.
Also, is it possible for error messages to be written to more than one Apache log at a time? It's just so strange that the error log in my Applications > MAMP folder is keeping tabs on the web pages I visit when the httpd.conf file in the same folder is apparently doing nothing.
Thanks for any tips.
MAMP is not Apple software and is well outside the normal 'consumer' stuff they deal with in Apple stores, I therefore don't think a Genius would be either will or able to investigate this. However I can provide the following information and maybe others who have used MAMP can provide more.
/etc/apache2/httpd.conf is the file used on a standard OS X Mac
/Library/Server/Web/Config/apache2/httpd_server_app.conf is the equivalent file used on a Mac server if you have installed Apple's Server.app
I have seen conflicting comments suggesting the location for the equivalent file for MAMP is -
/Applications/MAMP/conf/apache/httpd.conf
or
~/Library/Application Support/appsolute/MAMP PRO/httpd.conf
The following might be helpful http://foundationphp.com/tutorials/vhosts_mamp.php
Similar Messages
-
Rewriterule in httpd.conf file of oracle application server 10g r1
Hi Team
we had hack in our report server which is load balanced oracle report server and to fix this we found a patch . that was to rewrite the url for report server . but problem is we have virtualhost configure in our httpd.conf file because of that rewriterule is not working is anybody good with httpd.conf file and help us with this.
contact of httpd.conf file
<VirtualHost *:79999>
ServerName xx.com
Port 80
DocumentRoot "/OraHome_1/Apache/Apache/htdocs"
</VirtualHost>
new entry we have put in
RewriteLog /OraHome_1/Apache/Apache/logs/rewrite_din.log
RewriteLogLevel 9
RewriteEngine On
RewriteCond %{QUERY_STRING} (.*)destype=file(.*) [NC]
RewriteCond %{QUERY_STRING} (.*)desname=(.*) [NC]
RewriteCond %{QUERY_STRING} !(.*)desname=/rep_des/[A-Za-z0-9](.*) [NC]
RewriteRule (.*)reports(.*)$ /forbidden.htm [R] [NC]
but still these entries are not working . it still going to old web page not to forbidden.htm
can you please help us .Hi,
Make sure the value of the NLS_LANG environment variable is compatible with the default locale setting of the operating system.
Check the below links :
http://docs.oracle.com/cd/B14099_19/core.1012/b14004/iasconfig.htm#BHCJHBBB
Postinstallation Tasks
Thanks,
Sharmela -
I need to download the httpd.conf file included in Yosemite update.
Where can I go to re-download the version of the httpd.conf that is included with the Yosemite update. Yosemite upgrades to a later version of Apache, and it puts a new httpd.conf file on the machine. When I update, my localhost server stopped working, and in my attempts to get it working again, I accidentally overwrite the file. So, I would like to get my machine back to the point of the update, so I can do a better job of correcting the problems, and getting localhost working again. Does anyone have a URL or anything I can go to to get a fresh version of httpd.conf for Yosemite? Thanks very much.
Yes, somebody could, but that is illegal. I'm sure you can understand that given this site is Apple's.
You can extract what you want from the installer package if you know how to Pacifist and have a copy of the installer application. Or if you own another computer running Yosemite, then you can get a copy from it.
If you ask someone to send you a copy while on these forums, then it's likely the moderators will dismiss you for the violation. I understand your situation, but no one here can help you without it causing a stink. I hope you understand. -
Delete httpd.conf file for apache!
I have mistakenly deleted httpd.conf file for apache.. then the localhost was not work anymore!! .. How can I solve this problem? I have XOS 10.9
Look in the Originals folder inside the apache2 folder. Make a copy of the original httpd.conf file.
-
Apache httpd.conf file pointing to Portal
How do I define a virtual host in an Apache httpd.conf file that points to a portal page?
Hi,
If you want to use name-based virtual hosts you need to define at
least one IP address (and port number) for them.
Here is a sample from the httpd.conf file
#NameVirtualHost 12.34.56.78:80
#NameVirtualHost 12.34.56.78
NameVirtualHost 130.35.92.126
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
#<VirtualHost ip.address.of.host.some_domain.com>
# ServerAdmin [email protected]_domain.com
# DocumentRoot /www/docs/host.some_domain.com
# ServerName host.some_domain.com
# ErrorLog logs/host.some_domain.com-error_log
# CustomLog logs/host.some_domain.com-access_log common
#</VirtualHost>
<VirtualHost <130.35.92.126>
DocumentRoot /webdb/apache80_1/Apache/Apache/htdocs
ServerName domain1.com
ServerAlias domain1
#ErrorLog /webdb/apache80_1/Apache/Apache/logs/httpds_error_log
#CustomLog logs/host.some_domain.com-access_log common
</VirtualHost>
You can copy the above lines and change the domain1 and the ip address to the name of your domain and the ip address of your machine.
Thanks,
Sharmila -
Problems modifying the httpd.conf file
We are running Flash Media Server 4.5 on Windows Server 2008. We want to move the vod folder which by default is in webroot. We create a new vod folder and then modify the httpd.conf file so that it points to the new vod location. We then stop and restart the Flash Media Server service. However, the server acts like the old paths are cached somewhere in the system. Videos in the new vod folder do not work. Videos in the old vod folder open even though the httpd.conf file was modified.
We made sure that the client browsers on which we tested this had their cache cleared.
Anyone have any ideas what might be going on here?Thanks for your reply! I tried restarting the FMSHttpd service separately. Still encountering this issue, however.
Here's what we are doing:
1. We create a new vod folder.
2. We modify the httpd.conf file in Flash Media folder -> Apache2.2 -> conf so that it points to the new vod location. For example, we make a modification to HttpStreamingContentPath like the following:
<IfModule jithttp_module>
<Location /hds-vod>
HttpStreamingJITPEnabled true
HttpStreamingContentPath "..\..\[new vod folder]"
HttpStreamingJITConfAllowed true
JitFmsDirPath ".."
Options -Indexes FollowSymLinks
# Uncomment the following directives to enable encryption
# for this location.
# EncryptionScope server
# ProtectionScheme phds
</Location>
</IfModule>
3. We restart the FMSHttpd service.
After doing this, we find that the path to the old vod folder is still working. Videos in the new vod folder don't open as expected.
Are there any other steps that we should be taking? Many thanks for any help. -
Hi,
I need to config the file to direct the standard ApEx URL (ie: http://xxx.x.x.x:8080/apex/f?p=108:1) to a nicer URL (ie: http://xxx.x.x.x:8080/apex/test.html, for example) to the end users. I believe the file should be located in something like $ORCLE_HOME/Apache/Apache/conf in the Oracle HTTP Server Apache web server version. However, it's NOT in the Embedded PL/SQL Gateway version.
Any idea?
Thanks much,
HelenI don't think that you could do this using the native embedded gateway. Since it is not actually running Apache. It is actually running through the XML DB connectors.
2 options:
1) Use a front end server as a proxy, or as the mod_plsql gateway
2) Pretty up your URL's using the application/page aliases: http://xxx.x.x.x:8080/apex/f?p=app:page where app and page have been assigned as application and page aliases resp.
-Richard -
How to make/save changes to the file - /etc/httpd/httpd.conf - in Terminal
I'm new to Unix/Terminal and am attempting to make changes in the Apache Web server's configuation file - /etc/httpd/httpd.conf - so that I can use PHP locally. (The "LoadModule php4" has a "#" mark in front of it which I am attempting to remove.) This approach is suggested in the book "Dreamweaver MX 2004 with asp, coldfusion, and php." The book includes instructions on how to adjust the files using pico in Terminal. But the book doesn't explain how to work with Unix/Terminal to enable the right access permission to save the changes in Terminal. I've been able to make the changes in pico the book recommends, but I'm not able to save the changes. I'm the only user of the computer.
Please advise how to be able to save the changes. Thank you!
G4 Mac OS X (10.3.9)
G4 Mac OS X (10.3.9)
G4 Mac OS X (10.3.9)jamesk,
httpd.conf is owned by 'root'. therefore, to save your changes you need to use 'sudo' when editing the file. before you do that, you should type in
man sudo
and read about what sudo actually does. be aware that it can give you all-encompassing power to do many things - including messing things up.
once you have read about sudo, first do (substitute full paths, if necessary - e.g. /etc/httpd/httpd.conf for httpd.conf)
sudo cp httpd.conf httpd.conf.bak
to backup your httpd.conf file (in case you make an error), then do
sudo nano httpd.conf
to make your changes, then save the file.
then do
sudo apachectl configtest
to test changes to the server config (it should let you know if there is an error).
finally do
sudo apachectl graceful
to restart the server and re-read the config file.
cheers,
b -
Problem With httpd.conf and mod_rewrite rules Apache 2.2
I have some RewriteRules that are working on my Leopard Client Apache 2.2 machine - but when I try to implement them on Leopard Server Apache 2.2, they don't work. I don't get any errors, they just won't execute.
Could somebody with Leopard Server help me out using the below info?
Here are the rules I am trying to add: (below is the httpd.conf file)
======RULES========
RewriteEngine On
Options +FollowSymLinks
RewriteRule ^(.+)/$ http://%{HTTP_HOST}$1 [R=301, L]
# Remove ".php"
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.php(.*)\ HTTP
RewriteRule (.+)\.php(.*)$ $1$2 [R, L]
# Remove ".asp"
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.asp(.*)\ HTTP
RewriteRule (.+)\.asp(.*)$ $1$2 [R, L]
# Remove ".aspx"
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.aspx(.*)\ HTTP
RewriteRule (.+)\.aspx(.*)$ $1$2 [R, L]
# Remove ".htm" and ".html"
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.htm.(.)\ HTTP
RewriteRule (.+)\.htm.(.)$ $1$2 [R, L]
# Remove ".cfm"
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.cfm(.*)\ HTTP
RewriteRule (.+)\.cfm(.*)$ $1$2 [R, L]
# Remove ".bak"
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.bak(.*)\ HTTP
RewriteRule (.+)\.bak(.*)$ $1$2 [R, L]
# Remove ".inc"
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.inc(.*)\ HTTP
RewriteRule (.+)\.inc(.*)$ $1$2 [R, L]
# Remove ".*"
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\..(.)\ HTTP
RewriteRule (.+)\..(.)$ $1$2 [R, L]
=====RULES============
=========HTTPD.CONF=============
#### Default httpd.conf for Mac OS X Server, Apache 2.2
#### This httpd.conf differs from the httpd.conf distributed
#### with Apache and the httpd.conf present on Mac OS X.
#### Feel free to edit this; the Server Admin app also edits this file but will
#### respect your changes unless noted below. See also ReadMe.txt.
## 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 <URL:<a class="jive-link-external-small" href="http://">http://www.apache.org/docs/mod/core.html#lockfile>);
## you will save yourself a lot of trouble.
## Do NOT add a slash at the end of the directory path.
ServerRoot "/usr"
## PidFile: The file in which the server should record its process
## identification number when it starts.
PidFile /var/run/httpd.pid
## ScoreBoardFile: File used to store internal server process information.
## Not all architectures require this. But if yours does (you'll know because
## this file will be created when you run Apache) then you must ensure that
## no two invocations of Apache share the same scoreboard file.
#ScoreBoardFile "/var/run/apache2runtimestatus"
## Server-pool size regulation. Rather than making you guess how many
## server processes you need, Apache dynamically adapts to the load it
## sees --- that is, it tries to maintain enough server processes to
## handle the current load, plus a few spare servers to handle transient
## load spikes (e.g., multiple simultaneous requests from a single
## Netscape browser).
## It does this by periodically checking how many servers are waiting
## for a request. If there are fewer than MinSpareServers, it creates
## a new spare. If there are more than MaxSpareServers, some of the
## spares die off. The default values are probably OK for most sites.
MinSpareServers 1
MaxSpareServers 1
## Number of servers to start initially --- should be a reasonable ballpark
## figure.
StartServers 1
## MaxRequestsPerChild: the number of requests each child process is
## allowed to process before the child dies. The child will exit so
## as to avoid problems after prolonged use when Apache (and maybe the
## libraries it uses) leak memory or other resources. On most systems, this
## isn't really needed, but a few (such as Solaris) do have notable leaks
## in the libraries. For these platforms, set to something like 10000
## or so; a setting of 0 means unlimited.
## NOTE: This value does not include keepalive requests after the initial
## request per connection. For example, if a child process handles
## an initial request and 10 subsequent "keptalive" requests, it
## would only count as 1 request towards this limit.
MaxRequestsPerChild 100000
## 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.
## Please read the file http://httpd.apache.org/docs/dso.html for more
## details about the DSO mechanism and run `httpd -l' for the list of already
## built-in (statically linked and thus always available) modules in your httpd
## binary.
## Note: The order in which modules are loaded is important. Don't change
## the order below without expert advice.
## Example:
## LoadModule foo_module libexec/mod_foo.so
#### For Mac OS X Server: Note that the Server Admin application
#### and the apxs utility enable and disable modules
#### by removing and adding a comment character.
LoadModule authnfilemodule libexec/apache2/modauthnfile.so
#LoadModule authndbmmodule libexec/apache2/modauthndbm.so
#LoadModule authnanonmodule libexec/apache2/modauthnanon.so
#LoadModule authndbdmodule libexec/apache2/modauthndbd.so
#LoadModule authndefaultmodule libexec/apache2/modauthndefault.so
LoadModule authzhostmodule libexec/apache2/modauthzhost.so
#LoadModule authzgroupfilemodule libexec/apache2/modauthzgroupfile.so
#LoadModule authzusermodule libexec/apache2/modauthzuser.so
#LoadModule authzdbmmodule libexec/apache2/modauthzdbm.so
#LoadModule authzownermodule libexec/apache2/modauthzowner.so
#LoadModule authzdefaultmodule libexec/apache2/modauthzdefault.so
#LoadModule authbasicmodule libexec/apache2/modauthbasic.so
#LoadModule authdigest_applemodule libexec/apache2/modauth_digestapple.so
LoadModule cache_module libexec/apache2/mod_cache.so
LoadModule memcachemodule libexec/apache2/modmemcache.so
LoadModule diskcachemodule libexec/apache2/moddiskcache.so
#LoadModule dbd_module libexec/apache2/mod_dbd.so
LoadModule dumpio_module libexec/apache2/mod_dumpio.so
LoadModule extfiltermodule libexec/apache2/modextfilter.so
LoadModule include_module libexec/apache2/mod_include.so
LoadModule filter_module libexec/apache2/mod_filter.so
LoadModule deflate_module libexec/apache2/mod_deflate.so
LoadModule logconfigmodule libexec/apache2/modlogconfig.so
LoadModule logio_module libexec/apache2/mod_logio.so
LoadModule env_module libexec/apache2/mod_env.so
LoadModule expires_module libexec/apache2/mod_expires.so
LoadModule headers_module libexec/apache2/mod_headers.so
LoadModule ident_module libexec/apache2/mod_ident.so
LoadModule setenvif_module libexec/apache2/mod_setenvif.so
LoadModule proxy_module libexec/apache2/mod_proxy.so
#LoadModule proxyconnectmodule libexec/apache2/modproxyconnect.so
#LoadModule proxyftpmodule libexec/apache2/modproxyftp.so
LoadModule proxyhttpmodule libexec/apache2/modproxyhttp.so
#LoadModule proxyajpmodule libexec/apache2/modproxyajp.so
LoadModule proxybalancermodule libexec/apache2/modproxybalancer.so
LoadModule ssl_module libexec/apache2/mod_ssl.so
LoadModule mime_module libexec/apache2/mod_mime.so
#LoadModule mimemagicmodule libexec/apache2/modmimemagic.so
#LoadModule dav_module libexec/apache2/mod_dav.so
LoadModule status_module libexec/apache2/mod_status.so
LoadModule autoindex_module libexec/apache2/mod_autoindex.so
LoadModule asis_module libexec/apache2/mod_asis.so
LoadModule info_module libexec/apache2/mod_info.so
LoadModule cgi_module libexec/apache2/mod_cgi.so
#LoadModule davfsmodule libexec/apache2/moddavfs.so
LoadModule vhostaliasmodule libexec/apache2/modvhostalias.so
LoadModule negotiation_module libexec/apache2/mod_negotiation.so
LoadModule dir_module libexec/apache2/mod_dir.so
LoadModule imagemap_module libexec/apache2/mod_imagemap.so
LoadModule actions_module libexec/apache2/mod_actions.so
LoadModule speling_module libexec/apache2/mod_speling.so
LoadModule userdir_module libexec/apache2/mod_userdir.so
LoadModule alias_module libexec/apache2/mod_alias.so
LoadModule rewrite_module libexec/apache2/mod_rewrite.so
#LoadModule php5_module libexec/apache2/libphp5.so
#LoadModule encoding_module libexec/apache2/mod_encoding.so
#LoadModule jk_module libexec/apache2/mod_jk.so
#LoadModule applespotlightmodule libexec/apache2/modspotlightapple.so
#LoadModule bonjour_module libexec/apache2/mod_bonjour.so
LoadModule appleauthmodule libexec/apache2/modauthapple.so
LoadModule spnegoauthmodule libexec/apache2/modspnegoapple.so
LoadModule appledigestmodule libexec/apache2/moddigestapple.so
LoadModule hfsapplemodule libexec/apache2/modhfsapple.so
#LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so
#LoadModule scgipubsubmodule libexec/apache2/modscgipubsub.so
#LoadModule davsvnmodule libexec/apache2/moddavsvn.so
#LoadModule authzsvnmodule libexec/apache2/modauthzsvn.so
## 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.
## It is usually good practice to create a dedicated user and group for
## running httpd, as with most system services.
User www
Group www
## 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.
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
## UserDir: The name of the directory which is appended onto a user's home
## directory if a ~user request is received.
#### For Mac OS X Server: Note that
#### personal websharing is not supported on Mac OS X Server.
<IfModule mod_userdir.c>
UserDir Sites
</IfModule>
## AccessFileName: The name of the file to look for in each directory
## for access control information.
AccessFileName .htaccess
## The following lines prevent .htaccess files from being viewed by
## Web clients.
#### For Mac OS X Server: Note the case-insensitive pattern, which protects
#### .htaccess fils on HFS volumes.
#### (Note: Denying .DS_S* may interfere with Finder WebDAV operation)
<Files ~ "^\.([Hh][Tt]|[Dd][Ss]_[Ss])">
Order allow,deny
Deny from all
Satisfy All
</Files>
#### Block attempts to circumvent access controls by requesting forks.
<Files "rsrc">
Order allow,deny
Deny from all
Satisfy All
</Files>
<DirectoryMatch ".*\.\.namedfork">
Order allow,deny
Deny from all
Satisfy All
</DirectoryMatch>
## 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
<IfModule mod_mime.c>
# TypesConfig points to the file containing the list of mappings from
# filename extension to MIME-type.
TypesConfig /dev/null
#AddType application/x-gzip .tgz
# AddEncoding allows you to have certain browsers uncompress
# information on the fly. Note: Not all browsers support this.
#AddEncoding x-compress .Z
#AddEncoding x-gzip .gz .tgz
# 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.)
#AddOutputFilter INCLUDES .shtml
## Although mod_mime may support several extensions following a single
## mime type (ex: "AddType video/quicktime qt mov"), the parser used
## by the Server Admin application expects only one extension per line.
AddHandler send-as-is asis
AddHandler cgi-script cgi
AddHandler fastcgi-script fcgi
AddHandler imap-file map
AddHandler server-parsed shtml
AddHandler type-map var
AddHandler spotlight-search spotlight
AddType application/andrew-inset ez
AddType application/atom+xml atom
AddType application/atomcat+xml atomcat
AddType application/atomsvc+xml atomsvc
AddType application/ccxml+xml ccxml
AddType application/davmount+xml davmount
AddType application/ecmascript ecma
AddType application/font-tdpfr pfr
AddType application/hyperstudio stk
AddType application/javascript js
AddType application/json json
AddType application/mac-binhex40 hqx
AddType application/mac-compactpro cpt
AddType application/marc mrc
AddType application/mathematica ma
AddType application/mathematica mb
AddType application/mathematica nb
AddType application/mathml+xml mathml
AddType application/mbox mbox
AddType application/mediaservercontrol+xml mscml
AddType application/mp4 mp4s
AddType application/msword doc
AddType application/msword dot
AddType application/mxf mxf
AddType application/octet-stream bin
AddType application/octet-stream bpk
AddType application/octet-stream class
AddType application/octet-stream dist
AddType application/octet-stream distz
AddType application/octet-stream dmg
AddType application/octet-stream dms
AddType application/octet-stream dump
AddType application/octet-stream elc
AddType application/octet-stream iso
AddType application/octet-stream lha
AddType application/octet-stream lzh
AddType application/octet-stream scpt
AddType application/octet-stream so
AddType application/oda oda
AddType application/ogg ogg
AddType application/pdf pdf
AddType application/pgp-encrypted pgp
AddType application/pgp-signature asc
AddType application/pgp-signature sig
AddType application/pics-rules prf
AddType application/pkcs10 p10
AddType application/pkcs7-mime p7c
AddType application/pkcs7-mime p7m
AddType application/pkcs7-signature p7s
AddType application/pkix-cert cer
AddType application/pkix-crl crl
AddType application/pkix-pkipath pkipath
AddType application/pkixcmp pki
AddType application/pls+xml pls
AddType application/postscript ai
AddType application/postscript eps
AddType application/postscript ps
AddType application/prs.cww cww
AddType application/rdf+xml rdf
AddType application/reginfo+xml rif
AddType application/relax-ng-compact-syntax rnc
AddType application/resource-lists+xml rl
AddType application/rls-services+xml rs
AddType application/rsd+xml rsd
AddType application/rss+xml rss
AddType application/rtf rtf
AddType application/sbml+xml sbml
AddType application/sdp sdp
AddType application/set-payment-initiation setpay
AddType application/set-registration-initiation setreg
AddType application/shf+xml shf
AddType application/smil+xml smi
AddType application/smil+xml smil
AddType application/srgs gram
AddType application/srgs+xml grxml
AddType application/ssml+xml ssml
AddType application/vnd.3gpp.pic-bw-large plb
AddType application/vnd.3gpp.pic-bw-small psb
AddType application/vnd.3gpp.pic-bw-var pvb
AddType application/vnd.3m.post-it-notes pwn
AddType application/vnd.accpac.simply.aso aso
AddType application/vnd.accpac.simply.imp imp
AddType application/vnd.acucobol acu
AddType application/vnd.acucorp acutc
AddType application/vnd.acucorp atc
AddType application/vnd.adobe.xdp+xml xdp
AddType application/vnd.adobe.xfdf xfdf
AddType application/vnd.amiga.ami ami
AddType application/vnd.anser-web-certificate-issue-initiation cii
AddType application/vnd.anser-web-funds-transfer-initiation fti
AddType application/vnd.antix.game-component atx
AddType application/vnd.apple.installer+xml mpkg
AddType application/vnd.apple.installer+xml pkg
AddType application/vnd.audiograph aep
AddType application/vnd.blueice.multipass mpm
AddType application/vnd.bmi bmi
AddType application/vnd.businessobjects rep
AddType application/vnd.chemdraw+xml cdxml
AddType application/vnd.chipnuts.karaoke-mmd mmd
AddType application/vnd.cinderella cdy
AddType application/vnd.claymore cla
AddType application/vnd.clonk.c4group c4d
AddType application/vnd.clonk.c4group c4f
AddType application/vnd.clonk.c4group c4g
AddType application/vnd.clonk.c4group c4p
AddType application/vnd.clonk.c4group c4u
AddType application/vnd.commonspace csp
AddType application/vnd.commonspace cst
AddType application/vnd.contact.cmsg cdbcmsg
AddType application/vnd.cosmocaller cmc
AddType application/vnd.crick.clicker clkx
AddType application/vnd.crick.clicker.keyboard clkk
AddType application/vnd.crick.clicker.palette clkp
AddType application/vnd.crick.clicker.template clkt
AddType application/vnd.crick.clicker.wordbank clkw
AddType application/vnd.criticaltools.wbs+xml wbs
AddType application/vnd.ctc-posml pml
AddType application/vnd.cups-ppd ppd
AddType application/vnd.curl curl
AddType application/vnd.data-vision.rdz rdz
AddType application/vnd.denovo.fcselayout-link fe_launch
AddType application/vnd.dna dna
AddType application/vnd.dolby.mlp mlp
AddType application/vnd.dpgraph dpg
AddType application/vnd.dreamfactory dfac
AddType application/vnd.ecowin.chart mag
AddType application/vnd.enliven nml
AddType application/vnd.epson.esf esf
AddType application/vnd.epson.msf msf
AddType application/vnd.epson.quickanime qam
AddType application/vnd.epson.salt slt
AddType application/vnd.epson.ssf ssf
AddType application/vnd.eszigno3+xml es3 et3
AddType application/vnd.ezpix-album ez2
AddType application/vnd.ezpix-package ez3
AddType application/vnd.fdf fdf
AddType application/vnd.flographit gph
AddType application/vnd.fluxtime.clip ftc
AddType application/vnd.framemaker fm
AddType application/vnd.framemaker frame
AddType application/vnd.framemaker maker
AddType application/vnd.frogans.fnc fnc
AddType application/vnd.frogans.ltf ltf
AddType application/vnd.fsc.weblaunch fsc
AddType application/vnd.fujitsu.oasys oas
AddType application/vnd.fujitsu.oasys2 oa2
AddType application/vnd.fujitsu.oasys3 oa3
AddType application/vnd.fujitsu.oasysgp fg5
AddType application/vnd.fujitsu.oasysprs bh2
AddType application/vnd.fujixerox.ddd ddd
AddType application/vnd.fujixerox.docuworks xdw
AddType application/vnd.fujixerox.docuworks.binder xbd
AddType application/vnd.fuzzysheet fzs
AddType application/vnd.genomatix.tuxedo txd
AddType application/vnd.google-earth.kml+xml kml
AddType application/vnd.google-earth.kmz kmz
AddType application/vnd.grafeq gqf
AddType application/vnd.grafeq gqs
AddType application/vnd.groove-account gac
AddType application/vnd.groove-help ghf
AddType application/vnd.groove-identity-message gim
AddType application/vnd.groove-injector grv
AddType application/vnd.groove-tool-message gtm
AddType application/vnd.groove-tool-template tpl
AddType application/vnd.groove-vcard vcg
AddType application/vnd.handheld-entertainment+xml zmm
AddType application/vnd.hbci hbci
AddType application/vnd.hhe.lesson-player les
AddType application/vnd.hp-hpgl hpgl
AddType application/vnd.hp-hpid hpid
AddType application/vnd.hp-hps hps
AddType application/vnd.hp-jlyt jlt
AddType application/vnd.hp-pcl pcl
AddType application/vnd.hp-pclxl pclxl
AddType application/vnd.hzn-3d-crossword x3d
AddType application/vnd.ibm.minipay mpy
AddType application/vnd.ibm.modcap afp
AddType application/vnd.ibm.modcap list3820
AddType application/vnd.ibm.modcap listafp
AddType application/vnd.ibm.rights-management irm
AddType application/vnd.ibm.secure-container sc
AddType application/vnd.igloader igl
AddType application/vnd.immervision-ivp ivp
AddType application/vnd.immervision-ivu ivu
AddType application/vnd.intercon.formnet xpw
AddType application/vnd.intercon.formnet xpx
AddType application/vnd.intu.qbo qbo
AddType application/vnd.intu.qfx qfx
AddType application/vnd.ipunplugged.rcprofile rcprofile
AddType application/vnd.irepository.package+xml irp
AddType application/vnd.is-xpr xpr
AddType application/vnd.jam jam
AddType application/vnd.jcp.javame.midlet-rms rms
AddType application/vnd.jisp jisp
AddType application/vnd.kahootz ktr
AddType application/vnd.kahootz ktz
AddType application/vnd.kde.karbon karbon
AddType application/vnd.kde.kchart chrt
AddType application/vnd.kde.kformula kfo
AddType application/vnd.kde.kivio flw
AddType application/vnd.kde.kontour kon
AddType application/vnd.kde.kpresenter kpr
AddType application/vnd.kde.kpresenter kpt
AddType application/vnd.kde.kspread ksp
AddType application/vnd.kde.kword kwd
AddType application/vnd.kde.kword kwt
AddType application/vnd.kenameaapp htke
AddType application/vnd.kidspiration kia
AddType application/vnd.kinar kne
AddType application/vnd.kinar knp
AddType application/vnd.koan skd
AddType application/vnd.koan skm
AddType application/vnd.koan skp
AddType application/vnd.koan skt
AddType application/vnd.llamagraphics.life-balance.desktop lbd
AddType application/vnd.llamagraphics.life-balance.exchange+xml lbe
AddType application/vnd.lotus-1-2-3 123
AddType application/vnd.lotus-approach apr
AddType application/vnd.lotus-freelance pre
AddType application/vnd.lotus-notes nsf
AddType application/vnd.lotus-organizer org
AddType application/vnd.lotus-screencam scm
AddType application/vnd.lotus-wordpro lwp
AddType application/vnd.macports.portpkg portpkg
AddType application/vnd.mcd mcd
AddType application/vnd.medcalcdata mc1
AddType application/vnd.mediastation.cdkey cdkey
AddType application/vnd.mfer mwf
AddType application/vnd.mfmp mfm
AddType application/vnd.micrografx.flo flo
AddType application/vnd.micrografx.igx igx
AddType application/vnd.mif mif
AddType application/vnd.mobius.daf daf
AddType application/vnd.mobius.dis dis
AddType application/vnd.mobius.mbk mbk
AddType application/vnd.mobius.mqy mqy
AddType application/vnd.mobius.msl msl
AddType application/vnd.mobius.plc plc
AddType application/vnd.mobius.txf txf
AddType application/vnd.mophun.application mpn
AddType application/vnd.mophun.certificate mpc
AddType application/vnd.mozilla.xul+xml xul
AddType application/vnd.ms-artgalry cil
AddType application/vnd.ms-asf asf
AddType application/vnd.ms-cab-compressed cab
AddType application/vnd.ms-excel xla
AddType application/vnd.ms-excel xlc
AddType application/vnd.ms-excel xlm
AddType application/vnd.ms-excel xls
AddType application/vnd.ms-excel xlt
AddType application/vnd.ms-excel xlw
AddType application/vnd.ms-fontobject eot
AddType application/vnd.ms-htmlhelp chm
AddType application/vnd.ms-ims ims
AddType application/vnd.ms-lrm lrm
AddType application/vnd.ms-powerpoint pot
AddType application/vnd.ms-powerpoint pps
AddType application/vnd.ms-powerpoint ppt
AddType application/vnd.ms-project mpp
AddType application/vnd.ms-project mpt
AddType application/vnd.ms-works wcm
AddType application/vnd.ms-works wdb
AddType application/vnd.ms-works wks
AddType application/vnd.ms-works wps
AddType application/vnd.ms-wpl wpl
AddType application/vnd.ms-xpsdocument xps
AddType application/vnd.mseq mseq
AddType application/vnd.musician mus
AddType application/vnd.neurolanguage.nlu nlu
AddType application/vnd.noblenet-directory nnd
AddType application/vnd.noblenet-sealer nns
AddType application/vnd.noblenet-web nnw
AddType application/vnd.nokia.n-gage.data ngdat
AddType application/vnd.nokia.n-gage.symbian.install n-gage
AddType application/vnd.nokia.radio-preset rpst
AddType application/vnd.nokia.radio-presets rpss
AddType application/vnd.novadigm.edm edm
AddType application/vnd.novadigm.edx edx
AddType application/vnd.novadigm.ext ext
AddType application/vnd.oasis.opendocument.chart odc
AddType application/vnd.oasis.opendocument.chart-template otc
AddType application/vnd.oasis.opendocument.formula odf
AddType application/vnd.oasis.opendocument.formula-template otf
AddType application/vnd.oasis.opendocument.graphics odg
AddType application/vnd.oasis.opendocument.graphics-template otg
AddType application/vnd.oasis.opendocument.image odi
AddType application/vnd.oasis.opendocument.image-template oti
AddType application/vnd.oasis.opendocument.presentation odp
AddType application/vnd.oasis.opendocument.presentation-template otp
AddType application/vnd.oasis.opendocument.spreadsheet ods
AddType application/vnd.oasis.opendocument.spreadsheet-template ots
AddType application/vnd.oasis.opendocument.text odt
AddType application/vnd.oasis.opendocument.text-master otm
AddType application/vnd.oasis.opendocument.text-template ott
AddType application/vnd.oasis.opendocument.text-web oth
AddType application/vnd.olpc-sugar xo
AddType application/vnd.oma.dd2+xml dd2
AddType application/vnd.openofficeorg.extension oxt
AddType application/vnd.osgi.dp dp
AddType application/vnd.palm oprc
AddType application/vnd.palm pdb
AddType application/vnd.palm pqa
AddType application/vnd.palm prc
AddType application/vnd.pg.format str
AddType application/vnd.pg.osasli ei6
AddType application/vnd.picsel efif
AddType application/vnd.pocketlearn plf
AddType application/vnd.powerbuilder6 pbd
AddType application/vnd.previewsystems.box box
AddType application/vnd.proteus.magazine mgz
AddType application/vnd.publishare-delta-tree qps
AddType application/vnd.pvi.ptid1 ptid
AddType application/vnd.quark.quarkxpress qwd
AddType application/vnd.quark.quarkxpress qwt
AddType application/vnd.quark.quarkxpress qxb
AddType application/vnd.quark.quarkxpress qxd
AddType application/vnd.quark.quarkxpress qxl
AddType application/vnd.quark.quarkxpress qxt
AddType application/vnd.recordare.musicxml mxl
# AddType application/vnd.rn-realmedia rm
AddType application/vnd.seemail see
AddType application/vnd.sema sema
AddType application/vnd.semd semd
AddType application/vnd.semf semf
AddType application/vnd.shana.informed.formdata ifm
AddType application/vnd.shana.informed.formtemplate itp
AddType application/vnd.shana.informed.interchange iif
AddType application/vnd.shana.informed.package ipk
AddType application/vnd.simtech-mindmapper twd
AddType application/vnd.simtech-mindmapper twds
AddType application/vnd.smaf mmf
AddType application/vnd.solent.sdkm+xml sdkd
AddType application/vnd.solent.sdkm+xml sdkm
AddType application/vnd.spotfire.dxp dxp
AddType application/vnd.spotfire.sfs sfs
AddType application/vnd.sus-calendar sus
AddType application/vnd.sus-calendar susp
AddType application/vnd.svd svd
AddType application/vnd.syncml+xml xsm
AddType application/vnd.syncml.dm+wbxml bdm
AddType application/vnd.syncml.dm+xml xdm
AddType application/vnd.tao.intent-module-archive tao
AddType application/vnd.tmobile-livetv tmo
AddType application/vnd.trid.tpt tpt
AddType application/vnd.triscape.mxs mxs
AddType application/vnd.trueapp tra
AddType application/vnd.ufdl ufd
AddType application/vnd.ufdl ufdl
AddType application/vnd.uiq.theme utz
AddType application/vnd.umajin umj
AddType application/vnd.unity unityweb
AddType application/vnd.uoml+xml uoml
AddType application/vnd.vcx vcx
AddType application/vnd.visio vsd
AddType application/vnd.visio vss
AddType application/vnd.visio vst
AddType application/vnd.visio vsw
AddType application/vnd.visionary vis
AddType application/vnd.vsf vsf
AddType application/vnd.wap.wbxml wbxml
AddType application/vnd.wap.wmlc wmlc
AddType application/vnd.wap.wmlscriptc wmlsc
AddType application/vnd.webturbo wtb
AddType application/vnd.wordperfect wpd
AddType application/vnd.wqd wqd
AddType application/vnd.wt.stf stf
AddType application/vnd.xara xar
AddType application/vnd.xfdl xfdl
AddType application/vnd.yamaha.hv-dic hvd
AddType application/vnd.yamaha.hv-script hvs
AddType application/vnd.yamaha.hv-voice hvp
AddType application/vnd.yamaha.smaf-audio saf
AddType application/vnd.yamaha.smaf-phrase spf
AddType application/vnd.yellowriver-custom-menu cmp
AddType application/vnd.zzazz.deck+xml zaz
AddType application/voicexml+xml vxml
AddType application/winhlp hlp
AddType application/wsdl+xml wsdl
AddType application/wspolicy+xml wspolicy
AddType application/x-ace-compressed ace
AddType application/x-bcpio bcpio
AddType application/x-bittorrent torrent
AddType application/x-bzip bz
AddType application/x-bzip2 boz
AddType application/x-bzip2 bz2
AddType application/x-cdlink vcd
AddType application/x-chat chat
AddType application/x-chess-pgn pgn
AddType application/x-cpio cpio
AddType application/x-csh csh
AddType application/x-director dcr
AddType application/x-director dir
AddType application/x-director dxr
AddType application/x-director fgd
AddType application/x-dvi dvi
AddType application/x-futuresplash spl
AddType application/x-gtar gtar
AddType application/x-hdf hdf
AddType application/x-httpd-php php
AddType application/x-httpd-php-source phps
AddType application/x-httpd-php3 php3
AddType application/x-java-jnlp-file jnlp
AddType application/x-latex latex
AddType application/x-ms-wmd wmd
AddType application/x-ms-wmz wmz
AddType application/x-msaccess mdb
AddType application/x-msbinder obd
AddType application/x-mscardfile crd
AddType application/x-msclip clp
AddType application/x-msdownload bat
AddType application/x-msdownload com
AddType application/x-msdownload dll
AddType application/x-msdownload exe
AddType application/x-msdownload msi
AddType application/x-msmediaview m13
AddType application/x-msmediaview m14
AddType application/x-msmediaview mvb
AddType application/x-msmetafile wmf
AddType application/x-msmoney mny
AddType application/x-mspublisher pub
AddType application/x-msschedule scd
AddType application/x-msterminal trm
AddType application/x-mswrite wri
AddType application/x-netcdf cdf
AddType application/x-netcdf nc
AddType application/x-pkcs12 p12
AddType application/x-pkcs12 pfx
AddType application/x-pkcs7-certificates p7b
AddType application/x-pkcs7-certificates spc
AddType application/x-pkcs7-certreqresp p7r
AddType application/x-quicktimeplayer qtl
AddType application/x-rar-compressed rar
AddType application/x-sh sh
AddType application/x-shar shar
AddType application/x-shockwave-flash swf
AddType application/x-stuffit sit
AddType application/x-stuffitx sitx
AddType application/x-sv4cpio sv4cpio
AddType application/x-sv4crc sv4crc
AddType application/x-tar tar
AddType application/x-tar tgz
AddType application/x-tcl tcl
AddType application/x-tex tex
AddType application/x-texinfo texi
AddType application/x-texinfo texinfo
AddType application/x-ustar ustar
AddType application/x-wais-source src
AddType application/x-x509-ca-cert crt
AddType application/x-x509-ca-cert der
AddType application/xenc+xml xenc
AddType application/xhtml+xml xht
AddType application/xhtml+xml xhtm
AddType application/xhtml+xml xhtml
AddType application/xml xml
AddType application/xml xsl
AddType application/xml-dtd dtd
AddType application/xop+xml xop
AddType application/xslt+xml xslt
AddType application/xspf+xml xspf
AddType application/xv+xml mxml
AddType application/xv+xml xhvml
AddType application/xv+xml xvm
AddType application/xv+xml xvml
AddType application/zip zip
AddType audio/basic au
AddType audio/basic snd
AddType audio/midi kar
AddType audio/midi mid
AddType audio/midi midi
AddType audio/midi rmi
AddType audio/mp4 mp4a
AddType audio/mp4a-latm m4a
AddType audio/mp4a-latm m4p
AddType audio/mpeg m2a
AddType audio/mpeg m3a
AddType audio/mpeg mp2
AddType audio/mpeg mp2a
AddType audio/mpeg mp3
AddType audio/mpeg mpga
AddType audio/vnd.digital-winds eol
AddType audio/vnd.lucent.voice lvp
AddType audio/vnd.nuera.ecelp4800 ecelp4800
AddType audio/vnd.nuera.ecelp7470 ecelp7470
AddType audio/vnd.nuera.ecelp9600 ecelp9600
AddType audio/wav wav
AddType audio/x-aiff aif
AddType audio/x-aiff aifc
AddType audio/x-aiff aiff
AddType audio/x-m4a m4a
AddType audio/x-mpegurl m3u
AddType audio/x-ms-wax wax
AddType audio/x-ms-wma wma
AddType audio/x-pn-realaudio ra
AddType audio/x-pn-realaudio ram
AddType audio/x-pn-realaudio rm
AddType audio/x-pn-realaudio-plugin rmp
AddType audio/x-scpls pls
AddType audio/x-wav wav
AddType chemical/x-cdx cdx
AddType chemical/x-cif cif
AddType chemical/x-cmdf cmdf
AddType chemical/x-cml cml
AddType chemical/x-csml csml
AddType chemical/x-pdb pdb
AddType chemical/x-xyz xyz
AddType image/bmp bmp
AddType image/cgm cgm
AddType image/g3fax g3
AddType image/gif gif
AddType image/ief ief
AddType image/jp2 jp2
AddType image/jpeg jpe
AddType image/jpeg jpeg
AddType image/jpeg jpg
AddType image/pict pct
AddType image/pict pic
AddType image/pict pict
AddType image/png png
AddType image/prs.btif btif
AddType image/svg+xml svg
AddType image/svg+xml svgz
AddType image/tiff tif
AddType image/tiff tiff
AddType image/vnd.adobe.photoshop psd
AddType image/vnd.djvu djv
AddType image/vnd.djvu djvu
AddType image/vnd.dwg dwg
AddType image/vnd.dxf dxf
AddType image/vnd.fastbidsheet fbs
AddType image/vnd.fpx fpx
AddType image/vnd.fst fst
AddType image/vnd.fujixerox.edmics-mmr mmr
AddType image/vnd.fujixerox.edmics-rlc rlc
AddType image/vnd.microsoft.icon ico
AddType image/vnd.ms-modi mdi
AddType image/vnd.net-fpx npx
AddType image/vnd.wap.wbmp wbmp
AddType image/vnd.xiff xif
AddType image/x-cmu-raster ras
AddType image/x-cmx cmx
AddType image/x-macpaint mac
AddType image/x-macpaint pnt
AddType image/x-macpaint pntg
AddType image/x-pcx pcx
AddType image/x-pict pct
AddType image/x-pict pic
AddType image/x-portable-anymap pnm
AddType image/x-portable-bitmap pbm
AddType image/x-portable-graymap pgm
AddType image/x-portable-pixmap ppm
AddType image/x-quicktime qti
AddType image/x-quicktime qtif
AddType image/x-rgb rgb
AddType image/x-xbitmap xbm
AddType image/x-xpixmap xpm
AddType image/x-xwindowdump xwd
AddType message/rfc822 eml
AddType message/rfc822 mime
AddType model/iges iges
AddType model/iges igs
AddType model/mesh mesh
AddType model/mesh msh
AddType model/mesh silo
AddType model/vnd.dwf dwf
AddType model/vnd.gdl gdl
AddType model/vnd.gtw gtw
AddType model/vnd.mts mts
AddType model/vnd.vtu vtu
AddType model/vrml vrml
AddType model/vrml wrl
AddType text/calendar ics
AddType text/calendar ifb
AddType text/css css
AddType text/csv csv
AddType text/html htm
AddType text/html html
AddType text/html shtml
AddType text/plain asc
AddType text/plain conf
AddType text/plain def
AddType text/plain in
AddType text/plain list
AddType text/plain log
AddType text/plain text
AddType text/plain txt
AddType text/prs.lines.tag dsc
AddType text/richtext rtx
AddType text/rtf rtf
AddType text/sgml sgm
AddType text/sgml sgml
AddType text/tab-separated-values tsv
AddType text/troff man
AddType text/troff me
AddType text/troff ms
AddType text/troff roff
AddType text/troff t
AddType text/troff tr
AddType text/uri-list uri
AddType text/uri-list uris
AddType text/uri-list urls
AddType text/vnd.fly fly
AddType text/vnd.fmi.flexstor flx
AddType text/vnd.in3d.3dml 3dml
AddType text/vnd.in3d.spot spot
AddType text/vnd.sun.j2me.app-descriptor jad
AddType text/vnd.wap.wml wml
AddType text/vnd.wap.wmlscript wmls
AddType text/x-asm s
AddType text/x-asm sm
AddType text/x-c c
AddType text/x-c cc
AddType text/x-c cpp
AddType text/x-c cxx
AddType text/x-c dic
AddType text/x-c h
AddType text/x-c hh
AddType text/x-fortran f
AddType text/x-fortran f77
AddType text/x-fortran f90
AddType text/x-fortran for
AddType text/x-java-source java
AddType text/x-pascal p
AddType text/x-pascal pas
AddType text/x-setext etx
AddType text/x-uuencode uu
AddType text/x-vcalendar vcs
AddType text/x-vcard vcf
AddType video/3gp2 3gp2
AddType video/3gpp 3gp
AddType video/3gpp 3gpp
AddType video/3gpp2 3g2
AddType video/h261 h261
AddType video/h263 h263
AddType video/h264 h264
AddType video/jpeg jpgv
AddType video/jpm jpgm
AddType video/jpm jpm
AddType video/mj2 mj2
AddType video/mj2 mjp2
AddType video/mp4 m4v
AddType video/mp4 mp4
AddType video/mp4 mp4v
AddType video/mp4 mpg4
AddType video/mpeg m1v
AddType video/mpeg m2v
AddType video/mpeg mpe
AddType video/mpeg mpeg
AddType video/mpeg mpg
AddType video/quicktime mov
AddType video/quicktime qt
AddType video/vnd.fvt fvt
AddType video/vnd.mpegurl m4u
AddType video/vnd.mpegurl mxu
AddType video/vnd.vivo viv
AddType video/x-dv dif
AddType video/x-dv dv
AddType video/x-fli fli
AddType video/x-ms-asf asf
AddType video/x-ms-asf asx
AddType video/x-ms-wm wm
AddType video/x-ms-wmv wmv
AddType video/x-ms-wmx wmx
AddType video/x-ms-wvx wvx
AddType video/x-msvideo avi
AddType video/x-sgi-movie movie
AddType x-conference/x-cooltalk ice
# Settings for hosting different languages.
# Required modules: mod_mime, mod_negotiation
# 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 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 fr .fr
AddLanguage he .he
AddLanguage hr .hr
AddLanguage it .it
AddLanguage ja .ja
AddLanguage ko .ko
AddLanguage ltz .ltz
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 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
# Commonly used filename extensions to character sets. You probably
# want to avoid clashes with the language extensions, unless you
# are good at carefully testing your setup after each change.
# See http://www.iana.org/assignments/character-sets for the
# official list of charset names and their respective RFCs.
AddCharset us-ascii.ascii .us-ascii
AddCharset ISO-8859-1 .iso8859-1 .latin1
AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
AddCharset ISO-8859-3 .iso8859-3 .latin3
AddCharset ISO-8859-4 .iso8859-4 .latin4
AddCharset ISO-8859-5 .iso8859-5 .cyr .iso-ru
AddCharset ISO-8859-6 .iso8859-6 .arb .arabic
AddCharset ISO-8859-7 .iso8859-7 .grk .greek
AddCharset ISO-8859-8 .iso8859-8 .heb .hebrew
AddCharset ISO-8859-9 .iso8859-9 .latin5 .trk
AddCharset ISO-8859-10 .iso8859-10 .latin6
AddCharset ISO-8859-13 .iso8859-13
AddCharset ISO-8859-14 .iso8859-14 .latin8
AddCharset ISO-8859-15 .iso8859-15 .latin9
AddCharset ISO-8859-16 .iso8859-16 .latin10
AddCharset ISO-2022-JP .iso2022-jp .jis
AddCharset ISO-2022-KR .iso2022-kr .kis
AddCharset ISO-2022-CN .iso2022-cn .cis
AddCharset Big5.Big5 .big5 .b5
AddCharset cn-Big5 .cn-big5
# For russian, more than one charset is used (depends on client, mostly):
AddCharset WINDOWS-1251 .cp-1251 .win-1251
AddCharset CP866 .cp866
AddCharset KOI8 .koi8
AddCharset KOI8-E .koi8-e
AddCharset KOI8-r .koi8-r .koi8-ru
AddCharset KOI8-U .koi8-u
AddCharset KOI8-ru .koi8-uk .ua
AddCharset ISO-10646-UCS-2 .ucs2
AddCharset ISO-10646-UCS-4 .ucs4
AddCharset UTF-7 .utf7
AddCharset UTF-8 .utf8
AddCharset UTF-16 .utf16
AddCharset UTF-16BE .utf16be
AddCharset UTF-16LE .utf16le
AddCharset UTF-32 .utf32
AddCharset UTF-32BE .utf32be
AddCharset UTF-32LE .utf32le
AddCharset euc-cn .euc-cn
AddCharset euc-gb .euc-gb
AddCharset euc-jp .euc-jp
AddCharset euc-kr .euc-kr
#Not sure how euc-tw got in - IANA doesn't list it???
AddCharset EUC-TW .euc-tw
AddCharset gb2312 .gb2312 .gb
AddCharset iso-10646-ucs-2 .ucs-2 .iso-10646-ucs-2
AddCharset iso-10646-ucs-4 .ucs-4 .iso-10646-ucs-4
AddCharset shift_jis .shift_jis .sjis
</IfModule>
## The modmimemagic 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.
<IfModule modmimemagic.c>
MIMEMagicFile /etc/apache2/magic
</IfModule>
## 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
## LogLevel: Control the number of messages logged to the error_log.
## Possible values include: debug, info, notice, warn, error, crit,
## alert, emerg.
LogLevel warn
<IfModule modlogconfig.c>
# 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
<IfModule mod_logio.c>
# You need to enable mod_logio.c to use %I and %O
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here. Contrariwise, if you do
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and not in this file.
#### For Mac OS X Server: Server Admin manages CustomLog directives
#### on a virtual host basis.
#CustomLog /var/log/apache2/access_log common
# If you prefer a logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.
#CustomLog /var/log/apache2/access_log combined
</IfModule>
## Optionally add a line containing the server version and virtual host
## name to server-generated pages (error documents, FTP directory listings,
## mod_status and mod_info output etc., but not CGI generated documents).
## Set to "EMail" to also include a mailto: link to the ServerAdmin.
## Set to one of: On | Off | EMail
ServerSignature On
UseCanonicalName Off
## Aliases: Add here as many aliases as you need (with no limit). The format is
## Alias fakename realname
<IfModule mod_alias.c>
# Redirect: Allows you to tell clients about documents that used to
# exist in your server's namespace, but do not anymore. The client
# will make a new request for the document at its new location.
# Example:
# Redirect permanent /foo http://www.example.com/bar
# Alias: Maps web paths into filesystem paths and is used to
# access content that does not live under the DocumentRoot.
# Example:
# Alias /webpath /full/filesystem/path
# If you include a trailing / on /webpath then the server will
# require it to be present in the URL. You will also likely
# need to provide a <Directory> section to allow access to
# the filesystem path.
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the target 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.
ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1"
#### For Mac OS X Server: Uncomment this line to enable web-based
#### configuration of mailman:
#Include /etc/apache2/httpd_mailman.conf
<IfModule mod_setenvif.c>
<IfModule mod_negotiation.c>
# Allow convenient access to Apache manual
AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "/Library/WebServer/share/httpd/manual$1"
<Directory "/Library/WebServer/share/httpd/manual">
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
<Files *.html>
SetHandler type-map
</Files>
SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1
RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /manual/$1$2
LanguagePriority en de es fr ja ko pt-br ru ForceLanguagePriority Prefer Fallback
</Directory>
</IfModule>
</IfModule>
</IfModule>
## Directives controlling the display of server-generated directory listings.
#### For Mac OS X Server: Note that indexing is further controlled
#### by the Server Admin application, which adds "Options +/-Indexes
#### in the virtual host scope.
<IfModule mod_autoindex.c>
## FancyIndexing is whether you want fancy directory indexing or standard
IndexOptions FancyIndexing
## 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
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 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
#AddDescription "Mac OS Disk Image file" .dmg
## 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.
## If MultiViews are amongst the Options in effect, the server will
## first look for name.html and include it if found. If name.html
## doesn't exist, the server will then look for name.txt and include
## it as plaintext if found.
ReadmeName README
HeaderName HEADER
## 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
</IfModule>
## 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 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
# The configuration below implements multi-language error documents through
# content-negotiation, and via the default Alias for /error in the vhost config file.
<Directory "/usr/share/httpd/error">
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr
ForceLanguagePriority Prefer Fallback
</Directory>
ErrorDocument 400 /error/HTTPBADREQUEST.html.var
ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
ErrorDocument 404 /error/HTTPNOTFOUND.html.var
ErrorDocument 405 /error/HTTPMETHOD_NOTALLOWED.html.var
ErrorDocument 408 /error/HTTPREQUEST_TIMEOUT.html.var
ErrorDocument 410 /error/HTTP_GONE.html.var
ErrorDocument 411 /error/HTTPLENGTHREQUIRED.html.var
ErrorDocument 412 /error/HTTPPRECONDITIONFAILED.html.var
ErrorDocument 413 /error/HTTPREQUEST_ENTITY_TOOLARGE.html.var
ErrorDocument 414 /error/HTTPREQUEST_URI_TOOLARGE.html.var
ErrorDocument 415 /error/HTTPUNSUPPORTED_MEDIATYPE.html.var
ErrorDocument 500 /error/HTTPINTERNAL_SERVERERROR.html.var
ErrorDocument 501 /error/HTTPNOTIMPLEMENTED.html.var
ErrorDocument 502 /error/HTTPBADGATEWAY.html.var
ErrorDocument 503 /error/HTTPSERVICEUNAVAILABLE.html.var
ErrorDocument 506 /error/HTTPVARIANT_ALSOVARIES.html.var
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
<IfModule mod_status.c>
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
# 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
</IfModule>
# Allow remote server configuration reports, with the URL of
# http://servername/server-info (requires that mod_info.c be loaded).
#<IfModule mod_info.c>
# <Location /server-info>
# SetHandler server-info
# Order deny,allow
# Deny from all
# Allow from .your-domain.com
# </Location>
#</IfModule>
## Proxy Server directives.
<IfModule mod_proxy.c>
ProxyRequests Off
<IfModule moddiskcache.c>
CacheEnable disk /
CacheRoot "/var/run/proxy"
</IfModule>
</IfModule>
## SSL stuff
<IfModule mod_ssl.c>
SetEnvIf User-Agent ".MSIE." nokeepalive ssl-unclean-shutdown
SSLPassPhraseDialog exec:/etc/apache2/getsslpassphrase
SSLSessionCache shmcb:/var/run/ssl_scache(512000)
SSLSessionCacheTimeout 300
SSLMutex file:/var/log/apache2/ssl_mutex
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
AddType application/x-x509-ca-cert crt
AddType application/x-pkcs7-crl crl
</IfModule>
<IfModule mod_jk.c>
JkWorkersFile /etc/apache2/workers.properties
JkLogFile /var/log/apache2/mod_jk.log
JkLogLevel error
JkMount /*.jsp JBoss1
JkMount /servlet/* JBoss1
JkMount /examples/* JBoss1
</IfModule>
## The default server is used for status on a special port
#ServerName www.example.com
Listen 127.0.0.1:9010
DocumentRoot "/var/empty"
ErrorLog "/var/log/apache2/error_log"
<Directory /var/empty>
Order Deny,Allow
Deny from All
</Directory>
<IfModule modspotlightapple2.c>
Spotlight On
</IfModule>
<IfModule modauth_digestapple.c>
BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
</IfModule>
<IfModule mod_headers.c>
Header add MS-Author-Via "DAV"
RequestHeader set XFORWARDEDPROTO 'https' env=https
</IfModule>
<IfModule mod_encoding.c>
EncodingEngine on
NormalizeUsername on
DefaultClientEncoding UTF-8
# Windows XP?
AddClientEncoding "Microsoft-WebDAV-MiniRedir/" MSUTF-8
# Windows 2K SP2 with .NET
AddClientEncoding "(Microsoft .* DAV\$)" MSUTF-8
# Windows 2K SP2/Windows XP
AddClientEncoding "(Microsoft .* DAV 1.1)" CP932
# Windows XP?
AddClientEncoding "Microsoft-WebDAV*" CP932
# RealPlayer
AddClientEncoding "RMA/*" CP932
# MacOS X webdavfs
AddClientEncoding "WebDAVFS" UTF-8
# cadaver
AddClientEncoding "cadaver/" EUC-JP
</IfModule>
RLimitNPROC max max
ExtendedStatus On
Timeout 300
KeepAlive On
MaxKeepAliveRequests 500
KeepAliveTimeout 15
# As of Mac OS X Server 10.5, the compiled-in server limit is 2048
ServerLimit 2048
# Server Admin manages ListenBackLog as a function of MaxClients: min(511, MaxClients/2)
MaxClients 1024
ListenBackLog 512
# Including WebObjects Configs
Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
#### The following Include directive is essential for the virtual hosts to be usable.
Include "/etc/apache2/sites/*.conf"
========HTTPD.CONF==========I am modifying the correct httpd.conf file on the server, it just doesn't seem to work. - If I put the rewrite rules in the <Directory /> the rewrite works but it adds /Library/WebServer/Documents to the URL.
I also tried putting the rewrite rules in <IfModule mod_rewrite.c> but that did not work either.
mod_rewrite is enabled and running on the server.
I will post the rewrite rules again in the code brackets. Sorry for the long post. - If some one can try them out on their Leopard Server to see if they can get them to work, it would be much appreciated. Again, these work on my Leopard Client but I can't get them to work on Server.
-- The httpd.conf file posted above is just the default conf file found in /private/etc/apache2/
<code>
RewriteEngine On
Options +FollowSymLinks
RewriteRule ^(.+)/$ http://%{HTTP_HOST}$1 [R=301, L]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.php(.*)\ HTTP
RewriteRule (.+)\.php(.*)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.asp(.*)\ HTTP
RewriteRule (.+)\.asp(.*)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.aspx(.*)\ HTTP
RewriteRule (.+)\.aspx(.*)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.htm.(.)\ HTTP
RewriteRule (.+)\.htm.(.)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.cfm(.*)\ HTTP
RewriteRule (.+)\.cfm(.*)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.bak(.*)\ HTTP
RewriteRule (.+)\.bak(.*)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.inc(.*)\ HTTP
RewriteRule (.+)\.inc(.*)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\..(.)\ HTTP
RewriteRule (.+)\..(.)$ $1$2 [R, L]]
<code> -
Apache 2.2.23 SSL error RE httpd.conf
I am using Apache 2.2.23 with PHP 5.4.10 on my OS X Server.
The Apache2 error_log contains the following error messages:
[Sat Jan 12 09:50:19 2013] [notice] caught SIGTERM, shutting down
[Sat Jan 12 09:50:23 2013] [notice] Apache/2.2.23 (Unix) DAV/2 PHP/5.4.10 mod_ssl/2.2.22 OpenSSL/0.9.8r configured — resuming normal operations
Could that be due to the entries in the httpd.conf shown at the bottom of this post? Does it matter? What does 'caught SIGTERM' mean?
Also, why does the error mention mod_ssl/2.2.22 (shouldn't that be mod_ssl/2.2.23)? Sorry for all the questions but I'm still learning.
I am not currently using SSL although I do want to get that working eventually.
The Apache2 httpd.conf file contains the following lines:
LoadModule ssl_module libexec/apache2/mod_ssl.so
'#' Secure (SSL/TLS) connections
'#' Include /private/etc/apache2/extra/httpd-ssl.conf
'#' Note: The following must must be present to support
'#' starting without SSL on platforms with no /dev/random equivalent
'#' but a statically compiled-in mod_ssl.
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>Try installing the Oracle HTTP Server installed with Oracle8i release 8.1.7.
Alison
iSQL*Plus Team -
Need help regarding Apache httpd.conf and PHP setup.
Hi,
I am facing problem setting up my PHP and apache setup. I have installed Apache2.2 Root path = C:\Program Files\Apache Software Foundation\Apache2.2
I have also installed PHP in my C:\PHP drive earlier. I moved this PHP folder to C:\Program Files\Apache Software Foundation\Apache2.2 just to keep all things at one place.
I have copied php5ts.dll at 4 locations - C:\Program Files\Apache Group\Apache2 \bin , %SYSTEMROOT%\System32, %SYSTEMROOT%\system and %SYSTEMROOT%. I have also added these paths in Environment variable 'PATH'.
In httpd.conf file entries are as follows:
ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2"
I have added these 3 lines as
LoadModule php5_module php/php5apache2.dll
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
When restarting apache http server I get message as:
httpd.exe error ...... cannot load C:\Program Files\Apache Software Foundation\Apache2.2\php\php5ts.dll into the server. The specified module could not be found.
I have checked that php5ts.dll DLL exist at above path. Please help me out urgently.Sorry I don't have Windows available to check the paths. With recent versions
of PHP I never copied files out of the php source directory.
Make sure the Oracle 10g Instant Client is in your PATH environment variable.
You could try using the PHP Windows MSI installer.
cj -
Apache httpd.conf and Weblogic server integration.
Dear friends,
I am seeing a strange problem in my Apache and weblogic integration work.
In the Apache httpd.conf file, under mod_weblogic.c module, if i dont turn DebugConfigInfo ON then my system is not working properly. always hitting with http 404 error. can you please explain why this is required and if required is it mandatory to turn it ON ?
when i read in weblogic docs, its mentioned as to turn it OFF for security reasons. But if i make it as OFF then my website is not working properly.
Here is the conents of mod_weblogic.c module in my httpd.conf file.
<IfModule mod_weblogic.c>
WebLogicHost rlw1csts08.bpweb.bp.com
WebLogicPort 7001
DebugConfigInfo On
#EnforceBasicConstraints OFF
PathPrepend /csmain-web
ErrorPage /err/serverErrorWL.xml
#WLLogFile "| /export/home/wwwst08/apache/bin/rotatelogs /export/home/wwwst08/apache/logs/WL_apache_error.log.%Y%m%d%H%M%S 86400"
WLLogFile "/export/home/wwwst08/apache/logs/WL_apache_error.log"
</IfModule>
Please let me know your inputs. Its very urgent.
Thanks
subba.I donot have the complete httpd.conf with me right now but you have to follow the following steps:
1) Compile Apache with ssl module included
2) Instead of Port 80 change the port to 443 at global level or at virtual directory level
3) If u want to redirect the traffic on port 80 to port 443 then also include mod_rewrite module while compiliing apache and write a rule to redirect the traffic from port 80 to 443 -
Please help! Strange problem with HTTPD.Conf and OC4J (I think)
Hi,
We have been trying to configure the 10g "infrastructure" Apache server/instance to work with our own authentication module, and as part of this, we need to configure a directory alias containing some of our JSPs. To do this, the only thing that we did was that we took the standard HTTPD.CONF file that got installed with the 10g AS installation, and added a small section at the end.
However, we are finding that if our addition to the HTTPD.CONF is included, instead of the JSPs in our aliased directory being processed, Apache seems to be just serving the JSPs as text pages :(..
If we remove the section at the end of the HTTPD.CONF, and point a browser to the unaliased path, the JSPs get processed correctly.
I was wondering if anyone here might take a look at our HTTPD.CONF below, and tell me if you can see something there that might be causing this behavior? The section that we added is at the very end. We think that the problem might be something like the "order" of the directives, etc. in the HTTPD.CONF file may be such that the alias is taking priority ahead of the OC4J, or something like that.
Thanks in advance, and apologies for the long message.
Jim
=====================================================
ServerType standalone
ServerRoot "/orad59/10gAS/infrastructure/Apache/Apache"
PidFile /orad59/10gAS/infrastructure/Apache/Apache/logs/httpd.pid
ScoreBoardFile /orad59/10gAS/infrastructure/Apache/Apache/logs/httpd.scoreboard
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 20
StartServers 5
MaxClients 150
MaxRequestsPerChild 0
LoadModule onsint_module libexec/mod_onsint.so
LoadModule mmap_static_module libexec/mod_mmap_static.so
LoadModule vhost_alias_module libexec/mod_vhost_alias.so
LoadModule env_module libexec/mod_env.so
LoadModule define_module libexec/mod_define.so
LoadModule config_log_module libexec/mod_log_config.so
LoadModule agent_log_module libexec/mod_log_agent.so
LoadModule referer_log_module libexec/mod_log_referer.so
LoadModule mime_magic_module libexec/mod_mime_magic.so
LoadModule mime_module libexec/mod_mime.so
LoadModule negotiation_module libexec/mod_negotiation.so
LoadModule status_module libexec/mod_status.so
LoadModule info_module libexec/mod_info.so
LoadModule includes_module libexec/mod_include.so
LoadModule autoindex_module libexec/mod_autoindex.so
LoadModule dir_module libexec/mod_dir.so
LoadModule cgi_module libexec/mod_cgi.so
LoadModule asis_module libexec/mod_asis.so
LoadModule imap_module libexec/mod_imap.so
LoadModule action_module libexec/mod_actions.so
LoadModule speling_module libexec/mod_speling.so
LoadModule userdir_module libexec/mod_userdir.so
LoadModule alias_module libexec/mod_alias.so
LoadModule access_module libexec/mod_access.so
LoadModule auth_module libexec/mod_auth.so
LoadModule anon_auth_module libexec/mod_auth_anon.so
LoadModule dbm_auth_module libexec/mod_auth_dbm.so
LoadModule digest_module libexec/mod_digest.so
LoadModule proxy_module libexec/libproxy.so
LoadModule cern_meta_module libexec/mod_cern_meta.so
LoadModule expires_module libexec/mod_expires.so
LoadModule headers_module libexec/mod_headers.so
LoadModule usertrack_module libexec/mod_usertrack.so
LoadModule unique_id_module libexec/mod_unique_id.so
LoadModule setenvif_module libexec/mod_setenvif.so
LoadModule perl_module libexec/libperl.so
LoadModule fastcgi_module libexec/mod_fastcgi.so
<IfDefine SSL>
LoadModule ossl_module libexec/mod_ossl.so
</IfDefine>
LoadModule wchandshake_module libexec/mod_wchandshake.so
ExtendedStatus On
Port 7777
Listen 7777
User oracle
Group dba
ServerAdmin [email protected]
ServerName ge1ssd04.test.com
DocumentRoot "/orad59/10gAS/infrastructure/Apache/Apache/htdocs"
<Directory />
Options FollowSymLinks MultiViews
AllowOverride None
</Directory>
<Directory "/orad59/10gAS/infrastructure/Apache/Apache/htdocs">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.html
</IfModule>
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
UseCanonicalName On
<IfModule mod_mime.c>
TypesConfig /orad59/10gAS/infrastructure/Apache/Apache/conf/mime.types
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
AddLanguage ar .ar
AddLanguage da .dk .da
AddLanguage nl .nl
AddLanguage en .en
AddLanguage et .ee
AddLanguage fi .fi
AddLanguage fr .fr
AddLanguage de .de
AddLanguage el .el
AddLanguage es .es_ES .es
AddLanguage he .he .iw
AddLanguage hu .hu
AddCharset ISO-8859-8 .iso8859-8
AddLanguage it .it
AddLanguage ja .ja
AddCharset ISO-2022-JP .jis
AddLanguage ko .ko
AddLanguage kr .kr
AddCharset ISO-2022-KR .iso-kr
AddLanguage nn .nn
AddLanguage no .no
AddLanguage pl .po
AddCharset ISO-8859-2 .iso-pl
AddLanguage pt .pt
AddLanguage pt-br .pt_BR .pt-br
AddLanguage ltz .lu
AddLanguage ca .ca
AddLanguage sk .sk
AddLanguage sv .sv
AddLanguage th .th
AddLanguage tr .tr
AddLanguage cz .cz .cs
AddLanguage ro .ro
AddLanguage ru .ru
AddLanguage zh-cn .zh_CN
AddLanguage zh-tw .zh_TW
AddCharset Big5 .Big5 .big5
AddCharset WINDOWS-1251 .cp-1251
AddCharset CP866 .cp866
AddCharset ISO-8859-5 .iso-ru
AddCharset KOI8-R .koi8-r
AddCharset UCS-2 .ucs2
AddCharset UCS-4 .ucs4
AddCharset UTF-8 .utf8
<IfModule mod_negotiation.c>
LanguagePriority ar en da nl et fi fr de el it ja ko kr no pl pt pt-br ro ru ltz ca es sk sv th tr zh-cn zh-tw zh-cn
</IfModule>
AddType application/x-tar .tgz
</IfModule>
DefaultType text/plain
<IfModule mod_mime_magic.c>
MIMEMagicFile /orad59/10gAS/infrastructure/Apache/Apache/conf/magic
</IfModule>
HostnameLookups Off
ErrorLog "|/orad59/10gAS/infrastructure/Apache/Apache/bin/rotatelogs /orad59/10gAS/infrastructure/Apache/Apache/logs/error_log 43200"
LogLevel warn
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
CustomLog "|/orad59/10gAS/infrastructure/Apache/Apache/bin/rotatelogs /orad59/10gAS/infrastructure/Apache/Apache/logs/access_log 43200" common
ServerSignature On
<IfModule mod_alias.c>
Alias /icons/ "/orad59/10gAS/infrastructure/Apache/Apache/icons/"
Alias /jservdocs/ "/orad59/10gAS/infrastructure/Apache/Jserv/docs/"
Alias /javacachedocs/ "/orad59/10gAS/infrastructure/javacache/javadoc/"
<IfModule mod_perl.c>
Alias /perl/ "/orad59/10gAS/infrastructure/Apache/Apache/cgi-bin/"
</IfModule>
<Directory "/orad59/10gAS/infrastructure/Apache/Apache/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ "/orad59/10gAS/infrastructure/Apache/Apache/cgi-bin/"
<Directory "/orad59/10gAS/infrastructure/Apache/Apache/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_autoindex.c>
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^^
ReadmeName README
HeaderName HEADER
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
</IfModule>
<IfModule mod_setenvif.c>
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
</IfModule>
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from localhost ge1ssd04.test.com ge1ssd04
</Location>
SetEnv PERL5LIB "/orad59/10gAS/infrastructure/perl/lib/5.6.1:/orad59/10gAS/infrastructure/perl/lib/site_perl/5.6.1"
<IfModule mod_perl.c>
PerlModule Apache
PerlModule Apache::Registry
<Location /perl>
SetHandler perl-script
PerlHandler Apache::Registry
AddHandler perl-script .pl
Options +ExecCGI
PerlSendHeader On
</Location>
</IfModule>
<DirectoryMatch /WEB-INF/>
Order deny,allow
Deny from all
</DirectoryMatch>
<IfModule mod_fastcgi.c>
Alias /fastcgi/ "/orad59/10gAS/infrastructure/Apache/fastcgi/"
ScriptAlias /fcgi-bin/ "/orad59/10gAS/infrastructure/Apache/Apache/fcgi-bin/"
<Directory "/orad59/10gAS/infrastructure/Apache/Apache/fcgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
SetHandler fastcgi-script
<IfModule mod_ossl.c>
SSLOptions +StdEnvVars
</IfModule>
</Directory>
</IfModule>
PassEnv ORACLE_HOME
PassEnv LD_LIBRARY_PATH
PassEnv NLS_LANG
PassEnv TNS_ADMIN
<IfModule mod_oprocmgr.c>
<Location /oprocmgr-service>
SetHandler oprocmgr-service
Order deny,allow
Deny from all
Allow from localhost ge1ssd04.test.com ge1ssd04
</Location>
<Location /oprocmgr-status>
SetHandler oprocmgr-status
Order deny,allow
Deny from all
Allow from localhost ge1ssd04.test.com ge1ssd04
</Location>
</IfModule>
include "/orad59/10gAS/infrastructure/Apache/Apache/conf/mod_oc4j.conf"
include "/orad59/10gAS/infrastructure/Apache/Apache/conf/dms.conf"
LoadModule rewrite_module libexec/mod_rewrite.so
include "/orad59/10gAS/infrastructure/Apache/Apache/conf/ssl.conf"
include "/orad59/10gAS/infrastructure/Apache/Apache/conf/mod_osso.conf"
include "/orad59/10gAS/infrastructure/Apache/Apache/conf/oracle_apache.conf"
# MY ADDITIONS TO HTTPD.CONF GO BELOW HERE....
LoadModule my_auth_module /opt/myagent/apache/lib/libmy_apache_agent_mod_ssl.so
AddModule my_apache_mod.c
<IfModule my_apache_mod.c>
MYAgentRoot /opt/myagent/apache
</IfModule>
<IfModule my_apache_mod.c>
<Location />
AuthType Basic
Require valid-user
AuthName MYAUTH
</Location>
</IfModule>
<IfModule my_apache_mod.c>
Alias /mydir/ "/orad59/10gAS/infrastructure/j2ee/OC4J_SECURITY/applications/sso/web/jsp/myagentdir/"
<Directory "/orad59/10gAS/infrastructure/j2ee/OC4J_SECURITY/applications/sso/web/jsp/myagentdir/">
AuthType Basic
Require valid-user
AuthName MYAUTH
</Directory>
</IfModule>Hi,
I wanted to post what we found on this.
As indicated in my original msg, we had an Alias directory in the httpd.conf. However, after thinking about the problem a bit, I think that the Alias was not the right thing to do.
The Alias tells Apache to map a URL fragment to a FILESYSTEM location. Well, obviously, Apache only SERVES pages... it doesn't process JSPs.
We switched to using a Redirect directive instead of the Alias, and things worked a little better, but we've run into a bit of a problem with "Redirect looping", but that's a different story :)...
Jim -
How to include processing time in the LogFormat in httpd.conf of OAS
Hi,
I want to add processing time parameter in the LogFormat of the HTTP requests in Application server logs file.
i tried to edit the httpd.conf file which orginally is as below
LogFormat "%h %l %u %t \"%r\" \"%{Cache-Control}i\" CC \"%{Cache-Control}o\" %>s %b" common
to
LogFormat "%h %l %u %t *%T* \"%r\" \"%{Cache-Control}i\" CC \"%{Cache-Control}o\" %>s %b" common
But doing so, did not add the Processing time in the GET and POST requests.Although same works for Apache HTTP server.
I want to know how do i add the Processing time attribute in the LOGFormat.
By Default the LogFormat is Common, what are the other possibilities fpr LogFormat.
Please revert.
Regards
AkHi,
1. To reduce the processing time for JMS -> IDOC scenario, try to get the Average processing time taken by JMS adapter, IE, IDOC adapter for the messages that are processed so far by going thro the Adapter Audit logs, SXMB_MONI race and Time in WE02 in R/3 system. Calculate this for 5 - 10 messages at different time to get the clear idea of which step is consuming more time. Then it will be helpful to focus on tuning that specific step. If you are using BPM, check the processing time taken by PE.
2. Check the Inbound and Outbound queues used by this interface, if required try to configure Prioritized Queue with more time allocated for this interface in Integration Engine.
3. Check the load on the Integration Server when this Interface messages are getting processed, to understand/ isolate the interfaces which are consuming more processing time and system resources.
4. If this is not in Production try to perform the Mapping/ transformation in graphical mapping itself, it will be helpful to minimise use of XSLT mapping to get better performance.
5. Check if the Archive and Delete jobs are running successfully in the Integration Server, since this will free up the occupied resources in the system.
6. If possible post seperate Forum questions for issues in different Interface scenarios, it will be easy to understand the problem for all of us.
Hope this will be helpful,
Regards,
S.Santhosh Kumar -
I've seen instructions all over the internet about rewriting a .conf file to get Apache to see your user "Sites" folder in Mountain Lion. Mine refuses to work. The server still works at localhost, but localhost/~user will not, I get "Safari cannot connect to server localhost."
I'm really the only user that uses it, is there any problem with just changing to document root in the httpd.conf file to /Users/user/Sites?
Or, any ideas about the user.conf file? Permissions are correct, file is correct, apache restarted.Interesting. I ran apachectl configtest, and it found a syntax error in my user.conf file, which I thought I deleted. All this time I've been working in /etc/apache2/users, as the online tutorials specify. The other .conf file, brought to my attention by the configtest, is in /private/etc/apache2/users.
The error: a space between allow,deny.
Fixed the error... all is well. Thanks for the configtest tip... I never knew about that one.
Maybe you are looking for
-
Error while creating new entity object.
Hi all I'm using Jdev 11.1.1.3. I want to create an entity object and Jdev issues an information error saying "Either this is not a valid name or an object with that name already exists." I found that if the package I'm targeting for the new entity i
-
GUI Slow in 8.0.1 and 8.1 because of orphaned Adobe Premiere Pro Processes
Has anyone seen the GUI in 8.0.1 or 8.1 get very slow and noticed that they had orphaned PR processes? We've never had performance issues on our Windows 7 Pro, latest SP and updates, i7 920, 48 GB, Nvidia GTX 480 and LSI 9286cv-8e. I have the latest
-
How do I virus scan my iMac with OS X
How do I virus scan my iMac with OS X?
-
Connecting to remote oracle without installing full oracle
Hi, I have an oracle dbase remotely I want to connect to through tnsnames.ora but I don't want to install full oracle. Can I do it ? if so please give me detail steps on how to do it. Thanks Elias
-
CVS management for Numbers?
Does anyone know why my CVS directories are being blown away when I save .numbers files. I don't get the same problem with other applications like graffle, which also uses directories for files.. The best solution I have found so far is to use OnMyCo