-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathHTTP Configuration with WLS
89 lines (63 loc) · 1.81 KB
/
HTTP Configuration with WLS
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#Installation Of HTTP Server
sudo yum -y install apr apr-util
Http For Weblogic Including Modules
https://drive.google.com/drive/folders/1YReyTzvRD9XRH9Va63AhP3cvjmQmY47M?usp=sharing
Download and extract the http.tar file package. It should be extracted on the below path only.
/opt/httpd/
#Configuration Of Default website
vi /opt/httpd/conf/extra/httpd-vhosts.conf
<VirtualHost *:80>
KeepAliveTimeout 60
MaxKeepAliveRequests 0
ServerAdmin [email protected]
DocumentRoot /opt/content/tele/
ServerName www.tele.com
ServerAlias tele.com
ErrorLog logs/tele.com-error_log
CustomLog logs/tele.com-access_log common
</VirtualHost>
<Directory /opt/content/tele>
Options FollowSymLinks
AllowOverride None
FileETag All -INode
Require all granted
</Directory>
Creating Default Index.html
cd /opt/content/tele
vi index.html
<!DOCTYPE html>
<html>
<head>
<meta name="tele" content="width=device-width, initial-scale=1.0">
</head>
<body>
<h2>This is the tele website</h2>
<p>This is just an example of an tele </p>
<nav>
<ul>
<li><a href="/tele_ear">Tele</a></li>
<li><a href="/CityInfoDemo">City Info</a></li>
</ul>
</nav>
</body>
</html>
#plugin Download:
https://www.oracle.com/middleware/technologies/webtier-downloads.html#
#Plugin Configuration
vi /opt/httpd/conf/httpd.conf
LoadModule weblogic_module /opt/httpd/modules/mod_wl_24.so
vi /opt/httpd/conf/extra/httpd-vhosts.conf
<Location /tele_ear>
SetHandler weblogic-handler
WebLogicHost wls-host1
WebLogicPort 8080
</Location>
For Cluster:
<Location /tele_ear>
SetHandler weblogic-handler
WebLogicCluster wls-host1:8080,wls-host1:9080
</Location>
<Location /CityInfoDemo>
SetHandler weblogic-handler
WebLogicCluster wls-host1:8080,wls-host1:9080
</Location>