File: ubersed

package info (click to toggle)
apache 1.3.33-6sarge3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,856 kB
  • ctags: 86
  • sloc: sh: 1,229; makefile: 682; perl: 215
file content (35 lines) | stat: -rw-r--r-- 722 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/perl -lpw

s?_log?.log?g;
s?apache.conf?httpd.conf?g;

s?usr/local/bin/perl?usr/bin/perl?g;

# bug?
s?TH ab 1?TH ab 8?;
s?TH apachectl 1?TH apachectl 8?;

# debian convention
s?TH apxs 8?TH apxs 1?;
s?TH httpd 8?TH apache 8?;
s?httpd\(8\)?apache\(8\)?;
s?B httpd?B apache?;
s?^httpd?apache?;
s?httpd -l?apache -l?;

# manual fix
s?\"apache_pb.gif\"?\"icons/apache_pb.gif\"?;

# mime.types in apaci
s?/etc/apache/mime.types?/etc/mime.types?;

#apachectl
s?/usr/local/apache/logs/httpd.pid?/var/run/apache.pid?;
s?/usr/local/apache/src/httpd?/usr/sbin/apache?;

#manpages
s?/usr/local/httpd.conf?/etc/apache?;
s?/usr/local/apache/logs?/var/log/apache?;

#lynx/www-browser
s?"lynx?"/etc/alternatives/www-browser?;