Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
apache2-doc /
manual /
tr /
mod /
Delete
Unzip
Name
Size
Permission
Date
Action
core.html
286.18
KB
-rw-r--r--
2022-03-18 13:54
directive-dict.html
18.88
KB
-rw-r--r--
2022-03-18 13:54
directives.html
51.83
KB
-rw-r--r--
2022-03-18 13:54
event.html
28.69
KB
-rw-r--r--
2022-03-18 13:54
index.html
22.65
KB
-rw-r--r--
2022-03-18 13:54
mod_access_compat.html
28.37
KB
-rw-r--r--
2022-03-18 13:54
mod_actions.html
12.68
KB
-rw-r--r--
2022-03-18 13:54
mod_alias.html
39.32
KB
-rw-r--r--
2022-03-18 13:54
mod_allowmethods.html
7.91
KB
-rw-r--r--
2022-03-18 13:54
mod_asis.html
8.84
KB
-rw-r--r--
2022-03-18 13:54
mod_auth_basic.html
19.64
KB
-rw-r--r--
2022-03-18 13:54
mod_auth_digest.html
20.09
KB
-rw-r--r--
2022-03-18 13:54
mod_auth_form.html
50.41
KB
-rw-r--r--
2022-03-18 13:54
mod_authn_anon.html
16.47
KB
-rw-r--r--
2022-03-18 13:54
mod_authn_core.html
16
KB
-rw-r--r--
2022-03-18 13:54
mod_authn_dbd.html
15.46
KB
-rw-r--r--
2022-03-18 13:54
mod_authn_dbm.html
12.64
KB
-rw-r--r--
2022-03-18 13:54
mod_authn_file.html
11.37
KB
-rw-r--r--
2022-03-18 13:54
mod_authn_socache.html
18.73
KB
-rw-r--r--
2022-03-18 13:54
mod_authnz_fcgi.html
26.73
KB
-rw-r--r--
2022-03-18 13:54
mod_authnz_ldap.html
83.89
KB
-rw-r--r--
2022-03-18 13:54
mod_authz_core.html
36.19
KB
-rw-r--r--
2022-03-18 13:54
mod_authz_dbd.html
18.2
KB
-rw-r--r--
2022-03-18 13:54
mod_authz_dbm.html
12.82
KB
-rw-r--r--
2022-03-18 13:54
mod_authz_groupfile.html
10.36
KB
-rw-r--r--
2022-03-18 13:54
mod_authz_host.html
13.2
KB
-rw-r--r--
2022-03-18 13:54
mod_authz_owner.html
11.24
KB
-rw-r--r--
2022-03-18 13:54
mod_authz_user.html
8.05
KB
-rw-r--r--
2022-03-18 13:54
mod_autoindex.html
65.66
KB
-rw-r--r--
2022-03-18 13:54
mod_buffer.html
9
KB
-rw-r--r--
2022-03-18 13:54
mod_cache.html
68.07
KB
-rw-r--r--
2022-03-18 13:54
mod_cache_disk.html
20.08
KB
-rw-r--r--
2022-03-18 13:54
mod_cache_socache.html
18.16
KB
-rw-r--r--
2022-03-18 13:54
mod_cern_meta.html
10.95
KB
-rw-r--r--
2022-03-18 13:54
mod_cgi.html
18.39
KB
-rw-r--r--
2022-03-18 13:54
mod_cgid.html
11.5
KB
-rw-r--r--
2022-03-18 13:54
mod_charset_lite.html
15.31
KB
-rw-r--r--
2022-03-18 13:54
mod_data.html
7.42
KB
-rw-r--r--
2022-03-18 13:54
mod_dav.html
17.9
KB
-rw-r--r--
2022-03-18 13:54
mod_dav_fs.html
9.13
KB
-rw-r--r--
2022-03-18 13:54
mod_dav_lock.html
9.7
KB
-rw-r--r--
2022-03-18 13:54
mod_dbd.html
24.72
KB
-rw-r--r--
2022-03-18 13:54
mod_deflate.html
28.42
KB
-rw-r--r--
2022-03-18 13:54
mod_dialup.html
7.43
KB
-rw-r--r--
2022-03-18 13:54
mod_dir.html
23.23
KB
-rw-r--r--
2022-03-18 13:54
mod_dumpio.html
9.57
KB
-rw-r--r--
2022-03-18 13:54
mod_echo.html
7.39
KB
-rw-r--r--
2022-03-18 13:54
mod_env.html
11.68
KB
-rw-r--r--
2022-03-18 13:54
mod_example_hooks.html
11.15
KB
-rw-r--r--
2022-03-18 13:54
mod_expires.html
16.68
KB
-rw-r--r--
2022-03-18 13:54
mod_ext_filter.html
18.18
KB
-rw-r--r--
2022-03-18 13:54
mod_file_cache.html
15.36
KB
-rw-r--r--
2022-03-18 13:54
mod_filter.html
31.22
KB
-rw-r--r--
2022-03-18 13:54
mod_headers.html
32.33
KB
-rw-r--r--
2022-03-18 13:54
mod_heartbeat.html
9.49
KB
-rw-r--r--
2022-03-18 13:54
mod_heartmonitor.html
11.59
KB
-rw-r--r--
2022-03-18 13:54
mod_http2.html
61.84
KB
-rw-r--r--
2022-03-18 13:54
mod_ident.html
9.89
KB
-rw-r--r--
2022-03-18 13:54
mod_imagemap.html
21.2
KB
-rw-r--r--
2022-03-18 13:54
mod_include.html
59.45
KB
-rw-r--r--
2022-03-18 13:54
mod_info.html
14.38
KB
-rw-r--r--
2022-03-18 13:54
mod_isapi.html
23.44
KB
-rw-r--r--
2022-03-18 13:54
mod_lbmethod_bybusyness.html
7.79
KB
-rw-r--r--
2022-03-18 13:54
mod_lbmethod_byrequests.html
12.48
KB
-rw-r--r--
2022-03-18 13:54
mod_lbmethod_bytraffic.html
8.14
KB
-rw-r--r--
2022-03-18 13:54
mod_lbmethod_heartbeat.html
8.21
KB
-rw-r--r--
2022-03-18 13:54
mod_ldap.html
51.78
KB
-rw-r--r--
2022-03-18 13:54
mod_log_config.html
37.06
KB
-rw-r--r--
2022-03-18 13:54
mod_log_debug.html
10.05
KB
-rw-r--r--
2022-03-18 13:54
mod_log_forensic.html
13.21
KB
-rw-r--r--
2022-03-18 13:54
mod_logio.html
10.56
KB
-rw-r--r--
2022-03-18 13:54
mod_lua.html
89.69
KB
-rw-r--r--
2022-03-18 13:54
mod_macro.html
14.99
KB
-rw-r--r--
2022-03-18 13:54
mod_mime.html
64.69
KB
-rw-r--r--
2022-03-18 13:54
mod_mime_magic.html
16.63
KB
-rw-r--r--
2022-03-18 13:54
mod_negotiation.html
21.33
KB
-rw-r--r--
2022-03-18 13:54
mod_nw_ssl.html
9.45
KB
-rw-r--r--
2022-03-18 13:54
mod_privileges.html
29.34
KB
-rw-r--r--
2022-03-18 13:54
mod_proxy.html
117.91
KB
-rw-r--r--
2022-03-18 13:54
mod_proxy_ajp.html
30.8
KB
-rw-r--r--
2022-03-18 13:54
mod_proxy_balancer.html
22.08
KB
-rw-r--r--
2022-03-18 13:54
mod_proxy_connect.html
10
KB
-rw-r--r--
2022-03-18 13:54
mod_proxy_express.html
13.17
KB
-rw-r--r--
2022-03-18 13:54
mod_proxy_fcgi.html
14.27
KB
-rw-r--r--
2022-03-18 13:54
mod_proxy_fdpass.html
7.42
KB
-rw-r--r--
2022-03-18 13:54
mod_proxy_ftp.html
18.08
KB
-rw-r--r--
2022-03-18 13:54
mod_proxy_hcheck.html
16.09
KB
-rw-r--r--
2022-03-18 13:54
mod_proxy_html.html
32.9
KB
-rw-r--r--
2022-03-18 13:54
mod_proxy_http.html
11.77
KB
-rw-r--r--
2022-03-18 13:54
mod_proxy_http2.html
9.19
KB
-rw-r--r--
2022-03-18 13:54
mod_proxy_scgi.html
14.58
KB
-rw-r--r--
2022-03-18 13:54
mod_proxy_wstunnel.html
6.72
KB
-rw-r--r--
2022-03-18 13:54
mod_ratelimit.html
6.9
KB
-rw-r--r--
2022-03-18 13:54
mod_reflector.html
8.47
KB
-rw-r--r--
2022-03-18 13:54
mod_remoteip.html
21.47
KB
-rw-r--r--
2022-03-18 13:54
mod_reqtimeout.html
11.6
KB
-rw-r--r--
2022-03-18 13:54
mod_request.html
9.62
KB
-rw-r--r--
2022-03-18 13:54
mod_rewrite.html
73.57
KB
-rw-r--r--
2022-03-18 13:54
mod_sed.html
11.85
KB
-rw-r--r--
2022-03-18 13:54
mod_session.html
32.41
KB
-rw-r--r--
2022-03-18 13:54
mod_session_cookie.html
13.66
KB
-rw-r--r--
2022-03-18 13:54
mod_session_crypto.html
17.74
KB
-rw-r--r--
2022-03-18 13:54
mod_session_dbd.html
25.07
KB
-rw-r--r--
2022-03-18 13:54
mod_setenvif.html
22.14
KB
-rw-r--r--
2022-03-18 13:54
mod_slotmem_plain.html
8.16
KB
-rw-r--r--
2022-03-18 13:54
mod_slotmem_shm.html
8.95
KB
-rw-r--r--
2022-03-18 13:54
mod_so.html
14.96
KB
-rw-r--r--
2022-03-18 13:54
mod_socache_dbm.html
6.09
KB
-rw-r--r--
2022-03-18 13:54
mod_socache_dc.html
6.14
KB
-rw-r--r--
2022-03-18 13:54
mod_socache_memcache.html
8.59
KB
-rw-r--r--
2022-03-18 13:54
mod_socache_shmcb.html
6.17
KB
-rw-r--r--
2022-03-18 13:54
mod_speling.html
10.87
KB
-rw-r--r--
2022-03-18 13:54
mod_ssl.html
176.86
KB
-rw-r--r--
2022-03-18 13:54
mod_status.html
12.61
KB
-rw-r--r--
2022-03-18 13:54
mod_substitute.html
14.21
KB
-rw-r--r--
2022-03-18 13:54
mod_suexec.html
8.26
KB
-rw-r--r--
2022-03-18 13:54
mod_unique_id.html
15.09
KB
-rw-r--r--
2022-03-18 13:54
mod_unixd.html
14.29
KB
-rw-r--r--
2022-03-18 13:54
mod_userdir.html
12.62
KB
-rw-r--r--
2022-03-18 13:54
mod_usertrack.html
15.23
KB
-rw-r--r--
2022-03-18 13:54
mod_version.html
10.07
KB
-rw-r--r--
2022-03-18 13:54
mod_vhost_alias.html
21.46
KB
-rw-r--r--
2022-03-18 13:54
mod_watchdog.html
7.59
KB
-rw-r--r--
2022-03-18 13:54
mod_xml2enc.html
15.42
KB
-rw-r--r--
2022-03-18 13:54
module-dict.html
9.39
KB
-rw-r--r--
2022-03-18 13:54
mpm_common.html
67.16
KB
-rw-r--r--
2022-03-18 13:54
mpm_netware.html
10.02
KB
-rw-r--r--
2022-03-18 13:54
mpm_winnt.html
10.82
KB
-rw-r--r--
2022-03-18 13:54
mpmt_os2.html
7.74
KB
-rw-r--r--
2022-03-18 13:54
prefork.html
16.85
KB
-rw-r--r--
2022-03-18 13:54
quickreference.html
173.1
KB
-rw-r--r--
2022-03-18 13:54
worker.html
16.13
KB
-rw-r--r--
2022-03-18 13:54
Save
Rename
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="tr" xml:lang="tr"><head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> <!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> <title>mod_setenvif - Apache HTTP Sunucusu Sürüm 2.4</title> <link href="../../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> <link href="../../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> <link href="../../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="../../style/css/prettify.css" /> <script src="../../style/scripts/prettify.min.js" type="text/javascript"> </script> <link href="../../images/favicon.ico" rel="shortcut icon" /></head> <body> <div id="page-header"> <p class="menu"><a href="../mod/index.html">Modüller</a> | <a href="../mod/directives.html">Yönergeler</a> | <a href="http://wiki.apache.org/httpd/FAQ">SSS</a> | <a href="../glossary.html">Terimler</a> | <a href="../sitemap.html">Site Haritası</a></p> <p class="apache">Apache HTTP Sunucusu Sürüm 2.4</p> <img alt="" src="../../images/feather.png" /></div> <div class="up"><a href="./index.html"><img title="<-" alt="<-" src="../../images/left.gif" /></a></div> <div id="path"> <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Sunucusu</a> > <a href="http://httpd.apache.org/docs/">Belgeleme</a> > <a href="../index.html">Sürüm 2.4</a> > <a href="./index.html">Modüller</a></div> <div id="page-content"> <div id="preamble"><h1>Apache Modülü mod_setenvif</h1> <div class="toplang"> <p><span>Mevcut Diller: </span><a href="../../en/mod/mod_setenvif.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../../fr/mod/mod_setenvif.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | <a href="../../ja/mod/mod_setenvif.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | <a href="../../ko/mod/mod_setenvif.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | <a href="../../tr/mod/mod_setenvif.html" title="Türkçe"> tr </a></p> </div> <table class="module"><tr><th><a href="module-dict.html#Description">Açıklama:</a></th><td>Ortam değişkenlerinin isteğin özelliklerine uygun olarak atanmasını sağlar</td></tr> <tr><th><a href="module-dict.html#Status">Durum:</a></th><td>Temel</td></tr> <tr><th><a href="module-dict.html#ModuleIdentifier">Modül Betimleyici:</a></th><td>setenvif_module</td></tr> <tr><th><a href="module-dict.html#SourceFile">Kaynak Dosyası:</a></th><td>mod_setenvif.c</td></tr></table> <h3>Özet</h3> <p><code class="module"><a href="../mod/mod_setenvif.html">mod_setenvif</a></code> modülü dahili ortam değişkenlerinin isteğin farklı bileşenlerinin belirttiğiniz düzenli ifade ile eşleşmesine bağlı olarak atanmasını mümkün kılar. Bu ortam değişkenleri sunucunun çeşitli kısımlarında yapılacak eylemlerin yanında CGI betiklerinde ve SSI sayfalarında kullanılabilir hale gelmelerine karar verilirken kullanılır.</p> <p>Yönergeler yapılandırma dosyasında yer aldıkları sıraya göre ele alınırlar. Böylece daha karmaşık dizilimler kullanılabilir, bu örnekteki tarayıcı Mozilla ise <code>netscape</code> ortam değişkeni atanmakta, MSIE ise atanmamaktadır.</p> <pre class="prettyprint lang-config">BrowserMatch ^Mozilla netscape BrowserMatch MSIE !netscape</pre> <p><code class="module"><a href="../mod/mod_autoindex.html">mod_autoindex</a></code> ile dizin listesi oluşturulması veya bir <code class="directive"><a href="../mod/mod_dir.html#directoryindex">DirectoryIndex</a></code> için yol aranması gibi bir dahili <a class="glossarylink" href="../glossary.html#subrequest" title="sözlüğe bakınız">alt istek</a> için sunucu yol araması yaparken isteklere özgü ortam değişkenleri alt istekler tarafından miras alınMAZ. Buna ek olarak, <code class="module"><a href="../mod/mod_setenvif.html">mod_setenvif</a></code> modülünün devreye girdiği API fazlarından dolayı yapılan alt isteklerde <code class="directive"><a href="#setenvif">SetEnvIf</a></code> yönergeleri ayrı ayrı değerlendirilMEZ.</p> </div> <div id="quickview"><h3 class="directives">Yönergeler</h3> <ul id="toc"> <li><img alt="" src="../../images/down.gif" /> <a href="#browsermatch">BrowserMatch</a></li> <li><img alt="" src="../../images/down.gif" /> <a href="#browsermatchnocase">BrowserMatchNoCase</a></li> <li><img alt="" src="../../images/down.gif" /> <a href="#setenvif">SetEnvIf</a></li> <li><img alt="" src="../../images/down.gif" /> <a href="#setenvifexpr">SetEnvIfExpr</a></li> <li><img alt="" src="../../images/down.gif" /> <a href="#setenvifnocase">SetEnvIfNoCase</a></li> </ul> <h3>Bugfix checklist</h3><ul class="seealso"><li><a href="https://www.apache.org/dist/httpd/CHANGES_2.4">httpd changelog</a></li><li><a href="https://bz.apache.org/bugzilla/buglist.cgi?bug_status=__open__&list_id=144532&product=Apache%20httpd-2&query_format=specific&order=changeddate%20DESC%2Cpriority%2Cbug_severity&component=mod_setenvif">Known issues</a></li><li><a href="https://bz.apache.org/bugzilla/enter_bug.cgi?product=Apache%20httpd-2&component=mod_setenvif">Report a bug</a></li></ul><h3>Ayrıca bakınız:</h3> <ul class="seealso"> <li><a href="../env.html">Apache HTTP Sunucusundaki Ortam Değişkenleri</a></li> <li><a href="#comments_section">Yorum</a></li></ul></div> <div class="top"><a href="#page-header"><img alt="top" src="../../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="BrowserMatch" id="BrowserMatch">BrowserMatch</a> <a name="browsermatch" id="browsermatch">Yönergesi</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">Açıklama:</a></th><td>Ortam değişkenlerini HTTP kullanıcı arayüzüne göre belirler. </td></tr> <tr><th><a href="directive-dict.html#Syntax">Sözdizimi:</a></th><td><code>BrowserMatch <em>düzifd [!]ort-değişkeni</em>[=<em>değer</em>] [[!]<em>ort-değişkeni</em>[=<em>değer</em>]] ...</code></td></tr> <tr><th><a href="directive-dict.html#Context">Bağlam:</a></th><td>sunucu geneli, sanal konak, dizin, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">Geçersizleştirme:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">Durum:</a></th><td>Temel</td></tr> <tr><th><a href="directive-dict.html#Module">Modül:</a></th><td>mod_setenvif</td></tr> </table> <p><code class="directive">BrowserMatch</code> yönergesi <code class="directive"><a href="#setenvif">SetEnvIf</a></code> yönergesinin özel bir halidir ve ortam değişkenlerine <code>User-Agent</code> HTTP istek başlığının değerine göre atama yapar. Aşağıdaki iki satır aynı etkiye sahiptir:</p> <pre class="prettyprint lang-config">BrowserMatch Robot is_a_robot SetEnvIf User-Agent Robot is_a_robot</pre> <p>Başka örnekler:</p> <pre class="prettyprint lang-config">BrowserMatch ^Mozilla forms jpeg=yes browser=netscape BrowserMatch "^Mozilla/[2-3]" tables agif frames javascript BrowserMatch MSIE !javascript</pre> </div> <div class="top"><a href="#page-header"><img alt="top" src="../../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="BrowserMatchNoCase" id="BrowserMatchNoCase">BrowserMatchNoCase</a> <a name="browsermatchnocase" id="browsermatchnocase">Yönergesi</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">Açıklama:</a></th><td>Ortam değişkenlerini HTTP kullanıcı arayüzünün harf büyüklüğüne duyarsız eşleşmelerine bağlı olarak belirler.</td></tr> <tr><th><a href="directive-dict.html#Syntax">Sözdizimi:</a></th><td><code>BrowserMatchNoCase <em>düzifd [!]ort-değişkeni</em>[=<em>değer</em>] [[!]<em>ort-değişkeni</em>[=<em>değer</em>]] ...</code></td></tr> <tr><th><a href="directive-dict.html#Context">Bağlam:</a></th><td>sunucu geneli, sanal konak, dizin, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">Geçersizleştirme:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">Durum:</a></th><td>Temel</td></tr> <tr><th><a href="directive-dict.html#Module">Modül:</a></th><td>mod_setenvif</td></tr> </table> <p><code class="directive">BrowserMatchNoCase</code> yönergesi sözdizimsel ve anlamsal olarak <code class="directive"><a href="#browsermatch">BrowserMatch</a></code> yönergesinin eşdeğeridir. Ancak, eşleşmelerde harf büyüklüğüne duyarsızdır. Örnek:</p> <pre class="prettyprint lang-config">BrowserMatchNoCase mac platform=macintosh BrowserMatchNoCase win platform=windows</pre> <p><code class="directive">BrowserMatch</code> ve <code class="directive">BrowserMatchNoCase</code> yönergeleri <code class="directive"><a href="#setenvif">SetEnvIf</a></code> ve <code class="directive"><a href="#setenvifnocase">SetEnvIfNoCase</a></code> yönergelerinin özel halleridir. Bu bakımda aşağıdaki iki satır aynı etkiye sahiptir:</p> <pre class="prettyprint lang-config">BrowserMatchNoCase Robot is_a_robot SetEnvIfNoCase User-Agent Robot is_a_robot</pre> </div> <div class="top"><a href="#page-header"><img alt="top" src="../../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="SetEnvIf" id="SetEnvIf">SetEnvIf</a> <a name="setenvif" id="setenvif">Yönergesi</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">Açıklama:</a></th><td>Ortam değişkenlerini isteğin özniteliklerine göre atar. </td></tr> <tr><th><a href="directive-dict.html#Syntax">Sözdizimi:</a></th><td><code>SetEnvIf <em>öznitelik düzifd [!]ort-değişkeni</em>[=<em>değer</em>] [[!]<em>ort-değişkeni</em>[=<em>değer</em>]] ...</code></td></tr> <tr><th><a href="directive-dict.html#Context">Bağlam:</a></th><td>sunucu geneli, sanal konak, dizin, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">Geçersizleştirme:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">Durum:</a></th><td>Temel</td></tr> <tr><th><a href="directive-dict.html#Module">Modül:</a></th><td>mod_setenvif</td></tr> </table> <p><code class="directive">SetEnvIf</code> yönergesi ortam değişkenlerini isteğin özniteliklerine göre tanımlar. İlk bileşen olarak belirtilen <code><em>öznitelik</em></code> şu dört şeyden biri olabilir:</p> <ol> <li>Bir HTTP istek başlığı alanı (ayrıntılı bilgi için bak: <a href="http://www.rfc-editor.org/rfc/rfc2616.txt">RFC2616</a>); örneğin: <code>Host</code>, <code>User-Agent</code>, <code>Referer</code> ve <code>Accept-Language</code>. Bir düzenli ifade kullanılarak birden fazla istek başlığı belirtilebilir.</li> <li>İsteğin aşağıdaki bileşenlerinden biri: <ul> <li><code>Remote_Host</code> - isteği yapan istemcinin konak ismi (varsa)</li> <li><code>Remote_Addr</code> -isteği yapan istemcinin IP adresi</li> <li><code>Server_Addr</code> - isteği alan sunucunun IP adresi (sadece 2.0.43 sonrası sürümler için)</li> <li><code>Request_Method</code> - kullanılan yöntemin ismi (<code>GET</code>, <code>POST</code>, vs.)</li> <li><code>Request_Protocol</code> - İsteğin yapıldığı protokolün ismi ve numarası ("HTTP/0.9", "HTTP/1.1" gibi)</li> <li><code>Request_URI</code> - HTTP istek satırında belirtilen özkaynak; genellikle sorgu dizgesi olmaksızın şema ve konak ismini içeren bir URL parçasıdır. Sorgu dizgeleriyle eşleşmeler hakkında ayrıntılı bilgi edinmek için <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code> modülünün <code class="directive"><a href="../mod/mod_rewrite.html#rewritecond">RewriteCond</a></code> yönergesinin açıklamasına bakınız.</li> </ul> </li> <li>İstek ile evvelce ilişkilendirilmiş bir ortam değişkeninin ismi. Bu sayede önceki bir eşleşmenin sonucuna karşı yeni bir sınama yapma imkanı ortaya çıkar. Böyle bir sınama için sadece evvelce <code>SetEnvIf[NoCase]</code> yönergeleri ile yapılmış atamalardaki ortam değişkenleri kullanılabilir. ‘Evvelce’ derken, sunucu genelinde veya bölüm içinde bu yönergeden önce yer alan <code>SetEnvIf[NoCase]</code> yönerge satırları kastedilmektedir. Ortam değişkenlerinin dikkate alınabilmesi için istek öznitelikleri arasında hiçbir eşleşme olmaması ve <code><em>öznitelik</em></code> olarak bir düzenli ifade belirtilmemiş olması gerekir.</li> </ol> <p>İkinci bileşen (<code><em>düzifd</em></code>) bir <a class="glossarylink" href="../glossary.html#regex" title="sözlüğe bakınız">düzenli ifade</a>dir. <code><em>düzifd</em></code> ile <code><em>öznitelik</em></code> eşleştiği takdirde yönergenin kalan bileşenleri değerlendirmeye alınır.</p> <p>Kalan bileşenler atanacak ortam değişkenlerinin isimleri ve isteğe bağlı olarak bunlara atanacak değerlerden oluşur. Bunlar şöyle belirtilebilir:</p> <ol> <li><code><em>değişken-adı</em></code> veya</li> <li><code>!<em>değişken-adı</em></code> ya da </li> <li><code><em>değişken-adı</em>=<em>değer</em></code></li> </ol> <p>İlk biçemde değişkene "1" değeri atanır. İkincisinde atanmış bir değişken atanmamış yapılır. Üçüncüsünde ise değişkene belirtilen <code><em>değer</em></code> bire bir atanır. 2.0.51 sürümünden itibaren Apache httpd parantezli düzenli ifadelerin sonuçları ile değiştirilmek üzere <code><em>value</em></code> içinde <code>$1</code>..<code>$9</code> gösterimleri tanınmaktadır. <code>$0</code> bu kalıp ile eşleşen tüm dizgeye erişir.</p> <pre class="prettyprint lang-config">SetEnvIf Request_URI "\.gif$" nesne_bir_resim=gif SetEnvIf Request_URI "\.jpg$" nesne_bir_resim=jpg SetEnvIf Request_URI "\.xbm$" nesne_bir_resim=xbm SetEnvIf Referer belgeler\.alanismi\.example\.com dahili_site_istendi SetEnvIf object_is_image xbm XBIT_PROCESSING=1 SetEnvIf Request_URI "\.(.*)$" EXTENSION=$1 SetEnvIf ^TS ^[a-z] TS_VAR</pre> <p>İlk üçünde istek bir resim dosyası için yapılmışsa <code>nesne_bir_resim</code> ortam değişkeni atanmakta, dördüncüsünde istenen sayfa <code>belgeler.alanismi.example.com</code> adlı sitede bulunuyorsa <code>dahili_site_istendi</code> ortam değişkeni atanmaktadır.</p> <p>Son örnekte ise istekte "TS" ile başlayıp [a-z] arasındaki karakterlerle devam eden bir başlık alanı varsa <code>TS_VAR</code> ortam değişkeni atanmaktadır.</p> <h3>Ayrıca bakınız:</h3> <ul> <li><a href="../env.html">Apache HTTP Sunucusundaki Ortam Değişkenleri</a> belgesinde daha fazla örnek bulunabilir.</li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="SetEnvIfExpr" id="SetEnvIfExpr">SetEnvIfExpr</a> <a name="setenvifexpr" id="setenvifexpr">Yönergesi</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">Açıklama:</a></th><td>Bir ap_expr ifadesine dayanarak ortam değişkenlerine değer atar</td></tr> <tr><th><a href="directive-dict.html#Syntax">Sözdizimi:</a></th><td><code>SetEnvIfExpr <em>ifade [!]ort-değişkeni</em>[=<em>değer</em>] [[!]<em>ort-değişkeni</em>[=<em>değer</em>]] ...</code></td></tr> <tr><th><a href="directive-dict.html#Context">Bağlam:</a></th><td>sunucu geneli, sanal konak, dizin, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">Geçersizleştirme:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">Durum:</a></th><td>Temel</td></tr> <tr><th><a href="directive-dict.html#Module">Modül:</a></th><td>mod_setenvif</td></tr> </table> <p><code class="directive">SetEnvIfExpr</code> yönergesi bir <code class="directive"><a href="../mod/core.html#if"><If></a></code> <code>ap_expr</code> ifadesine dayanarak ortam değişkenlerine değer atar. Bu ifadeler çalışma anında değerlendirilirerek <code class="directive">SetEnvIf</code> yönergesindeki gibi <em>ort-değişkeni</em>ne uygulanır.</p> <pre class="prettyprint lang-config">SetEnvIfExpr "tolower(req('X-Sendfile')) == 'd:\images\very_big.iso')" iso_delivered</pre> <p>Burada uygulamamızın her <code>X-Sendfile</code> göndermeye çalışmasında ortam değişkenine <code>iso_delivered</code> değeri atanmaktadır.</p> <p>Uzak IP adresi RFC 1918'e göre özel bir adres ise rfc1918 değişkenine 1 atanması daha kullanışlı bir örnek olurdu:</p> <pre class="prettyprint lang-config">SetEnvIfExpr "-R '10.0.0.0/8' || -R '172.16.0.0/12' || -R '192.168.0.0/16'" rfc1918</pre> <h3>Ayrıca bakınız:</h3> <ul> <li>Eksiksiz bir kılavuz ve daha fazla örnek için <a href="../expr.html">Apache HTTP Sunucusundaki İfadeler</a> belgesine bakınız.</li> <li>Benzer sonuçlara ulaşmak için <code class="directive"><a href="../mod/core.html#if"><If></a></code> yönergesi kullanılabilir.</li> <li><code class="module"><a href="../mod/mod_filter.html">mod_filter</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="SetEnvIfNoCase" id="SetEnvIfNoCase">SetEnvIfNoCase</a> <a name="setenvifnocase" id="setenvifnocase">Yönergesi</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">Açıklama:</a></th><td>Ortam değişkenlerini isteğin özniteliklerinde harf büyüklüğüne bağlı olmaksızın yapılmış tanımlara göre atar.</td></tr> <tr><th><a href="directive-dict.html#Syntax">Sözdizimi:</a></th><td><code>SetEnvIfNoCase <em>öznitelik düzifd [!]ort-değişkeni</em>[=<em>değer</em>] [[!]<em>ort-değişkeni</em>[=<em>değer</em>]] ...</code></td></tr> <tr><th><a href="directive-dict.html#Context">Bağlam:</a></th><td>sunucu geneli, sanal konak, dizin, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">Geçersizleştirme:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">Durum:</a></th><td>Temel</td></tr> <tr><th><a href="directive-dict.html#Module">Modül:</a></th><td>mod_setenvif</td></tr> </table> <p><code class="directive">SetEnvIfNoCase</code> yönergesi sözdizimsel ve anlamsal olarak <code class="directive"><a href="#setenvif">SetEnvIf</a></code> yönergesinin eşdeğeridir. Ancak, eşleşmelerde harf büyüklüğüne duyarsızdır. Örnek:</p> <pre class="prettyprint lang-config">SetEnvIfNoCase Host Example\.Org site=example</pre> <p>Burada, <code>Host:</code> HTTP istek başlığında <code>Example.Org</code>, <code>example.org</code> veya harf büyüklüğünce farklı benzerleri belirtilmişse <code>site</code> ortam değişkenine "<code>example</code>" değeri atanmaktadır.</p> </div> </div> <div class="bottomlang"> <p><span>Mevcut Diller: </span><a href="../../en/mod/mod_setenvif.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../../fr/mod/mod_setenvif.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | <a href="../../ja/mod/mod_setenvif.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | <a href="../../ko/mod/mod_setenvif.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | <a href="../../tr/mod/mod_setenvif.html" title="Türkçe"> tr </a></p> </div><div class="top"><a href="#page-header"><img src="../../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Yorum</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> <script type="text/javascript"><!--//--><![CDATA[//><!-- var comments_shortname = 'httpd'; var comments_identifier = 'http://httpd.apache.org/docs/2.4/mod/mod_setenvif.html'; (function(w, d) { if (w.location.hostname.toLowerCase() == "httpd.apache.org") { d.write('<div id="comments_thread"><\/div>'); var s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); } else { d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); } })(window, document); //--><!]]></script></div><div id="footer"> <p class="apache">Copyright 2016 The Apache Software Foundation.<br /><a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> altında lisanslıdır.</p> <p class="menu"><a href="../mod/index.html">Modüller</a> | <a href="../mod/directives.html">Yönergeler</a> | <a href="http://wiki.apache.org/httpd/FAQ">SSS</a> | <a href="../glossary.html">Terimler</a> | <a href="../sitemap.html">Site Haritası</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- if (typeof(prettyPrint) !== 'undefined') { prettyPrint(); } //--><!]]></script> </body></html>