<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум PHP-MyAdmin.RU &mdash; Пожалуйста, помогите с ошибкой...]]></title>
	<link rel="self" href="https://forum.php-myadmin.ru/extern.php?action=feed&amp;tid=1093&amp;type=atom" />
	<updated>2009-02-18T09:32:05Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.php-myadmin.ru/viewtopic.php?id=1093</id>
		<entry>
			<title type="html"><![CDATA[Re: Пожалуйста, помогите с ошибкой...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=7146#p7146" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Hanut сказал:</cite><blockquote><p><strong>quake3</strong><br />Уберите внизу httpd.conf эти строки:<br />AddType application/x-httpd-php phtml php<br />&lt;Directory &quot;c:/php/&quot;&gt; <br />&nbsp; Options ExecCGI <br />&lt;/Directory&gt; <br />ScriptAlias &quot;/php_dir/&quot; &quot;c:/php/&quot; <br />Action application/x-httpd-php &quot;/php_dir/php.exe&quot;</p><p>Отредактируйте директиву таким образом:<br />DocumentRoot &quot;C:/apache&quot;</p><p>Ваш скрипт должен находиться внутри C:/apache.</p><p>Как указано в статье, заомментируйте блок начинающийся строкой:<br />&lt;Directory &quot;C:/Program Files/Apache Software Foundation/Apache2.2/htdocs&quot;&gt;<br />И заканчивающийся закрывающим блок тегом:<br />&lt;/Directory&gt;</p></blockquote></div><p>Спасибо большое.. Все заново переустановил с лупой и медленно. Все заработало.</p>]]></content>
			<author>
				<name><![CDATA[quake3]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=1554</uri>
			</author>
			<updated>2009-02-18T09:32:05Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=7146#p7146</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Пожалуйста, помогите с ошибкой...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=7143#p7143" />
			<content type="html"><![CDATA[<p><strong>quake3</strong><br />Уберите внизу httpd.conf эти строки:<br />AddType application/x-httpd-php phtml php<br />&lt;Directory &quot;c:/php/&quot;&gt; <br />&nbsp; Options ExecCGI <br />&lt;/Directory&gt; <br />ScriptAlias &quot;/php_dir/&quot; &quot;c:/php/&quot; <br />Action application/x-httpd-php &quot;/php_dir/php.exe&quot;</p><p>Отредактируйте директиву таким образом:<br />DocumentRoot &quot;C:/apache&quot;</p><p>Ваш скрипт должен находиться внутри C:/apache.</p><p>Как указано в статье, заомментируйте блок начинающийся строкой:<br />&lt;Directory &quot;C:/Program Files/Apache Software Foundation/Apache2.2/htdocs&quot;&gt;<br />И заканчивающийся закрывающим блок тегом:<br />&lt;/Directory&gt;</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2009-02-17T21:37:12Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=7143#p7143</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Пожалуйста, помогите с ошибкой...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=7140#p7140" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Hanut сказал:</cite><blockquote><p>Для начала проверьте в php.ini состояние этой директивы, она должна быть включена:<br />short_open_tag = On</p></blockquote></div><p>Да действительно.. Запустил phpinfo() глянул а там OFF ...Сменил..добился чтобы при phpinfo() выводилось On .. Перезапустил apache но все также как и было..</p>]]></content>
			<author>
				<name><![CDATA[quake3]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=1554</uri>
			</author>
			<updated>2009-02-17T14:08:02Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=7140#p7140</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Пожалуйста, помогите с ошибкой...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=7133#p7133" />
			<content type="html"><![CDATA[<p>Для начала проверьте в php.ini состояние этой директивы, она должна быть включена:<br />short_open_tag = On</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2009-02-17T13:19:16Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=7133#p7133</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Пожалуйста, помогите с ошибкой...]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=7128#p7128" />
			<content type="html"><![CDATA[<p>Добрый день всем.<br />Такая ситуация: Сделано 2 сайта <span style="color: #800000">на Denwere на локалхосте все норм работало</span>..Далее мне дали сервак на Windows server 2003 --&gt; Развернул я там mysqlserver 5.2, php-5.2.6-win32 , phpmyadmin 3.0.1&nbsp; ну и apache_2.2.11-win32-x86-no_ssl ... Настраивал все по &quot;Инструментарию Web-разработчика&quot; ---&gt; настроил все как сказано--&gt; первый сайт, сделаный на ждумле заработал как надо, а вот второй который ручками писал что-то не хочет.. При его открытии загружается только шапка (head.html), а вот далее не хочет. Вот код index.php - <br /><span style="color: #808080">&lt;html&gt;<br />&lt;frameset rows=99px,100%&quot; border=0&gt; <br />&nbsp; &lt;frame src=&quot;head.htm&quot; name=&quot;frame1&quot;&gt; <br />&lt;frameset cols=&quot;100%&quot;&gt;<br />&lt;?<br /> include(&quot;connect.inc&quot;);</span></p><p><span style="color: #808080"> $today = date(&#039;Y-m-d&#039;);</span></p><p><span style="color: #808080"> $result_id = mysql_query (&quot;SELECT data_publ FROM main where id_param=2 and data_publ=&#039;$today&#039; &quot;)<br />&nbsp; or exit (&quot;ЌҐ г¤ «®бм ®бгйҐбвўЁвм § Їа®б&quot;);<br /> $row = mysql_fetch_row ($result_id);</span></p><p><span style="color: #808080"> if ($row[0]==&#039;&#039;)<br /> {</span></p><p><span style="color: #808080">&nbsp; $result_id = mysql_query (&quot;SELECT data_publ FROM main where id_param=2 order by data_publ desc&quot;)<br />&nbsp; &nbsp;or exit (&quot;ЌҐ г¤ «®бм ®бгйҐбвўЁвм § Їа®б&quot;);<br />&nbsp; $row = mysql_fetch_row ($result_id);</span></p><p><span style="color: #808080"> }<br />&nbsp; $tm=time();<br />&nbsp; $d=date(&#039;d&#039;)-1;<br />&nbsp; $d=$tm-(86400*$d);</span></p><p><span style="color: #808080">&nbsp; print(&quot;&lt;frame src=\&quot;left.php?$d;$row[0];All;2;;\&quot; name=&#039;frame2&#039;&gt;&quot;);<br />?&gt;<br />&lt;/frameset&gt; <br />&lt;/html&gt;</span></p><p>При принудительном запросе в броузере вывода основного файла php (left.php) выводит весь код просто в броузере.. В логах apache такая строка - <span style="color: #808080">[Tue Feb 17 00:08:01 2009] [error] [client 127.0.0.1] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /&quot;javascript:load(&#039;left.php?$d;$row[0];All;1;;&#039;)\\&quot; HTTP/1.1 to file, referer: <a href="http://office.micc/kalendar/left.php">http://office.micc/kalendar/left.php</a></span></p><p>При попытке в этой каше нажать на ссылку вывода чего-либо броузер выдает - <span style="color: #808080">Forbidden<br />You don&#039;t have permission to access /&quot;javascript:load(&#039;left.php on this server.</span></p><p>Вот весь httpd.conf:</p><p><span style="color: #666699">#<br /># This is the main Apache HTTP server configuration file.&nbsp; It contains the<br /># configuration directives that give the server its instructions.<br /># See &lt;URL:http://httpd.apache.org/docs/2.2&gt; for detailed information.<br /># In particular, see <br /># &lt;URL:http://httpd.apache.org/docs/2.2/mod/directives.html&gt;<br /># for a discussion of each configuration directive.<br />#<br /># Do NOT simply read the instructions in here without understanding<br /># what they do.&nbsp; They&#039;re here only as hints or reminders.&nbsp; If you are unsure<br /># consult the online docs. You have been warned.&nbsp; <br />#<br /># Configuration and logfile names: If the filenames you specify for many<br /># of the server&#039;s control files begin with &quot;/&quot; (or &quot;drive:/&quot; for Win32), the<br /># server will use that explicit path.&nbsp; If the filenames do *not* begin<br /># with &quot;/&quot;, the value of ServerRoot is prepended -- so &quot;logs/foo.log&quot;<br /># with ServerRoot set to &quot;C:/Program Files/Apache Software Foundation/Apache2.2&quot; will be interpreted by the<br /># server as &quot;C:/Program Files/Apache Software Foundation/Apache2.2/logs/foo.log&quot;.<br />#<br /># NOTE: Where filenames are specified, you must use forward slashes<br /># instead of backslashes (e.g., &quot;c:/apache&quot; instead of &quot;c:\apache&quot;).<br /># If a drive letter is omitted, the drive on which httpd.exe is located<br /># will be used by default.&nbsp; It is recommended that you always supply<br /># an explicit drive letter in absolute paths to avoid confusion.</span></p><p><span style="color: #666699">#<br /># ServerRoot: The top of the directory tree under which the server&#039;s<br /># configuration, error, and log files are kept.<br />#<br /># Do not add a slash at the end of the directory path.&nbsp; If you point<br /># ServerRoot at a non-local disk, be sure to point the LockFile directive<br /># at a local disk.&nbsp; If you wish to share the same ServerRoot for multiple<br /># httpd daemons, you will need to change at least LockFile and PidFile.<br />#<br />ServerRoot &quot;C:/Program Files/Apache Software Foundation/Apache2.2&quot;</span></p><p><span style="color: #666699">#<br /># Listen: Allows you to bind Apache to specific IP addresses and/or<br /># ports, instead of the default. See also the &lt;VirtualHost&gt;<br /># directive.<br />#<br /># Change this to Listen on specific IP addresses as shown below to <br /># prevent Apache from glomming onto all bound IP addresses.<br />#<br />#Listen 12.34.56.78:80<br />Listen 80</span></p><p><span style="color: #666699">#<br /># Dynamic Shared Object (DSO) Support<br />#<br /># To be able to use the functionality of a module which was built as a DSO you<br /># have to place corresponding `LoadModule&#039; lines at this location so the<br /># directives contained in it are actually available _before_ they are used.<br /># Statically compiled modules (those listed by `httpd -l&#039;) do not need<br /># to be loaded here.<br />#<br /># Example:<br /># LoadModule foo_module modules/mod_foo.so<br />#<br />LoadModule actions_module modules/mod_actions.so<br />LoadModule alias_module modules/mod_alias.so<br />LoadModule asis_module modules/mod_asis.so<br />LoadModule auth_basic_module modules/mod_auth_basic.so<br />#LoadModule auth_digest_module modules/mod_auth_digest.so<br />#LoadModule authn_alias_module modules/mod_authn_alias.so<br />#LoadModule authn_anon_module modules/mod_authn_anon.so<br />#LoadModule authn_dbd_module modules/mod_authn_dbd.so<br />#LoadModule authn_dbm_module modules/mod_authn_dbm.so<br />LoadModule authn_default_module modules/mod_authn_default.so<br />LoadModule authn_file_module modules/mod_authn_file.so<br />#LoadModule authnz_ldap_module modules/mod_authnz_ldap.so<br />#LoadModule authz_dbm_module modules/mod_authz_dbm.so<br />LoadModule authz_default_module modules/mod_authz_default.so<br />LoadModule authz_groupfile_module modules/mod_authz_groupfile.so<br />LoadModule authz_host_module modules/mod_authz_host.so<br />#LoadModule authz_owner_module modules/mod_authz_owner.so<br />LoadModule authz_user_module modules/mod_authz_user.so<br />LoadModule autoindex_module modules/mod_autoindex.so<br />#LoadModule cache_module modules/mod_cache.so<br />#LoadModule cern_meta_module modules/mod_cern_meta.so<br />LoadModule cgi_module modules/mod_cgi.so<br />#LoadModule charset_lite_module modules/mod_charset_lite.so<br />#LoadModule dav_module modules/mod_dav.so<br />#LoadModule dav_fs_module modules/mod_dav_fs.so<br />#LoadModule dav_lock_module modules/mod_dav_lock.so<br />#LoadModule dbd_module modules/mod_dbd.so<br />#LoadModule deflate_module modules/mod_deflate.so<br />LoadModule dir_module modules/mod_dir.so<br />#LoadModule disk_cache_module modules/mod_disk_cache.so<br />#LoadModule dumpio_module modules/mod_dumpio.so<br />LoadModule env_module modules/mod_env.so<br />#LoadModule expires_module modules/mod_expires.so<br />#LoadModule ext_filter_module modules/mod_ext_filter.so<br />#LoadModule file_cache_module modules/mod_file_cache.so<br />#LoadModule filter_module modules/mod_filter.so<br />#LoadModule headers_module modules/mod_headers.so<br />#LoadModule ident_module modules/mod_ident.so<br />#LoadModule imagemap_module modules/mod_imagemap.so<br />LoadModule include_module modules/mod_include.so<br />#LoadModule info_module modules/mod_info.so<br />LoadModule isapi_module modules/mod_isapi.so<br />#LoadModule ldap_module modules/mod_ldap.so<br />#LoadModule logio_module modules/mod_logio.so<br />LoadModule log_config_module modules/mod_log_config.so<br />#LoadModule log_forensic_module modules/mod_log_forensic.so<br />#LoadModule mem_cache_module modules/mod_mem_cache.so<br />LoadModule mime_module modules/mod_mime.so<br />#LoadModule mime_magic_module modules/mod_mime_magic.so<br />LoadModule negotiation_module modules/mod_negotiation.so<br />#LoadModule proxy_module modules/mod_proxy.so<br />#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so<br />#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so<br />#LoadModule proxy_connect_module modules/mod_proxy_connect.so<br />#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so<br />#LoadModule proxy_http_module modules/mod_proxy_http.so<br />LoadModule rewrite_module modules/mod_rewrite.so<br />LoadModule setenvif_module modules/mod_setenvif.so<br />#LoadModule speling_module modules/mod_speling.so<br />#LoadModule ssl_module modules/mod_ssl.so<br />#LoadModule status_module modules/mod_status.so<br />#LoadModule substitute_module modules/mod_substitute.so<br />#LoadModule unique_id_module modules/mod_unique_id.so<br />#LoadModule userdir_module modules/mod_userdir.so<br />#LoadModule usertrack_module modules/mod_usertrack.so<br />#LoadModule version_module modules/mod_version.so<br />#LoadModule vhost_alias_module modules/mod_vhost_alias.so<br />LoadModule php5_module &quot;C:/php/php5apache2_2.dll&quot;<br />PHPIniDir &quot;C:/php&quot;</span></p><p><span style="color: #666699">&lt;IfModule !mpm_netware_module&gt;<br />&lt;IfModule !mpm_winnt_module&gt;<br />#<br /># If you wish httpd to run as a different user or group, you must run<br /># httpd as root initially and it will switch.&nbsp; <br />#<br /># User/Group: The name (or #number) of the user/group to run httpd as.<br /># It is usually good practice to create a dedicated user and group for<br /># running httpd, as with most system services.<br />#<br />User daemon<br />Group daemon</span></p><p><span style="color: #666699">&lt;/IfModule&gt;<br />&lt;/IfModule&gt;</span></p><p><span style="color: #666699"># &#039;Main&#039; server configuration<br />#<br /># The directives in this section set up the values used by the &#039;main&#039;<br /># server, which responds to any requests that aren&#039;t handled by a<br /># &lt;VirtualHost&gt; definition.&nbsp; These values also provide defaults for<br /># any &lt;VirtualHost&gt; containers you may define later in the file.<br />#<br /># All of these directives may appear inside &lt;VirtualHost&gt; containers,<br /># in which case these default settings will be overridden for the<br /># virtual host being defined.<br />#</span></p><p><span style="color: #666699">#<br /># ServerAdmin: Your address, where problems with the server should be<br /># e-mailed.&nbsp; This address appears on some server-generated pages, such<br /># as error documents.&nbsp; e.g. admin@your-domain.com<br />#<br />ServerAdmin admin@office.MICC</span></p><p><span style="color: #666699">#<br /># ServerName gives the name and port that the server uses to identify itself.<br /># This can often be determined automatically, but we recommend you specify<br /># it explicitly to prevent problems during startup.<br />#<br /># If your host doesn&#039;t have a registered DNS name, enter its IP address here.<br />#<br />#ServerName office.MICC:80</span></p><p><span style="color: #666699">#<br /># DocumentRoot: The directory out of which you will serve your<br /># documents. By default, all requests are taken from this directory, but<br /># symbolic links and aliases may be used to point to other locations.<br />#<br />DocumentRoot &quot;C:/apache/office.micc/www&quot;</span></p><p><span style="color: #666699">#<br /># Each directory to which Apache has access can be configured with respect<br /># to which services and features are allowed and/or disabled in that<br /># directory (and its subdirectories). <br />#<br /># First, we configure the &quot;default&quot; to be a very restrictive set of <br /># features.&nbsp; <br />#<br />&lt;Directory /&gt;<br />Options Includes Indexes FollowSymLinks<br />AllowOverride All<br />Allow from all<br />&lt;/Directory&gt;</span></p><p><span style="color: #666699">#<br /># Note that from this point forward you must specifically allow<br /># particular features to be enabled - so if something&#039;s not working as<br /># you might expect, make sure that you have specifically enabled it<br /># below.<br />#</span></p><p><span style="color: #666699">#<br /># This should be changed to whatever you set DocumentRoot to.<br />#<br />&lt;Directory &quot;C:/Program Files/Apache Software Foundation/Apache2.2/htdocs&quot;&gt;<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; # Possible values for the Options directive are &quot;None&quot;, &quot;All&quot;,<br />&nbsp; &nbsp; # or any combination of:<br />&nbsp; &nbsp; #&nbsp; &nbsp;Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; # Note that &quot;MultiViews&quot; must be named *explicitly* --- &quot;Options All&quot;<br />&nbsp; &nbsp; # doesn&#039;t give it to you.<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; # The Options directive is both complicated and important.&nbsp; Please see<br />&nbsp; &nbsp; # <a href="http://httpd.apache.org/docs/2.2/mod/core.html#options">http://httpd.apache.org/docs/2.2/mod/core.html#options</a><br />&nbsp; &nbsp; # for more information.<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; Options Indexes FollowSymLinks</span></p><p><span style="color: #666699">&nbsp; &nbsp; #<br />&nbsp; &nbsp; # AllowOverride controls what directives may be placed in .htaccess files.<br />&nbsp; &nbsp; # It can be &quot;All&quot;, &quot;None&quot;, or any combination of the keywords:<br />&nbsp; &nbsp; #&nbsp; &nbsp;Options FileInfo AuthConfig Limit<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; AllowOverride None</span></p><p><span style="color: #666699">&nbsp; &nbsp; #<br />&nbsp; &nbsp; # Controls who can get stuff from this server.<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; Order allow,deny<br />&nbsp; &nbsp; Allow from all</span></p><p><span style="color: #666699">&lt;/Directory&gt;</span></p><p><span style="color: #666699">#<br /># DirectoryIndex: sets the file that Apache will serve if a directory<br /># is requested.<br />#<br />&lt;IfModule dir_module&gt;<br />DirectoryIndex index.php index.html index.htm index.shtml<br />&lt;/IfModule&gt;</span></p><p><span style="color: #666699">#<br /># The following lines prevent .htaccess and .htpasswd files from being <br /># viewed by Web clients. <br />#<br />&lt;FilesMatch &quot;^\.ht&quot;&gt;<br />&nbsp; &nbsp; Order allow,deny<br />&nbsp; &nbsp; Deny from all<br />&nbsp; &nbsp; Satisfy All<br />&lt;/FilesMatch&gt;</span></p><p><span style="color: #666699">#<br /># ErrorLog: The location of the error log file.<br /># If you do not specify an ErrorLog directive within a &lt;VirtualHost&gt;<br /># container, error messages relating to that virtual host will be<br /># logged here.&nbsp; If you *do* define an error logfile for a &lt;VirtualHost&gt;<br /># container, that host&#039;s errors will be logged there and not here.<br />#<br />ErrorLog &quot;C:/apache/error.log&quot;</span></p><p><span style="color: #666699">#<br /># LogLevel: Control the number of messages logged to the error_log.<br /># Possible values include: debug, info, notice, warn, error, crit,<br /># alert, emerg.<br />#<br />LogLevel warn</span></p><p><span style="color: #666699">&lt;IfModule log_config_module&gt;<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; # The following directives define some format nicknames for use with<br />&nbsp; &nbsp; # a CustomLog directive (see below).<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b \&quot;%{Referer}i\&quot; \&quot;%{User-Agent}i\&quot;&quot; combined<br />&nbsp; &nbsp; LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b&quot; common</span></p><p><span style="color: #666699">&nbsp; &nbsp; &lt;IfModule logio_module&gt;<br />&nbsp; &nbsp; &nbsp; # You need to enable mod_logio.c to use %I and %O<br />&nbsp; &nbsp; &nbsp; 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<br />&nbsp; &nbsp; &lt;/IfModule&gt;</span></p><p><span style="color: #666699">&nbsp; &nbsp; #<br />&nbsp; &nbsp; # The location and format of the access logfile (Common Logfile Format).<br />&nbsp; &nbsp; # If you do not define any access logfiles within a &lt;VirtualHost&gt;<br />&nbsp; &nbsp; # container, they will be logged here.&nbsp; Contrariwise, if you *do*<br />&nbsp; &nbsp; # define per-&lt;VirtualHost&gt; access logfiles, transactions will be<br />&nbsp; &nbsp; # logged therein and *not* in this file.<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; CustomLog &quot;C:/apache/access.log&quot; common</span></p><p><span style="color: #666699">&nbsp; &nbsp; #<br />&nbsp; &nbsp; # If you prefer a logfile with access, agent, and referer information<br />&nbsp; &nbsp; # (Combined Logfile Format) you can use the following directive.<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; #CustomLog &quot;logs/access.log&quot; combined<br />&lt;/IfModule&gt;</span></p><p><span style="color: #666699">&lt;IfModule alias_module&gt;<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; # Redirect: Allows you to tell clients about documents that used to <br />&nbsp; &nbsp; # exist in your server&#039;s namespace, but do not anymore. The client <br />&nbsp; &nbsp; # will make a new request for the document at its new location.<br />&nbsp; &nbsp; # Example:<br />&nbsp; &nbsp; # Redirect permanent /foo <a href="http://office.MICC/bar">http://office.MICC/bar</a></span></p><p><span style="color: #666699">&nbsp; &nbsp; #<br />&nbsp; &nbsp; # Alias: Maps web paths into filesystem paths and is used to<br />&nbsp; &nbsp; # access content that does not live under the DocumentRoot.<br />&nbsp; &nbsp; # Example:<br />&nbsp; &nbsp; # Alias /webpath /full/filesystem/path<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; # If you include a trailing / on /webpath then the server will<br />&nbsp; &nbsp; # require it to be present in the URL.&nbsp; You will also likely<br />&nbsp; &nbsp; # need to provide a &lt;Directory&gt; section to allow access to<br />&nbsp; &nbsp; # the filesystem path.</span></p><p><span style="color: #666699">&nbsp; &nbsp; #<br />&nbsp; &nbsp; # ScriptAlias: This controls which directories contain server scripts. <br />&nbsp; &nbsp; # ScriptAliases are essentially the same as Aliases, except that<br />&nbsp; &nbsp; # documents in the target directory are treated as applications and<br />&nbsp; &nbsp; # run by the server when requested rather than as documents sent to the<br />&nbsp; &nbsp; # client.&nbsp; The same rules about trailing &quot;/&quot; apply to ScriptAlias<br />&nbsp; &nbsp; # directives as to Alias.<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; ScriptAlias /cgi-bin/ &quot;C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/&quot;<br />Alias /pma &quot;C:/apache/office.micc/www/phpmyadmin&quot;<br />&lt;/IfModule&gt;</span></p><p><span style="color: #666699">&lt;IfModule cgid_module&gt;<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; # ScriptSock: On threaded servers, designate the path to the UNIX<br />&nbsp; &nbsp; # socket used to communicate with the CGI daemon of mod_cgid.<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; #Scriptsock logs/cgisock<br />&lt;/IfModule&gt;</span></p><p><span style="color: #666699">#<br /># &quot;C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin&quot; should be changed to whatever your ScriptAliased<br /># CGI directory exists, if you have that configured.<br />#<br />&lt;Directory &quot;C:/Program Files/Apache Software Foundation/Apache2.2/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;</span></p><p><span style="color: #666699">#<br /># DefaultType: the default MIME type the server will use for a document<br /># if it cannot otherwise determine one, such as from filename extensions.<br /># If your server contains mostly text or HTML documents, &quot;text/plain&quot; is<br /># a good value.&nbsp; If most of your content is binary, such as applications<br /># or images, you may want to use &quot;application/octet-stream&quot; instead to<br /># keep browsers from trying to display binary files as though they are<br /># text.<br />#<br />DefaultType text/plain</span></p><p><span style="color: #666699">&lt;IfModule mime_module&gt;<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; # TypesConfig points to the file containing the list of mappings from<br />&nbsp; &nbsp; # filename extension to MIME-type.<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; TypesConfig conf/mime.types</span></p><p><span style="color: #666699">&nbsp; &nbsp; #<br />&nbsp; &nbsp; # AddType allows you to add to or override the MIME configuration<br />&nbsp; &nbsp; # file specified in TypesConfig for specific file types.<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; #AddType application/x-gzip .tgz<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; # AddEncoding allows you to have certain browsers uncompress<br />&nbsp; &nbsp; # information on the fly. Note: Not all browsers support this.<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; #AddEncoding x-compress .Z<br />&nbsp; &nbsp; #AddEncoding x-gzip .gz .tgz<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; # If the AddEncoding directives above are commented-out, then you<br />&nbsp; &nbsp; # probably should define those extensions to indicate media types:<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; AddType application/x-compress .Z<br />&nbsp; &nbsp; AddType application/x-gzip .gz .tgz</span></p><p><span style="color: #666699">&nbsp; &nbsp; #<br />&nbsp; &nbsp; # AddHandler allows you to map certain file extensions to &quot;handlers&quot;:<br />&nbsp; &nbsp; # actions unrelated to filetype. These can be either built into the server<br />&nbsp; &nbsp; # or added with the Action directive (see below)<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; # To use CGI scripts outside of ScriptAliased directories:<br />&nbsp; &nbsp; # (You will also need to add &quot;ExecCGI&quot; to the &quot;Options&quot; directive.)<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; #AddHandler cgi-script .cgi</span></p><p><span style="color: #666699">&nbsp; &nbsp; # For type maps (negotiated resources):<br />&nbsp; &nbsp; #AddHandler type-map var</span></p><p><span style="color: #666699">&nbsp; &nbsp; #<br />&nbsp; &nbsp; # Filters allow you to process content before it is sent to the client.<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; # To parse .shtml files for server-side includes (SSI):<br />&nbsp; &nbsp; # (You will also need to add &quot;Includes&quot; to the &quot;Options&quot; directive.)<br />&nbsp; &nbsp; #<br />&nbsp; &nbsp; AddType text/html .shtml<br />&nbsp; &nbsp; AddOutputFilter INCLUDES .shtml<br />&nbsp; &nbsp; AddType application/x-httpd-php .php<br />&nbsp; &nbsp; AddType application/x-httpd-php-source .phps<br />&lt;/IfModule&gt;</span></p><p><span style="color: #666699">#<br /># The mod_mime_magic module allows the server to use various hints from the<br /># contents of the file itself to determine its type.&nbsp; The MIMEMagicFile<br /># directive tells the module where the hint definitions are located.<br />#<br />#MIMEMagicFile conf/magic</span></p><p><span style="color: #666699">#<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://office.MICC/subscription_info.html">http://office.MICC/subscription_info.html</a><br />#</span></p><p><span style="color: #666699">#<br /># EnableMMAP and EnableSendfile: On systems that support it, <br /># memory-mapping or the sendfile syscall is used to deliver<br /># files.&nbsp; This usually improves server performance, but must<br /># be turned off when serving from networked-mounted <br /># filesystems or if support for these functions is otherwise<br /># broken on your system.<br />#<br />#EnableMMAP off<br />#EnableSendfile off</span></p><p><span style="color: #666699"># Supplemental configuration<br />#<br /># The configuration files in the conf/extra/ directory can be <br /># included to add extra features or to modify the default configuration of <br /># the server, or you may simply copy their contents here and change as <br /># necessary.</span></p><p><span style="color: #666699"># Server-pool management (MPM specific)<br />#Include conf/extra/httpd-mpm.conf</span></p><p><span style="color: #666699"># Multi-language error messages<br />#Include conf/extra/httpd-multilang-errordoc.conf</span></p><p><span style="color: #666699"># Fancy directory listings<br />Include conf/extra/httpd-autoindex.conf</span></p><p><span style="color: #666699"># Language settings<br />#Include conf/extra/httpd-languages.conf</span></p><p><span style="color: #666699"># User home directories<br />#Include conf/extra/httpd-userdir.conf</span></p><p><span style="color: #666699"># Real-time info on requests and configuration<br />#Include conf/extra/httpd-info.conf</span></p><p><span style="color: #666699"># Virtual hosts<br />Include conf/extra/httpd-vhosts.conf</span></p><p><span style="color: #666699"># Local access to the Apache HTTP Server Manual<br />Include conf/extra/httpd-manual.conf</span></p><p><span style="color: #666699"># Distributed authoring and versioning (WebDAV)<br />#Include conf/extra/httpd-dav.conf</span></p><p><span style="color: #666699"># Various default settings<br />Include conf/extra/httpd-default.conf</span></p><p><span style="color: #666699"># Secure (SSL/TLS) connections<br />#Include conf/extra/httpd-ssl.conf<br />#<br /># Note: The following must must be present to support<br />#&nbsp; &nbsp; &nbsp; &nbsp;starting without SSL on platforms with no /dev/random equivalent<br />#&nbsp; &nbsp; &nbsp; &nbsp;but a statically compiled-in mod_ssl.<br />#<br />&lt;IfModule ssl_module&gt;<br />SSLRandomSeed startup builtin<br />SSLRandomSeed connect builtin<br />&lt;/IfModule&gt;</span></p><p><span style="color: #666699">AddType application/x-httpd-php phtml php <br />&lt;Directory &quot;c:/php/&quot;&gt;&nbsp; <br />&nbsp; Options ExecCGI&nbsp; <br />&lt;/Directory&gt;&nbsp; <br />ScriptAlias &quot;/php_dir/&quot; &quot;c:/php/&quot;&nbsp; <br />Action application/x-httpd-php &quot;/php_dir/php.exe&quot;</span></p>]]></content>
			<author>
				<name><![CDATA[quake3]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=1554</uri>
			</author>
			<updated>2009-02-17T08:50:17Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=7128#p7128</id>
		</entry>
</feed>
