~mbp/pad.lv/trunk

« back to all changes in this revision

Viewing changes to apache/core.conf

  • Committer: Martin Pool
  • Date: 2018-09-09 14:52:11 UTC
  • Revision ID: mbp@sourcefrog.net-20180909145211-ch997wvkpmpcv4mf
Remove old Apache-based implementation

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
ServerName      pad.lv
2
 
DocumentRoot    /home/mbp/src/pad.lv/www/
3
 
ServerAdmin     webmaster@sourcefrog.net
4
 
 
5
 
ErrorLog        /var/log/apache2/pad.lv-error.log
6
 
CustomLog       /var/log/apache2/pad.lv-access.log      combined
7
 
 
8
 
ErrorDocument   404 /error.html
9
 
 
10
 
Options FollowSymLinks Includes Indexes
11
 
 
12
 
# Most of them allow an optional trailing slash; also there can be
13
 
# trailing punctuation to cope with bad auto-linkification.
14
 
 
15
 
RedirectMatch   temp   ^/([0-9]+)/?[.>)"',;]?$   https://launchpad.net/bugs/$1
16
 
RedirectMatch   temp       ^/q/([0-9]+)/?[.>)"',;]?$            https://launchpad.net/questions/$1
17
 
RedirectMatch   temp   ^/bug=([0-9]+)/?[.>)"',;]?$   https://launchpad.net/bugs/$1
18
 
RedirectMatch   temp   ^/OOPS-([0-9a-zA-Z-]+)/?[.>)"',;]?$   https://lp-oops.canonical.com/oops.py/?oopsid=$1
19
 
RedirectMatch   temp   ^/~$                                             https://launchpad.net/~
20
 
RedirectMatch   temp   ^/~([\w+.-]+)(/[-/+a-z0-9_]*)?[.>)"',;]?$                https://launchpad.net/~$1$2
21
 
 
22
 
RedirectMatch   temp   ^/b/(~?[\w+.-]+)(/[-/+a-z0-9_]*)?[.>)"',;]?$     https://bugs.launchpad.net/$1$2
23
 
RedirectMatch   temp   ^/b/u/([\w+.-]+)[.>)"',;]?$      https://bugs.launchpad.net/ubuntu/+source/$1
24
 
RedirectMatch   temp   ^/baf/~?([\w+.-]+)?[.>)"',;]?$                   https://bugs.launchpad.net/~$1/+affectingbugs
25
 
RedirectMatch   temp   ^/bas/~?([\w+.-]+)?[.>)"',;]?$                   https://bugs.launchpad.net/~$1/+assignedbugs
26
 
RedirectMatch   temp   ^/bre/~?([\w+.-]+)?[.>)"',;]?$                   https://bugs.launchpad.net/~$1/+reportedbugs
27
 
RedirectMatch   temp   ^/bsu/~?([\w+.-]+)?[.>)"',;]?$                   https://bugs.launchpad.net/~$1/+subscribedbugs
28
 
RedirectMatch   temp   ^/ubuntu/\+bug/([0-9]*)(/comments/([0-9]*))?      https://bugs.launchpad.net/$0
29
 
 
30
 
RedirectMatch   temp   ^/p/([\w+.-]+)/?[.>)"',;]?$              https://launchpad.net/$1
31
 
RedirectMatch   temp   ^/u/([\w+.-]+)/?[.>)"',;]?$              https://launchpad.net/ubuntu/+source/$1
32
 
RedirectMatch   temp   ^/d/([\w+.-]+)/?[.>)"',;]?$              https://launchpad.net/debian/+source/$1
33
 
RedirectMatch   temp   ^/ppa/([\w+.-]+)/?[.>)"',;]?$            https://launchpad.net/~$1/+archive
34
 
RedirectMatch   temp   ^/ppa/([\w+.-]+)/([\w+.-]+)/?[.>)"',;]?$ https://launchpad.net/~$1/+archive/$2
35
 
RedirectMatch   temp   ^/fb/u/?[.>)"',;]?$                      https://bugs.launchpad.net/ubuntu/+filebug
36
 
RedirectMatch   temp   ^/fb/u/([\w.+-]+)/?[.>)"',;]?$           https://bugs.launchpad.net/ubuntu/+source/$1/+filebug
37
 
RedirectMatch   temp   ^/fb/([\w+.-]+)/?[.>)"',;]?$             https://bugs.launchpad.net/$1/+filebug
38
 
 
39
 
RedirectMatch   temp   ^/bld/(\d+)/?[.>)"',;]?$         https://launchpad.net/builders/+buildjob/$1
40
 
 
41
 
RedirectMatch   temp   ^/mps/u/?[.>)"',;]?$                     https://code.launchpad.net/ubuntu/+activereviews
42
 
RedirectMatch   temp   ^/mps/([\w+.-]+)/?[.>)"',;]?$            https://code.launchpad.net/$1/+activereviews
43
 
RedirectMatch   temp   ^/mps/u/([\w+.-]+)/?[.>)"',;]?$          https://code.launchpad.net/ubuntu/+source/$1/+activereviews
44
 
 
45
 
RedirectMatch   temp   ^/c/(.*)[.>)"',;:]?$                     https://code.launchpad.net/$1
46
 
 
47
 
RedirectMatch   temp        ^/files/(~?[\w./+-]+)/?[.>)"',;]?$  https://bazaar.launchpad.net/+branch/$1/files
48
 
 
49
 
 
50
 
HostnameLookups off
51
 
 
52
 
 
53
 
# vim: ft=apache