<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Нужно настроить Web-сервер]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=14381&amp;type=atom" />
	<updated>2011-06-16T10:17:22Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=14381</id>
		<entry>
			<title type="html"><![CDATA[Re: Нужно настроить Web-сервер]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=188307#p188307" />
			<content type="html"><![CDATA[<p>Блин SELinux виноват был оказывается</p>]]></content>
			<author>
				<name><![CDATA[krasdok]]></name>
				<uri>https://linuxforum.ru/profile.php?id=17666</uri>
			</author>
			<updated>2011-06-16T10:17:22Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=188307#p188307</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужно настроить Web-сервер]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=188245#p188245" />
			<content type="html"><![CDATA[<p><strong>newzenon</strong>, на файлы желательно 644&nbsp; :rolleyes: , да и права 755 это наверно излишни,&nbsp; в некоторых случаях ставят на каталог o+rx =)</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2011-06-16T04:26:22Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=188245#p188245</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужно настроить Web-сервер]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=188209#p188209" />
			<content type="html"><![CDATA[<p><strong>i2ks</strong>, разве не chmod 755 и chown www-data:www-data - вроде www-data должен присутствовать по умолчанию при установке веб-сервисов.</p>]]></content>
			<author>
				<name><![CDATA[zenon]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6867</uri>
			</author>
			<updated>2011-06-15T20:17:25Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=188209#p188209</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужно настроить Web-сервер]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=188137#p188137" />
			<content type="html"><![CDATA[<p><strong>krasdok</strong>, chmod 644, ну и соответсвенно пользователь и группа sit:sit =)</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2011-06-15T16:07:42Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=188137#p188137</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужно настроить Web-сервер]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=188094#p188094" />
			<content type="html"><![CDATA[<p>Вот права какие должны быть???</p>]]></content>
			<author>
				<name><![CDATA[krasdok]]></name>
				<uri>https://linuxforum.ru/profile.php?id=17666</uri>
			</author>
			<updated>2011-06-15T13:32:32Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=188094#p188094</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужно настроить Web-сервер]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=187981#p187981" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>krasdok пишет:</cite><blockquote><p>403 Forbidden<br />You don&#039;t have permission to access /index.html on this server.</p></blockquote></div><p>Решение: <a href="http://www.cyberciti.biz/faq/apache-403-forbidden-error-and-solution/">apache-403-forbidden-error-and-solution</a></p><div class="quotebox"><cite>krasdok пишет:</cite><blockquote><p>    &lt;Directory /home/sit/public_html&gt;</p></blockquote></div><p>в кавычках путь должен быть &lt;Directory &quot;/home/sit/public_html&quot;&gt;</p><p>Ну и права на нужную директорию и файлы.</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2011-06-15T07:56:22Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=187981#p187981</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужно настроить Web-сервер]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=187975#p187975" />
			<content type="html"><![CDATA[<p>Правда два года назад устанавливал, но помню с такая же вроде проблема была, но как решил не помню. Мож и не в настройках апаче дело... Очень жду помощи!!!</p>]]></content>
			<author>
				<name><![CDATA[krasdok]]></name>
				<uri>https://linuxforum.ru/profile.php?id=17666</uri>
			</author>
			<updated>2011-06-15T07:43:27Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=187975#p187975</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужно настроить Web-сервер]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=187874#p187874" />
			<content type="html"><![CDATA[<p>Я не первый раз апаче настраиваю две книжки правда стареньких лежит, но тут не пойму что в апаче не так и chown -R apache:apache /home/sit/public_html присваивал не хочет и webmin -ом все таже <span style="color: #ff0000"><strong>CENSORED</strong></span>. Не помню мож что в пользователях завести надо, мож DNS зоны не так прописаны, запутался</p>]]></content>
			<author>
				<name><![CDATA[krasdok]]></name>
				<uri>https://linuxforum.ru/profile.php?id=17666</uri>
			</author>
			<updated>2011-06-14T17:12:32Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=187874#p187874</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужно настроить Web-сервер]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=187844#p187844" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>krasdok пишет:</cite><blockquote><p>Просто я завел пользователя sit думал что измениться</p></blockquote></div><p>может вам всеже пока что с документацией ознакомиться, а то таким темпом мы далеко не уйдем&nbsp; <img src="https://linuxforum.ru/img/smilies/ac.gif" alt="ac" /></p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2011-06-14T14:10:09Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=187844#p187844</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужно настроить Web-сервер]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=187826#p187826" />
			<content type="html"><![CDATA[<p>Просто я завел пользователя sit думал что измениться</p>]]></content>
			<author>
				<name><![CDATA[krasdok]]></name>
				<uri>https://linuxforum.ru/profile.php?id=17666</uri>
			</author>
			<updated>2011-06-14T12:33:35Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=187826#p187826</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужно настроить Web-сервер]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=187824#p187824" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>krasdok пишет:</cite><blockquote><p>    &lt;Directory /home/sit/public_html&gt;</p></blockquote></div><p>у вас здесь ошибка: sit исправить на <strong>site</strong></p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2011-06-14T12:25:29Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=187824#p187824</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужно настроить Web-сервер]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=187823#p187823" />
			<content type="html"><![CDATA[<p>Да я установил, но разобраться не могу раньше другой интерфейс был а сейчас на английском, если скажу пароль рута глянете, а то я совсем что-то не вьезжаю</p>]]></content>
			<author>
				<name><![CDATA[krasdok]]></name>
				<uri>https://linuxforum.ru/profile.php?id=17666</uri>
			</author>
			<updated>2011-06-14T12:22:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=187823#p187823</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужно настроить Web-сервер]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=187819#p187819" />
			<content type="html"><![CDATA[<p>Он уже установлен был. А вот apache22 тоже нет. Вот листинг httpd.conf:<br />#LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b \&quot;%{Referer}i\&quot; \&quot;%{User-Agent}i\&quot; %I %O&quot; combinedio</p><p>#<br /># The location and format of the access logfile (Common Logfile Format).<br /># If you do not define any access logfiles within a &lt;VirtualHost&gt;<br /># container, they will be logged here.&nbsp; Contrariwise, if you *do*<br /># define per-&lt;VirtualHost&gt; access logfiles, transactions will be<br /># logged therein and *not* in this file.<br />#<br />#CustomLog logs/access_log common</p><p>#<br /># If you would like to have separate agent and referer logfiles, uncomment<br /># the following directives.<br />#<br />#CustomLog logs/referer_log referer<br />#CustomLog logs/agent_log agent</p><p>#<br /># For a single logfile with access, agent, and referer information<br /># (Combined Logfile Format), use the following directive:<br />#<br />CustomLog logs/access_log combined</p><p>#<br /># Optionally add a line containing the server version and virtual host<br /># name to server-generated pages (internal error documents, FTP directory<br /># listings, mod_status and mod_info output etc., but not CGI generated<br /># documents or custom error documents).<br /># Set to &quot;EMail&quot; to also include a mailto: link to the ServerAdmin.<br /># Set to one of:&nbsp; On | Off | EMail<br />#<br />ServerSignature On</p><p>#<br /># Aliases: Add here as many aliases as you need (with no limit). The format is <br /># Alias fakename realname<br />#<br /># Note that if you include a trailing / on fakename then the server will<br /># require it to be present in the URL.&nbsp; So &quot;/icons&quot; isn&#039;t aliased in this<br /># example, only &quot;/icons/&quot;.&nbsp; If the fakename is slash-terminated, then the <br /># realname must also be slash terminated, and if the fakename omits the <br /># trailing slash, the realname must also omit it.<br />#<br /># We include the /icons/ alias for FancyIndexed directory listings.&nbsp; If you<br /># do not use FancyIndexing, you may comment this out.<br />#<br />Alias /icons/ &quot;/var/www/icons/&quot;</p><p>&lt;Directory &quot;/var/www/icons&quot;&gt;<br />&nbsp; &nbsp; Options Indexes MultiViews FollowSymLinks<br />&nbsp; &nbsp; AllowOverride None<br />&nbsp; &nbsp; Order allow,deny<br />&nbsp; &nbsp; Allow from all<br />&lt;/Directory&gt;</p><p>#<br /># WebDAV module configuration section.<br /># <br />&lt;IfModule mod_dav_fs.c&gt;<br />&nbsp; &nbsp; # Location of the WebDAV lock database.<br />&nbsp; &nbsp; DAVLockDB /var/lib/dav/lockdb<br />&lt;/IfModule&gt;</p><p>#<br /># ScriptAlias: This controls which directories contain server scripts.<br /># ScriptAliases are essentially the same as Aliases, except that<br /># documents in the realname directory are treated as applications and<br /># run by the server when requested rather than as documents sent to the client.<br /># The same rules about trailing &quot;/&quot; apply to ScriptAlias directives as to<br /># Alias.<br />#<br />ScriptAlias /cgi-bin/ &quot;/var/www/cgi-bin/&quot;</p><p>#<br /># &quot;/var/www/cgi-bin&quot; should be changed to whatever your ScriptAliased<br /># CGI directory exists, if you have that configured.<br />#<br />&lt;Directory &quot;/var/www/cgi-bin&quot;&gt;<br />&nbsp; &nbsp; AllowOverride None<br />&nbsp; &nbsp; Options None<br />&nbsp; &nbsp; Order allow,deny<br />&nbsp; &nbsp; Allow from all<br />&lt;/Directory&gt;</p><p>#<br /># Redirect allows you to tell clients about documents which used to exist in<br /># your server&#039;s namespace, but do not anymore. This allows you to tell the<br /># clients where to look for the relocated document.<br /># Example:<br /># Redirect permanent /foo <a href="http://www.example.com/bar">http://www.example.com/bar</a></p><p>#<br /># Directives controlling the display of server-generated directory listings.<br />#</p><p>#<br /># IndexOptions: Controls the appearance of server-generated directory<br /># listings.<br />#<br />IndexOptions FancyIndexing VersionSort NameWidth=*</p><p>#<br /># AddIcon* directives tell the server which icon to show for different<br /># files or filename extensions.&nbsp; These are only displayed for<br /># FancyIndexed directories.<br />#<br />AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip</p><p>AddIconByType (TXT,/icons/text.gif) text/*<br />AddIconByType (IMG,/icons/image2.gif) image/*<br />AddIconByType (SND,/icons/sound2.gif) audio/*<br />AddIconByType (VID,/icons/movie.gif) video/*</p><p>AddIcon /icons/binary.gif .bin .exe<br />AddIcon /icons/binhex.gif .hqx<br />AddIcon /icons/tar.gif .tar<br />AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv<br />AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip<br />AddIcon /icons/a.gif .ps .ai .eps<br />AddIcon /icons/layout.gif .html .shtml .htm .pdf<br />AddIcon /icons/text.gif .txt<br />AddIcon /icons/c.gif .c<br />AddIcon /icons/p.gif .pl .py<br />AddIcon /icons/f.gif .for<br />AddIcon /icons/dvi.gif .dvi<br />AddIcon /icons/uuencoded.gif .uu<br />AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl<br />AddIcon /icons/tex.gif .tex<br />AddIcon /icons/bomb.gif core</p><p>AddIcon /icons/back.gif ..<br />AddIcon /icons/hand.right.gif README<br />AddIcon /icons/folder.gif ^^DIRECTORY^^<br />AddIcon /icons/blank.gif ^^BLANKICON^^</p><p>#<br /># DefaultIcon is which icon to show for files which do not have an icon<br /># explicitly set.<br />#<br />DefaultIcon /icons/unknown.gif</p><p>#<br /># AddDescription allows you to place a short description after a file in<br /># server-generated indexes.&nbsp; These are only displayed for FancyIndexed<br /># directories.<br /># Format: AddDescription &quot;description&quot; filename<br />#<br />#AddDescription &quot;GZIP compressed document&quot; .gz<br />#AddDescription &quot;tar archive&quot; .tar<br />#AddDescription &quot;GZIP compressed tar archive&quot; .tgz</p><p>#<br /># ReadmeName is the name of the README file the server will look for by<br /># default, and append to directory listings.<br />#<br /># HeaderName is the name of a file which should be prepended to<br /># directory indexes. <br />ReadmeName README.html<br />HeaderName HEADER.html</p><p>#<br /># IndexIgnore is a set of filenames which directory indexing should ignore<br /># and not include in the listing.&nbsp; Shell-style wildcarding is permitted.<br />#<br />IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t</p><p>#<br /># DefaultLanguage and AddLanguage allows you to specify the language of <br /># a document. You can then use content negotiation to give a browser a <br /># file in a language the user can understand.<br />#<br /># Specify a default language. This means that all data<br /># going out without a specific language tag (see below) will <br /># be marked with this one. You probably do NOT want to set<br /># this unless you are sure it is correct for all cases.<br />#<br /># * It is generally better to not mark a page as <br /># * being a certain language than marking it with the wrong<br /># * language!<br />#<br /># DefaultLanguage nl<br />#<br /># Note 1: The suffix does not have to be the same as the language<br /># keyword --- those with documents in Polish (whose net-standard<br /># language code is pl) may wish to use &quot;AddLanguage pl .po&quot; to<br /># avoid the ambiguity with the common suffix for perl scripts.<br />#<br /># Note 2: The example entries below illustrate that in some cases <br /># the two character &#039;Language&#039; abbreviation is not identical to <br /># the two character &#039;Country&#039; code for its country,<br /># E.g. &#039;Danmark/dk&#039; versus &#039;Danish/da&#039;.<br />#<br /># Note 3: In the case of &#039;ltz&#039; we violate the RFC by using a three char<br /># specifier. There is &#039;work in progress&#039; to fix this and get<br /># the reference data for rfc1766 cleaned up.<br />#<br /># Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl)<br /># English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de)<br /># Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja)<br /># Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn)<br /># Norwegian (no) - Polish (pl) - Portugese (pt)<br /># Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv)<br /># Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW)<br />#<br />AddLanguage ca .ca<br />AddLanguage cs .cz .cs<br />AddLanguage da .dk<br />AddLanguage de .de<br />AddLanguage el .el<br />AddLanguage en .en<br />AddLanguage eo .eo<br />AddLanguage es .es<br />AddLanguage et .et<br />AddLanguage fr .fr<br />AddLanguage he .he<br />AddLanguage hr .hr<br />AddLanguage it .it<br />AddLanguage ja .ja<br />AddLanguage ko .ko<br />AddLanguage ltz .ltz<br />AddLanguage nl .nl<br />AddLanguage nn .nn<br />AddLanguage no .no<br />AddLanguage pl .po<br />AddLanguage pt .pt<br />AddLanguage pt-BR .pt-br<br />AddLanguage ru .ru<br />AddLanguage sv .sv<br />AddLanguage zh-CN .zh-cn<br />AddLanguage zh-TW .zh-tw</p><p>#<br /># LanguagePriority allows you to give precedence to some languages<br /># in case of a tie during content negotiation.<br />#<br /># Just list the languages in decreasing order of preference. We have<br /># more or less alphabetized them here. You probably want to change this.<br />#<br />LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW</p><p>#<br /># ForceLanguagePriority allows you to serve a result page rather than<br /># MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)<br /># [in case no accepted languages matched the available variants]<br />#<br />ForceLanguagePriority Prefer Fallback</p><p>#<br /># Specify a default charset for all content served; this enables<br /># interpretation of all content as UTF-8 by default.&nbsp; To use the <br /># default browser choice (ISO-8859-1), or to allow the META tags<br /># in HTML content to override this choice, comment out this<br /># directive:<br />#<br />AddDefaultCharset WINDOWS-1251</p><p>#<br /># AddType allows you to add to or override the MIME configuration<br /># file mime.types for specific file types.<br />#<br />#AddType application/x-tar .tgz</p><p>#<br /># AddEncoding allows you to have certain browsers uncompress<br /># information on the fly. Note: Not all browsers support this.<br /># Despite the name similarity, the following Add* directives have nothing<br /># to do with the FancyIndexing customization directives above.<br />#<br />#AddEncoding x-compress .Z<br />#AddEncoding x-gzip .gz .tgz</p><p># If the AddEncoding directives above are commented-out, then you<br /># probably should define those extensions to indicate media types:<br />#<br />AddType application/x-compress .Z<br />AddType application/x-gzip .gz .tgz</p><p>#<br />#&nbsp; &nbsp;MIME-types for downloading Certificates and CRLs<br />#<br />AddType application/x-x509-ca-cert .crt<br />AddType application/x-pkcs7-crl&nbsp; &nbsp; .crl</p><p>#<br /># AddHandler allows you to map certain file extensions to &quot;handlers&quot;:<br /># actions unrelated to filetype. These can be either built into the server<br /># or added with the Action directive (see below)<br />#<br /># To use CGI scripts outside of ScriptAliased directories:<br /># (You will also need to add &quot;ExecCGI&quot; to the &quot;Options&quot; directive.)<br />#<br />#AddHandler cgi-script .cgi</p><p>#<br /># For files that include their own HTTP headers:<br />#<br />#AddHandler send-as-is asis</p><p>#<br /># For type maps (negotiated resources):<br /># (This is enabled by default to allow the Apache &quot;It Worked&quot; page<br />#&nbsp; to be distributed in multiple languages.)<br />#<br />AddHandler type-map var</p><p>#<br /># Filters allow you to process content before it is sent to the client.<br />#<br /># To parse .shtml files for server-side includes (SSI):<br /># (You will also need to add &quot;Includes&quot; to the &quot;Options&quot; directive.)<br />#<br />AddType text/html .shtml<br />AddOutputFilter INCLUDES .shtml<br />AddType application/x-httpd-php .php .htm .html<br />#<br /># Action lets you define media types that will execute a script whenever<br /># a matching file is called. This eliminates the need for repeated URL<br /># pathnames for oft-used CGI file processors.<br /># Format: Action media/type /cgi-script/location<br /># Format: Action handler-name /cgi-script/location<br />#</p><p>#<br /># Customizable error responses come in three flavors:<br /># 1) plain text 2) local redirects 3) external redirects<br />#<br /># Some examples:<br />#ErrorDocument 500 &quot;The server made a boo boo.&quot;<br />#ErrorDocument 404 /missing.html<br />#ErrorDocument 404 &quot;/cgi-bin/missing_handler.pl&quot;<br />#ErrorDocument 402 <a href="http://www.example.com/subscription_info.html">http://www.example.com/subscription_info.html</a><br />#</p><p>#<br /># Putting this all together, we can internationalize error responses.<br />#<br /># We use Alias to redirect any /error/HTTP_&lt;error&gt;.html.var response to<br /># our collection of by-error message multi-language collections.&nbsp; We use <br /># includes to substitute the appropriate text.<br />#<br /># You can modify the messages&#039; appearance without changing any of the<br /># default HTTP_&lt;error&gt;.html.var files by adding the line:<br />#<br />#&nbsp; &nbsp;Alias /error/include/ &quot;/your/include/path/&quot;<br />#<br /># which allows you to create your own set of files by starting with the<br /># /var/www/error/include/ files and<br /># copying them to /your/include/path/, even on a per-VirtualHost basis.<br />#</p><p>Alias /error/ &quot;/var/www/error/&quot;</p><p>&lt;IfModule mod_negotiation.c&gt;<br />&lt;IfModule mod_include.c&gt;<br />&nbsp; &nbsp; &lt;Directory &quot;/var/www/error&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; AllowOverride None<br />&nbsp; &nbsp; &nbsp; &nbsp; Options IncludesNoExec<br />&nbsp; &nbsp; &nbsp; &nbsp; AddOutputFilter Includes html<br />&nbsp; &nbsp; &nbsp; &nbsp; AddHandler type-map var<br />&nbsp; &nbsp; &nbsp; &nbsp; Order allow,deny<br />&nbsp; &nbsp; &nbsp; &nbsp; Allow from all<br />&nbsp; &nbsp; &nbsp; &nbsp; LanguagePriority en es de fr<br />&nbsp; &nbsp; &nbsp; &nbsp; ForceLanguagePriority Prefer Fallback<br />&nbsp; &nbsp; &lt;/Directory&gt;</p><p>#&nbsp; &nbsp; ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var<br />#&nbsp; &nbsp; ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var<br />#&nbsp; &nbsp; ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var<br />#&nbsp; &nbsp; ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var<br />#&nbsp; &nbsp; ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var<br />#&nbsp; &nbsp; ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var<br />#&nbsp; &nbsp; ErrorDocument 410 /error/HTTP_GONE.html.var<br />#&nbsp; &nbsp; ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var<br />#&nbsp; &nbsp; ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var<br />#&nbsp; &nbsp; ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var<br />#&nbsp; &nbsp; ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var<br />#&nbsp; &nbsp; ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var<br />#&nbsp; &nbsp; ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var<br />#&nbsp; &nbsp; ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var<br />#&nbsp; &nbsp; ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var<br />#&nbsp; &nbsp; ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var<br />#&nbsp; &nbsp; ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var</p><p>&lt;/IfModule&gt;<br />&lt;/IfModule&gt;</p><p>#<br /># The following directives modify normal HTTP response behavior to<br /># handle known problems with browser implementations.<br />#<br />BrowserMatch &quot;Mozilla/2&quot; nokeepalive<br />BrowserMatch &quot;MSIE 4\.0b2;&quot; nokeepalive downgrade-1.0 force-response-1.0<br />BrowserMatch &quot;RealPlayer 4\.0&quot; force-response-1.0<br />BrowserMatch &quot;Java/1\.0&quot; force-response-1.0<br />BrowserMatch &quot;JDK/1\.0&quot; force-response-1.0</p><p>#<br /># The following directive disables redirects on non-GET requests for<br /># a directory that does not include the trailing slash.&nbsp; This fixes a <br /># problem with Microsoft WebFolders which does not appropriately handle <br /># redirects for folders with DAV methods.<br /># Same deal with Apple&#039;s DAV filesystem and Gnome VFS support for DAV.<br />#<br />BrowserMatch &quot;Microsoft Data Access Internet Publishing Provider&quot; redirect-carefully<br />BrowserMatch &quot;MS FrontPage&quot; redirect-carefully<br />BrowserMatch &quot;^WebDrive&quot; redirect-carefully<br />BrowserMatch &quot;^WebDAVFS/1.[0123]&quot; redirect-carefully<br />BrowserMatch &quot;^gnome-vfs/1.0&quot; redirect-carefully<br />BrowserMatch &quot;^XML Spy&quot; redirect-carefully<br />BrowserMatch &quot;^Dreamweaver-WebDAV-SCM1&quot; redirect-carefully</p><p>#<br /># Allow server status reports generated by mod_status,<br /># with the URL of http://servername/server-status<br /># Change the &quot;.example.com&quot; to match your domain to enable.<br />#<br />#&lt;Location /server-status&gt;<br />#&nbsp; &nbsp; SetHandler server-status<br />#&nbsp; &nbsp; Order deny,allow<br />#&nbsp; &nbsp; Deny from all<br />#&nbsp; &nbsp; Allow from .example.com<br />#&lt;/Location&gt;</p><p>#<br /># Allow remote server configuration reports, with the URL of<br />#&nbsp; http://servername/server-info (requires that mod_info.c be loaded).<br /># Change the &quot;.example.com&quot; to match your domain to enable.<br />#<br />#&lt;Location /server-info&gt;<br />#&nbsp; &nbsp; SetHandler server-info<br />#&nbsp; &nbsp; Order deny,allow<br />#&nbsp; &nbsp; Deny from all<br />#&nbsp; &nbsp; Allow from .example.com<br />#&lt;/Location&gt;</p><p>#<br /># Proxy Server directives. Uncomment the following lines to<br /># enable the proxy server:<br />#<br />#&lt;IfModule mod_proxy.c&gt;<br />#ProxyRequests On<br />#<br />#&lt;Proxy *&gt;<br />#&nbsp; &nbsp; Order deny,allow<br />#&nbsp; &nbsp; Deny from all<br />#&nbsp; &nbsp; Allow from .example.com<br />#&lt;/Proxy&gt;</p><p>#<br /># Enable/disable the handling of HTTP/1.1 &quot;Via:&quot; headers.<br /># (&quot;Full&quot; adds the server version; &quot;Block&quot; removes all outgoing Via: headers)<br /># Set to one of: Off | On | Full | Block<br />#<br />#ProxyVia On</p><p>#<br /># To enable a cache of proxied content, uncomment the following lines.<br /># See <a href="http://httpd.apache.org/docs/2.2/mod/mod_cache.html">http://httpd.apache.org/docs/2.2/mod/mod_cache.html</a> for more details.<br />#<br />#&lt;IfModule mod_disk_cache.c&gt;<br />#&nbsp; &nbsp;CacheEnable disk /<br />#&nbsp; &nbsp;CacheRoot &quot;/var/cache/mod_proxy&quot;<br />#&lt;/IfModule&gt;<br />#</p><p>#&lt;/IfModule&gt;<br /># End of proxy directives.</p><p>### Section 3: Virtual Hosts<br />#<br /># VirtualHost: If you want to maintain multiple domains/hostnames on your<br /># machine you can setup VirtualHost containers for them. Most configurations<br /># use only name-based virtual hosts so the server doesn&#039;t need to worry about<br /># IP addresses. This is indicated by the asterisks in the directives below.<br />#<br /># Please see the documentation at <br /># &lt;URL:http://httpd.apache.org/docs/2.2/vhosts/&gt;<br /># for further details before you try to setup virtual hosts.<br />#<br /># You may use the command line option &#039;-S&#039; to verify your virtual host<br /># configuration.</p><p>#<br /># Use name-based virtual hosting.<br />#<br />#NameVirtualHost *:80<br />NameVirtualHost 195.112.240.154<br />#<br /># NOTE: NameVirtualHost cannot be used without a port specifier <br /># (e.g. :80) if mod_ssl is being used, due to the nature of the<br /># SSL protocol.<br />#</p><p>#<br /># VirtualHost example:<br /># Almost any Apache directive may go into a VirtualHost container.<br /># The first VirtualHost section is used for requests without a known<br /># server name.<br />#<br />&lt;VirtualHost 195.112.240.154&gt;<br />&nbsp; &nbsp; ServerAdmin root@krasdok.ru<br />&nbsp; &nbsp; DocumentRoot /home/sit/public_html<br />&nbsp; &nbsp; ServerName <a href="http://www.krasdok.ru">www.krasdok.ru</a><br />&nbsp; &nbsp; ErrorLog logs/krasdok.ru-error_log<br />&nbsp; &nbsp; CustomLog logs/krasdok.ru-access_log common<br />&nbsp; &nbsp; &lt;Directory /home/sit/public_html&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; Order deny,allow<br />&nbsp; &nbsp; &nbsp; &nbsp; Allow from all<br />&nbsp; &nbsp; &lt;/Directory&gt;<br />&lt;/VirtualHost&gt;</p>]]></content>
			<author>
				<name><![CDATA[krasdok]]></name>
				<uri>https://linuxforum.ru/profile.php?id=17666</uri>
			</author>
			<updated>2011-06-14T12:12:26Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=187819#p187819</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужно настроить Web-сервер]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=187818#p187818" />
			<content type="html"><![CDATA[<p><strong>krasdok</strong>, через webmin настройте тогда, у вас же он установлен, или я ошибаюсь?</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2011-06-14T12:11:22Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=187818#p187818</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Нужно настроить Web-сервер]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=187812#p187812" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>krasdok пишет:</cite><blockquote><p>Раньше Fedora Core 2 была там только httpd.conf правил, сейчас Fedora Core 13 тоже наверно также</p></blockquote></div><p>вы заблуждаетесь, совсем уже не так, в FC2 скорее всего был apache 1.3.x, а здесь уже 2.x структура каталога иная, как ставили apache? листинг каталога apache22 или httpd покажите</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2011-06-14T11:58:15Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=187812#p187812</id>
		</entry>
</feed>
