Cancer_mvm
26-05-2012, 01:37
Сделал сервер согласно этому:
http://www.mini-server.ru/server/web/114-debian-6-ispconfig-3
Инфо:
Забросил статический сайт, но не отображался фон сайта и некоторые картинки... Нашел файл /etc/apache2/mods-enabled/alias.conf со следующим содержимым:
<IfModule alias_module>
#
# Aliases: Add here as many aliases as you need (with no limit). The format is
# Alias fakename realname
#
# Note that if you include a trailing / on fakename then the server will
# require it to be present in the URL. So "/icons" isn't aliased in this
# example, only "/icons/". If the fakename is slash-terminated, then the
# realname must also be slash terminated, and if the fakename omits the
# trailing slash, the realname must also omit it.
#
# We include the /icons/ alias for FancyIndexed directory listings. If
# you do not use FancyIndexing, you may comment this out.
#
Alias /icons/ "/usr/share/apache2/icons/"
<Directory "/usr/share/apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</IfModule>
закоментировал все строки, после чего фон, картинки начали отображаться.
Вопрос: 1. Правильно ли сделал, не повлечет к новым проблем? Может нужно этот файл как то изменить?
Вопрос: 2.Стал замечать временами самопроизвольные, достаточно частые перезагрузки, как выяснить, или где посмотреть причину (может логи какие есть)?
По мере возникновения, будут добавляться новые вопросы
http://www.mini-server.ru/server/web/114-debian-6-ispconfig-3
Инфо:
Забросил статический сайт, но не отображался фон сайта и некоторые картинки... Нашел файл /etc/apache2/mods-enabled/alias.conf со следующим содержимым:
<IfModule alias_module>
#
# Aliases: Add here as many aliases as you need (with no limit). The format is
# Alias fakename realname
#
# Note that if you include a trailing / on fakename then the server will
# require it to be present in the URL. So "/icons" isn't aliased in this
# example, only "/icons/". If the fakename is slash-terminated, then the
# realname must also be slash terminated, and if the fakename omits the
# trailing slash, the realname must also omit it.
#
# We include the /icons/ alias for FancyIndexed directory listings. If
# you do not use FancyIndexing, you may comment this out.
#
Alias /icons/ "/usr/share/apache2/icons/"
<Directory "/usr/share/apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</IfModule>
закоментировал все строки, после чего фон, картинки начали отображаться.
Вопрос: 1. Правильно ли сделал, не повлечет к новым проблем? Может нужно этот файл как то изменить?
Вопрос: 2.Стал замечать временами самопроизвольные, достаточно частые перезагрузки, как выяснить, или где посмотреть причину (может логи какие есть)?
По мере возникновения, будут добавляться новые вопросы