Apache HTTP Server

Apache HTTP Server

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2019 Nov 18 20:39
Editor
Edited
Edited
2023 Sep 20 6:10
Refs
Refs
reload = soft restart
๐Ÿก
.htaccess
๐ŸŽญ
Apache HTTP Server errorpage
Apache HTTP Server mod_python
apache web server init
apache web server log
Apache HTTP Server event mpm
ย 
ย 
ย 

apache (web server) - tom cat (WAS)

ํ†ฐ์บฃ(Tomcat)๊ณผ ์•„ํŒŒ์น˜(Apache) ์ฐจ์ด
์˜ˆ๋ฅผ ๋“ค์–ด ๋‚ด๊ฐ€ ์œ ํˆฌ๋ธŒ์—์„œ ๋™์˜์ƒ์ด ๋ณด๊ณ  ์‹ถ๋‹ค๋ฉด, ์›น ๋ธŒ๋ผ์šฐ์ €(ํฌ๋กฌ, ํŒŒ์ด์–ดํญ์Šค, IE)์—์„œ ์œ ํˆฌ๋ธŒ์˜ URL(www.youtube.com)์„ ์ณ์„œ ํ•ด๋‹น ํŽ˜์ด์ง€์— ์ ‘์†์„ ํ•œ๋‹ค. ๋ฐ”๋กœ ์ด๊ฒƒ์ด ํด๋ผ์ด์–ธํŠธ(์‚ฌ์šฉ์ž)์™€ ์„œ๋ฒ„(์œ ํˆฌ๋ธŒ ์„œ๋ฒ„)์˜ ์ƒํ˜ธ ์ž‘์šฉ์ด๋‹ค. ํด๋ผ์ด์–ธํŠธ์™€ ์„œ๋ฒ„๋ฅผ ํ†ต์‹ ์„ ๊ฐ€๋Šฅํ•˜๊ฒŒ ํ•˜๋Š” ๊ฒƒ์ด ๋ธŒ๋ผ์šฐ์ €์ด๋ฉฐ, ๋ธŒ๋ผ์šฐ์ €๋Š” ํด๋ผ์ด์–ธํŠธ๋Š” ์›ํ•˜๋Š” ๊ฒƒ์„ ์š”์ฒญ(request)ํ•˜๊ณ  ์„œ๋ฒ„์—์„œ๋Š” ์‚ฌ์šฉ์ž๊ฐ€ ์›ํ•˜๋Š” ๊ฒƒ์— ์‘๋‹ต(response) ํ•œ๋‹ค. ์ด๊ณณ ์˜คํ”ˆ ์†Œ์Šค ์ปค๋ฎค๋‹ˆํ‹ฐ์—์„œ ๋งŒ๋“  ์„œ๋ฒ„๋ฅผ ํ†ต ํ‹€์–ด ์•„ํŒŒ์น˜ ์„œ๋ฒ„๋กœ ๋ถˆ๋ฆฌ์šด๋‹ค.
ํ†ฐ์บฃ(Tomcat)๊ณผ ์•„ํŒŒ์น˜(Apache) ์ฐจ์ด

apache 2 in ubuntu master

[Ubuntu] ์šฐ๋ถ„ํˆฌ Apache(์•„ํŒŒ์น˜) ์ดํ•ด
์šฐ๋ถ„ํˆฌ๋Š” ์ผ๋ฐ˜์ ์ธ ๋ฆฌ๋ˆ…์Šค ๋ฐฐํฌํŒ๋“ค๊ณผ ๋‹ค๋ฅธ ๊ตฌ์กฐ๋ฅผ ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ๋ฐ๋น„์•ˆ ๊ณ„์—ด์˜ ํŠน์ง•์ธ๋“ฏ ์‹ถ์Šต๋‹ˆ๋‹ค. /etc/apache2 ์„ค์ •ํŒŒ์ผ ๋ฃจํŠธ์œ„์น˜๋กœ, ์„ค์ •ํŒŒ์ผ๋“ค์ด ์ด ๋””๋ ‰ํ† ๋ฆฌ ๋ฐ‘์— ์œ„์น˜ํ•˜๊ณ  ์žˆ๋‹ค. /etc/apache2/apache2.conf ๊ธฐ๋ณธ ์„ค์ •ํŒŒ์ผ๋กœ, ๋‹ค๋ฅธ ๋ฐฐํฌํŒ์—์„œ httpd.conf๋ฅผ ๊ธฐ๋ณธ ์„ค์ •ํŒŒ์ผ๋กœ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋Š”๋ฐ ์šฐ๋ถ„ํˆฌ์—์„œ๋Š” apache2.conf ๋ฅผ ์‚ฌ์šฉํ•œ๋‹ค. /etc/apache2/conf.d ๊ณ ๊ธ‰์„ค์ • ํŒŒ์ผ๋กœ, ๋‹ค๋ฅธ ๋ฐฐํฌํŒ์—์„œ httpd.conf ํŒŒ์ผ ํ•˜๋‚˜์— ์„ค์ •๋˜์–ด ์žˆ๋˜ ๋ฌธ์ž์…‹๊ณผ ์—๋Ÿฌ๋ฉ”์‹œ์ง€, ๋ณด์•ˆ๊ณผ ๊ด€๋ จ๋œ ์„ค์ •๋“ฑ์„ ๋”ฐ๋กœ ๋”ฐ๋กœ ๋ถ„๋ฆฌํ•˜์—ฌ conf.d ๋””๋ ‰ํ† ๋ฆฌ๋ฐ‘์—์„œ ์„ค์ •ํ•˜๊ณ  ์žˆ๋‹ค.
[Ubuntu] ์šฐ๋ถ„ํˆฌ Apache(์•„ํŒŒ์น˜) ์ดํ•ด
ย 
ย 
ย 

Recommendations