Portál AbcLinuxu, 12. května 2025 15:39

Dotaz: centos 7 mod_headers

16.9.2019 17:18 siki77
centos 7 mod_headers
Přečteno: 247×
Odpovědět | Admin
Dobrý den,

nainstaloval jsem na Centos 7 Apache 2.4 a nedaří se mi zprovoznit mod_headers, tento je v povolených a načtených modulech, ale pingdom.com ukazuje, že ho web nepoužívá,

můj dotaz je jak a přes co se dá tento zkonfigurovat, aby ho web načítal, prosím

Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

16.9.2019 20:42 debian+
Rozbalit Rozbalit vše Re: centos 7 mod_headers
Odpovědět | | Sbalit | Link | Blokovat | Admin
Co ti vrati?
# zmen url
wget -S abclinuxu.cz -O /dev/null
16.9.2019 21:10 siki77
Rozbalit Rozbalit vše Re: centos 7 mod_headers
wget -S mujweb.cz -O /dev/null --2019-09-16 21:03:18-- http://mujweb.cz/ Resolving mujweb.cz (mujweb.cz)... xxx.xxx.xxx.xxx Connecting to mujweb.cz (mujweb.cz)|xxx.xxx.xxx.xxx|:80... connected. HTTP request sent, awaiting response... HTTP/1.1 301 Moved Permanently Date: Mon, 16 Sep 2019 19:03:18 GMT Server: Apache/2.4.38 (Debian) Location: http://www.mujweb.cz/ Cache-Control: max-age=1296000 Expires: Tue, 01 Oct 2019 19:03:18 GMT Content-Length: 322 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=iso-8859-1 Location: http://www.mujweb.cz/ [following] --2019-09-16 21:03:18-- http://www.mujweb.cz/ Resolving www.mujweb.cz (www.mujweb.cz)... xxx.xxx.xxx.xxx Reusing existing connection to mujweb.cz:80. HTTP request sent, awaiting response... HTTP/1.1 301 Moved Permanently Date: Mon, 16 Sep 2019 19:03:18 GMT Server: Apache/2.4.38 (Debian) Set-Cookie: 182b9a6d15f1b14d517f9a315261f28b=3ll0us50h7obg1jr05lj9m3tj8; path=/; secure; HttpOnly X-Content-Type-Options: nosniff Location: https://www.mujweb.cz/ Cache-Control: max-age=1296000, public Expires: Tue, 01 Oct 2019 19:03:18 GMT Content-Length: 0 Keep-Alive: timeout=5, max=99 Connection: Keep-Alive Content-Type: text/html; charset=utf-8 Location: https://www.mujweb.cz/ [following] --2019-09-16 21:03:18-- https://www.mujweb.cz/ Connecting to www.mujweb.cz (www.mujweb.cz)|xxx.xxx.xxx.xxx|:443... connected. HTTP request sent, awaiting response... HTTP/1.1 200 OK Date: Mon, 16 Sep 2019 19:03:18 GMT Server: Apache/2.4.38 (Debian) P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM" Expires: Wed, 17 Aug 2005 00:00:00 GMT Cache-Control: no-cache Pragma: no-cache X-Content-Type-Options: nosniff Upgrade: h2,h2c Connection: Upgrade, Keep-Alive Last-Modified: Mon, 16 Sep 2019 18:51:09 GMT ETag: https://www.mujweb.cz/ Vary: Accept-Encoding Cache-Control: public Keep-Alive: timeout=5, max=100 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 Length: unspecified [text/html] Saving to: ‘/dev/null’
16.9.2019 21:43 debian+
Rozbalit Rozbalit vše Re: centos 7 mod_headers
wget -S mujweb.cz -O /dev/null
--2019-09-16 21:03:18--  http://mujweb.cz/
Resolving mujweb.cz (mujweb.cz)... xxx.xxx.xxx.xxx
Connecting to mujweb.cz (mujweb.cz)|xxx.xxx.xxx.xxx|:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 301 Moved Permanently
  Date: Mon, 16 Sep 2019 19:03:18 GMT
  Server: Apache/2.4.38 (Debian)
  Location: http://www.mujweb.cz/
  Cache-Control: max-age=1296000
  Expires: Tue, 01 Oct 2019 19:03:18 GMT
  Content-Length: 322
  Keep-Alive: timeout=5, max=100
  Connection: Keep-Alive
  Content-Type: text/html; charset=iso-8859-1
Location: http://www.mujweb.cz/ [following]
--2019-09-16 21:03:18--  http://www.mujweb.cz/
Resolving www.mujweb.cz (www.mujweb.cz)... xxx.xxx.xxx.xxx
Reusing existing connection to mujweb.cz:80.
HTTP request sent, awaiting response...
  HTTP/1.1 301 Moved Permanently
  Date: Mon, 16 Sep 2019 19:03:18 GMT
  Server: Apache/2.4.38 (Debian)
  Set-Cookie: 182b9a6d15f1b14d517f9a315261f28b=3ll0us50h7obg1jr05lj9m3tj8; path=/; secure; HttpOnly
  X-Content-Type-Options: nosniff
  Location: https://www.mujweb.cz/
  Cache-Control: max-age=1296000, public
  Expires: Tue, 01 Oct 2019 19:03:18 GMT
  Content-Length: 0
  Keep-Alive: timeout=5, max=99
  Connection: Keep-Alive
  Content-Type: text/html; charset=utf-8
Location: https://www.mujweb.cz/ [following]
--2019-09-16 21:03:18--  https://www.mujweb.cz/
Connecting to www.mujweb.cz (www.mujweb.cz)|xxx.xxx.xxx.xxx|:443... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Date: Mon, 16 Sep 2019 19:03:18 GMT
  Server: Apache/2.4.38 (Debian)
  P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
  Expires: Wed, 17 Aug 2005 00:00:00 GMT
  Cache-Control: no-cache
  Pragma: no-cache
  X-Content-Type-Options: nosniff
  Upgrade: h2,h2c
  Connection: Upgrade, Keep-Alive
  Last-Modified: Mon, 16 Sep 2019 18:51:09 GMT
  ETag: https://www.mujweb.cz/
  Vary: Accept-Encoding
  Cache-Control: public
  Keep-Alive: timeout=5, max=100
  Transfer-Encoding: chunked
  Content-Type: text/html; charset=utf-8
Length: unspecified [text/html]
Saving to: ‘/dev/null’
16.9.2019 21:45 debian+
Rozbalit Rozbalit vše Re: centos 7 mod_headers
A aky bol zamer pouzit ten modul v praxi?

Nerenderujes stranky cez PHP?

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.