~ubuntu-branches/ubuntu/lucid/apache2/lucid-201001071544

« back to all changes in this revision

Viewing changes to debian/README.Debian

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2008-11-05 02:23:18 UTC
  • mfrom: (14.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20081105022318-ghw333f38ahs6w1r
Tags: 2.2.9-10ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/{control, rules}: enable PIE hardening.
  - debian/{control, rules, apache2.2-common.ufw.profile}: add ufw profiles.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
Apache configuration. Due to the use of environment variables, apache2
34
34
needs to be started/stopped with /etc/init.d/apache2 or apache2ctl. 
35
35
Calling /usr/bin/apache2 directly will not work with the default
36
 
configuration.
 
36
configuration. To call apache2 with specific command line arguments,
 
37
just call apache2ctl with the same arguments.
37
38
 
38
39
Files and Directories in /etc/apache2:
39
40
-------------------------------------
263
264
clean up the semaphores with:
264
265
 
265
266
        ipcs -s | grep www-data | awk ' { print $2 } ' | xargs ipcrm sem
 
267
 
 
268
3) Message "NameVirtualHost *:80 has no VirtualHosts" in error log
 
269
 
 
270
Probably the VirtualHost definitions have not been adjusted after the 
 
271
NameVirtualHost directive was changed in ports.conf. 
 
272
See /usr/share/doc/apache2.2-common/NEWS.Debian.gz
 
273
 
 
274
4) Message "File does not exist: /htdocs" in error log
 
275
 
 
276
In most cases this means that no matching VirtualHost definition could be
 
277
found for an incoming request.
 
278
 
 
279
5) Support for Spanish and Turkish language with mod_negotiation
 
280
 
 
281
Currently Apache will send Spanish and Turkish language files with the wrong
 
282
mime types because the extensions .es and .tr have entries in /etc/mime.types
 
283
for application/ecmascript and application/x-troff.
 
284
 
 
285
In order to make Spanish and Turkish language support work, you need to either
 
286
remove these entries from /etc/mime.types, or add something like
 
287
 
 
288
    <Files *.html.tr.utf8>
 
289
        ForceType text/html
 
290
    </Files>
 
291
 
 
292
to your Apache configuration. Of course, this has to be ajusted to the actual
 
293
filenames you use.