Komunikat o błędzie

  • User warning: The following module is missing from the file system: bueditor. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: field_validation_extras. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: field_validation_ui. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: geshifield. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: geshifilter. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: google_plusone. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: linkit. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: property_validation. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: taxonomy_menu. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: tweetbutton. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: wysiwyg. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • User warning: The following module is missing from the file system: field_validation. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
  • Notice: Undefined index: execute_responsive_theme w drupal_theme_initialize() (linia 100 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).
  • Notice: Trying to get property 'filename' of non-object w _drupal_theme_initialize() (linia 146 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).
  • Notice: Trying to get property 'name' of non-object w _theme_load_registry() (linia 335 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).
  • Notice: Undefined index: execute_responsive_theme w theme_get_setting() (linia 1440 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).

Lighttpd

W pliku [code]/etc/lighttpd/lighttpd.conf[/code] odkomentowujesz
[vim]
server.modules = (
# "mod_redirect",
# "mod_rewrite",
)[/vim]
Dodajesz przekierowanie
[vim]
$HTTP["scheme"] == "http" {
# capture vhost name with regex conditiona -> %0 in redirect pattern
# must be the most inner block to the redirect rule
$HTTP["host"] =~ "^domena\.pl$" {
url.redirect = (".*" => "https://%0$0") }
$HTTP["host"] =~ "^www\.(.*)$" {

Zastosowanie: 
Przekierowanie z http na https z www na bez www w pliku lighttpd.conf bez podawania domeny
Wiedza: 
Praktyczna

W konsoli podajesz
[bash]
mkdir /etc/lighttpd/ssl/[/bash]
W katalogu [code]ssl[/code] umieszczasz pliki certyfikat SSL [code]domena.crt[/code] oraz prywatny klucz [code]domena.key[/code]. Tworzysz plik [code]domena.pem[/code] łącząc [code]domena.crt[/code] z [code]domena.key[/code]
[bash]
cat domena.crt domena.key > domena.pem[/bash]
W pliku [code]/etc/lighttpd/lighttpd.conf[/code] edytujemy linie:
$SERVER["socket"] == ":443" {
ssl.engine = "enable"

Wiedza: 
Praktyczna

W pliku [code]/etc/lighttpd/lighttpd.conf[/code] odkomentowujesz
[vim]
server.modules = (
# "mod_redirect",
# "mod_rewrite",
)[/vim]
Dodajesz przekierowanie
[vim]
$HTTP["scheme"] == "http" {
# capture vhost name with regex conditiona -> %0 in redirect pattern
# must be the most inner block to the redirect rule
$HTTP["host"] =~ ".*" {
url.redirect = (".*" => "https://%0$0")
}
}[/vim]

Zastosowanie: 
Przekierowanie z http na https w pliku lighttpd.conf bez podawania domeny
Wiedza: 
Praktyczna

W pliku [code]/etc/lighttpd/lighttpd.conf[/code] odkomentowujesz
[vim]
server.modules = (
# "mod_redirect",
# "mod_rewrite",
)[/vim]
Dodajesz przekierowanie
[vim]
$HTTP["host"] == "www.domena" {
url.redirect = ("^/(.*)" => "http://domena/$1" )
}[/vim]
Przekierowanie z http na https z www na bez www w Lighttpd

Zastosowanie: 
Przekierowanie z www na bez www w dla serwera Lighttpd
Wiedza: 
Praktyczna
Subskrybuj RSS - Lighttpd