<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="./style/manual.tr.xsl"?>
-<!-- English Revision: 1334033:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
<!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by: Orhan Berent <berent belgeler.org>
# Bu yetersiz bir yapılandırma örneğidir, sunucunuzda kullanmayın.
<VirtualHost falan.fesmekan.dom>
ServerAdmin filanca@fesmekan.dom
- DocumentRoot /siteler/fesmekan
+ DocumentRoot "/siteler/fesmekan"
</VirtualHost>
</highlight>
# Bu yetersiz bir yapılandırma örneğidir, sunucunuzda kullanmayın.
<VirtualHost 192.168.2.1>
ServerAdmin filanca@fesmekan.dom
- DocumentRoot /siteler/fesmekan
+ DocumentRoot "/siteler/fesmekan"
</VirtualHost>
</highlight>
<VirtualHost 192.168.2.1>
ServerName falan.fesmekan.dom
ServerAdmin filanca@fesmekan.dom
- DocumentRoot /siteler/fesmekan
+ DocumentRoot "/siteler/fesmekan"
</VirtualHost>
</highlight>
</section>
<highlight language="config">
<VirtualHost falan.fesmekan.dom>
ServerAdmin filanca@fesmekan.dom
- DocumentRoot /siteler/fesmekan
+ DocumentRoot "/siteler/fesmekan"
</VirtualHost>
<VirtualHost misal.mesela.dom>
ServerAdmin falanca@mesela.dom
- DocumentRoot /siteler/mesela
+ DocumentRoot "/siteler/mesela"
</VirtualHost>
</highlight>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="./style/manual.tr.xsl"?>
-<!-- English Revision: 1562488:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
<!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.gen.tr>
Reviewed by: Orhan Berent <berent belgeler.gen.tr>
SetEnvIf Referer "^http://www\.example\.com/" local_referal
# Referrer bilgisi göndermeyen tarayıcılara izin verelim
SetEnvIf Referer "^$" local_referal
-<Directory /siteler/resimler>
+<Directory "/siteler/resimler">
Require env local_referal
</Directory>
</highlight>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="./style/manual.tr.xsl"?>
-<!-- English Revision: 1334033:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
<!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by: Orhan Berent <berent belgeler.org>
eylemcisi tarafından işleme sokulacaktır.</p>
<highlight language="config">
-<Directory /web/htdocs/asis>
+<Directory "/web/htdocs/asis">
SetHandler send-as-is
</Directory>
</highlight>
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1599844:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
<!-- =====================================================
Translated by: Umut Samuk <umut belgeler.org>
Reviewed by: Nilgün Belma Bugüner <nilgun belgeler.gen.tr>
amaçlıyorsanız, şu yönergeleri kullanabilirsiniz. Bu yönergeleri
<code>/usr/local/apache/htdocs/secret/.htaccess</code> dosyası içine
veya <code>httpd.conf</code> içindeki <Directory
- /usr/local/apache/htdocs/secret> bölümüne koyabilirsiniz.</p>
+ "/usr/local/apache/htdocs/secret"> bölümüne koyabilirsiniz.</p>
<highlight language="config">
AuthType Basic
AuthName "Gizli Dosyalar"
# (Aşağıdaki satırın kullanımı isteğe bağlıdır)
AuthBasicProvider file
-AuthUserFile /usr/local/apache/passwd/passwords
+AuthUserFile "/usr/local/apache/passwd/passwords"
Require user umut
</highlight>
AuthName "Davete Binaen"
# Satır isteğe bağlıdır:
AuthBasicProvider file
-AuthUserFile /usr/local/apache/passwd/passwords
-AuthGroupFile /usr/local/apache/passwd/groups
+AuthUserFile "/usr/local/apache/passwd/passwords"
+AuthGroupFile "/usr/local/apache/passwd/groups"
Require group Grupismi
</highlight>
<p>Bir metin dosyası yerine bir dbm dosyası kullanım örneği:</p>
<highlight language="config">
-<Directory /www/docs/private>
+<Directory "/www/docs/private">
AuthName "Private"
AuthType Basic
AuthBasicProvider dbm
- AuthDBMUserFile /www/passwords/passwd.dbm
+ AuthDBMUserFile "/www/passwords/passwd.dbm"
Require valid-user
</Directory>
</highlight>
arada kullanılmıştır.</p>
<highlight language="config">
-<Directory /www/docs/private>
+<Directory "/www/docs/private">
AuthName "Private"
AuthType Basic
AuthBasicProvider file ldap
- AuthUserFile /usr/local/apache/passwd/passwords
+ AuthUserFile "/usr/local/apache/passwd/passwords"
AuthLDAPURL ldap://ldaphost/o=yourorg
Require valid-user
</Directory>
kullanılmıştır.</p>
<highlight language="config">
-<Directory /www/docs/private>
+<Directory "/www/docs/private">
AuthName "Private"
AuthType Basic
AuthBasicProvider file
- AuthUserFile /usr/local/apache/passwd/passwords
+ AuthUserFile "/usr/local/apache/passwd/passwords"
AuthLDAPURL ldap://ldaphost/o=yourorg
- AuthGroupFile /usr/local/apache/passwd/groups
+ AuthGroupFile "/usr/local/apache/passwd/groups"
Require group GroupName
Require ldap-group cn=mygroup,o=yourorg
</Directory>
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1649334:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
<!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.gen.tr>
Reviewed by: Orhan Berent <berent belgeler.gen.tr>
getirebilirsiniz.</p>
<highlight language="config">
-<Directory /home/*/public_html/cgi-bin/>
+<Directory "/home/*/public_html/cgi-bin/">
Options ExecCGI
SetHandler cgi-script
</Directory>
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="./style/manual.tr.xsl"?>
-<!-- English Revision: 1642311:1675442 (outdated) -->
+<!-- English Revision: 1675442 -->
<!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.gen.tr>
Reviewed by: Orhan Berent <berent belgeler.gen.tr>
<dd>Perl ile yazılmış <program>apxs</program> veya
<program>dbmmanage</program> gibi bazı betikleri desteklemek için
Perl 5 yorumlayıcısı gerekir (5.003 veya daha yeni sürümleri
- yeterlidir). Eğer sisteminizde birden fazla Perl yorumlayıcı
- kuruluysa (örneğin, sistem geneli için Perl 4, kendi kullanımızı için
- Perl 5 kurulu olabilir), doğru sürümün kullanılacağından emin olmak
- bunu <program>configure</program> betiğine <code>--with-perl</code>
- seçeneğini kullanarak belirtmeniz önerilir. Eğer
- <program>configure</program> betiği sisteminizde Perl 5 yorumlayıcısı
+ yeterlidir). Eğer <program>configure</program> betiği sisteminizde
+ Perl 5 yorumlayıcısı
bulamazsa bu betikleri kullanamazsınız. Ancak, bu durum Apache
HTTPd’nin derlenip kurulmasına engel değildir.</dd>
</dl>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1379929:1675524 (outdated) -->
+<!-- English Revision: 1675524 -->
<!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.gen.tr>
Reviewed by: Orhan Berent <berent belgeler.gen.tr>
kullanınız.</p>
<p><directive module="core" >HostnameLookups</directive>
- yönergelerinin <code><Location /server-status></code> gibi
+ yönergelerinin <code><Location "/server-status"></code> gibi
bölüm yönergelerinin içinde de yer alabileceğini unutmayın. Bu gibi
durumlarda DNS sorguları sadece istek kuralla eşleştiği takdirde
yapılacaktır. Aşağıdaki örnekte <code>.html</code> ve
başka istenen her dosya için de ayrı bir çağrı yapacaktır.</p>
<highlight language="config">
-DocumentRoot /siteler/htdocs
+DocumentRoot "/siteler/htdocs"
<Directory />
Options SymLinksIfOwnerMatch
</Directory>
açısından sınamaksa bunu şöyle yapabilirsiniz:</p>
<highlight language="config">
-DocumentRoot /siteler/htdocs
-<Directory />
+DocumentRoot "/siteler/htdocs"
+<Directory "/">
Options FollowSymLinks
</Directory>
-<Directory /siteler/htdocs>
+<Directory "/siteler/htdocs">
Options -FollowSymLinks +SymLinksIfOwnerMatch
</Directory>
</highlight>
çalışacaktır.</p>
<highlight language="config">
-DocumentRoot /siteler/htdocs
-<Directory />
+DocumentRoot "/siteler/htdocs"
+<Directory "/">
AllowOverride all
</Directory>
</highlight>
çağrılır ve istekler arasında kalan çoğu çocuk da <code>select</code>
ile engellenir. Engellenen tüm bu çocuklar soketlerden herhangi biri
üzerinde tek bir istek göründüğünde <code>select</code> tarafından
- uyandırılıp işleme sokulmak üzere döndürülürler (uyandırılan çocuk
+ uyandırılıp işleme sokulmak üzere döndürülürler. (Uyandırılan çocuk
sayısı işletim sistemine ve zamanlama ayarlarına göre değişiklik
- gösterir). Bunların hepsi döngüye katılıp bağlantı kabul etmeye
+ gösterir,) Bunların hepsi döngüye katılıp bağlantı kabul etmeye
(<code>accept</code>) çalışırlar. Fakat içlerinden yalnız biri
(sadece bir bağlantı isteğinin mevcut olduğu varsayımıyla) bunu
başarabilir. Kalanının bağlantı kabul etmesi (<code>accept</code>)
- engellenir. Bu durum, bu çocukları istekleri başka başka soketlerden
+ <em>engellenir</em>. Bu durum, bu çocukları istekleri başka başka soketlerden
değil mecburen tek bir soketten kabul etmeye kilitler ve bu soket
üzerinde yeni bir istek belirip uyandırılana kadar bu durumda
kalırlar. Bu açlık sorunu ilk olarak <a
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1657689:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
<!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.gen.tr>
Reviewed by: Orhan Berent <berent belgeler.gen.tr>
<p>Sunucu yapılandırma dosyanıza şunu yerleştirin:</p>
<highlight language="config">
-<Directory />
+<Directory "/">
AllowOverride None
</Directory>
</highlight>
dosyanıza şunları yazın:</p>
<highlight language="config">
-<Directory />
+<Directory "/">
Require all denied
</Directory>
</highlight>
olacaktır. Örnek:</p>
<highlight language="config">
-<Directory /usr/users/*/public_html>
+<Directory "/usr/users/*/public_html">
Require all granted
</Directory>
-<Directory /usr/local/httpd>
+<Directory "/usr/local/httpd">
Require all granted
</Directory>
</highlight>
<p><directive module="core">Location</directive> ve <directive
module="core">Directory</directive> yönergelerinin etkileşimine de
- özellikle önem vermelisiniz; örneğin <code><Directory /></code>
- erişimi yasaklarken bir <code><Location /></code> yönergesi bunu
+ özellikle önem vermelisiniz; örneğin <code><Directory "/"></code>
+ erişimi yasaklarken bir <code><Location "/"></code> yönergesi bunu
ortadan kaldırabilir.</p>
<p><directive module="mod_userdir">UserDir</directive> yönergesi de size
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1647230:1675432 (outdated) -->
+<!-- English Revision: 1675432 -->
<!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.gen.tr>
Reviewed by: Orhan Berent <berent belgeler.gen.tr>
önce,</p>
<highlight language="config">
-<Directory />
+<Directory "/">
AllowOverride None
</Directory>
</highlight>
<p>Bu örnekte <code>AuthConfig</code> ve <code>Indexes</code> grubundaki
yönergeler bir dahili sunucu hatasına yol açmayacaktır.</p>
- <note><p>Güvenlik ve başarımı arttırmak için <code><Directory /></code>
+ <note><p>Güvenlik ve başarımı arttırmak için <code><Directory "/"></code>
bloğu içinde <code>AllowOverride</code> yönergesine <code>None</code>
dışında bir değer atamayın. Böyle yapmak yerine bir <code>.htaccess</code>
dosyası yerleştirmeyi düşündüğünüz dizine ait bir
</usage>
</directivesynopsis>
+<directivesynopsis>
+<name>CGIPassAuth</name>
+<description>HTTP yetkilendirme başlıklarının betiklere CGI değişkenleri
+olarak aktarılmasını etkin kılar</description>
+<syntax>CGIPassAuth On|Off</syntax>
+<default>CGIPassAuth Off</default>
+<contextlist><context>directory</context><context>.htaccess</context>
+</contextlist>
+<override>AuthConfig</override>
+<compatibility> Apache HTTP Sunucusunun 2.4.13 ve sonraki sürümlerinde kullanılabilmektedir</compatibility>
+
+<usage>
+ <p><directive>CGIPassAuth</directive> yönergesi, HTTP Temel kimlik
+ doğrulamasını gerçekleştiren betikler için gereken
+ <code>Authorization</code> gibi HTTP yetkilendirme başlıklarına
+ betiklerin erişebilmesini sağlar. Normalde bu HTTP başlıkları
+ betiklerden gizli olup sunucuda HTTP Temel kimlik kanıtlaması etkin
+ kılındığında sunucuya erişmekte kullanılan kullanıcı kimliklerinin ve
+ parolalarının betikler tarafından görülmesini mümkün kılar. Bu yönerge,
+ HTTP Temel kimlik kanıtlamasını betiklerin gerçekleştirmesini sağlamak
+ için kullanılmalıdır.</p>
+
+ <p>Apache HTTP Sunucusunun önceki sürümlerinde derleme sırasında
+ kullanılabilen <code>SECURITY_HOLE_PASS_AUTHORIZATION</code> sabitinin
+ yerine bu yönerge kullanılabilir.</p>
+
+ <p>Bu ayarlama <module>mod_cgi</module>, <module>mod_cgid</module>,
+ <module>mod_proxy_fcgi</module>, <module>mod_proxy_scgi</module> ve
+ benzerleri gibi <code>ap_add_common_vars()</code> kullanan modüller
+ tarafından kabul görür. Özellikle, isteği alışılmış tarzda işleme
+ sokmayıp bu arayüzü kullanan modülleri etkiler. Ayrıca,
+ <code>ap_add_common_vars()</code> kullanmayan üçüncü parti modüller de
+ bu ayarlamayı kullanmayı tercih edebilir.</p>
+</usage>
+</directivesynopsis>
+
<directivesynopsis>
<name>ContentDigest</name>
<description><code>Content-MD5</code> HTTP yanıt başlıklarının üretimini
Define servername www.example.com
Define SSL
</IfDefine>
-DocumentRoot /var/www/${servername}/htdocs
+DocumentRoot "/var/www/${servername}/htdocs"
</highlight>
<p><directive module="mod_rewrite">RewriteMap</directive> sözdizimi ile
<description>Sadece ismi belirtilen dosya sistemi dizininde ve bunun
altdizinlerinde ve bunların içeriğinde uygulanacak bir yönerge grubunu
sarmalar.</description>
-<syntax><Directory <var>dizin-yolu</var>>
+<syntax><Directory "<var>dizin-yolu</var>">
... </Directory></syntax>
<contextlist><context>server config</context><context>virtual host</context>
</contextlist>
<code>*</code> herhangi bir karakter dizisiyle eşleşir. Ayrıca
<code>[]</code> karakter aralıkları da kullanılabilir. ‘/’ karakteri
ile hiçbir kalıp karakteri eşleşmez, bu bakımdan <code><Directory
- /*/public_html></code> ile <code>/home/user/public_html</code>
- değil, ama <code><Directory /home/*/public_html></code>
+ "/*/public_html"></code> ile <code>/home/user/public_html</code>
+ değil, ama <code><Directory "/home/*/public_html"></code>
eşleşecektir. Örnek:</p>
<highlight language="config">
</Directory>
</highlight>
+ <p>Dizin yollarında isterseniz önceleme kullanabilirsiniz, ancak eğer yol
+ bazı boşluklar içeriyorsa mutlaka kullanmanız gerekir. Bir boşluk aksi
+ belirtilmedikçe bir ifadenin sonunu belirlediğinden bu gereklidir.</p>
+
<note>
<p><var>dizin-yolu</var> argümanlarını belirtirken dikkatli
olmalısınız: Apache httpd’nin dosyalara erişmekte kullandığı dosya
genişletilir. Örneğin,</p>
<highlight language="config">
-<Directory />
+<Directory "/">
AllowOverride None
</Directory>
ve buna ilişkin <directive type="section">Directory</directive>
uygulanacaktır.</p>
- <p><strong><code><Directory /></code> için öntanımlı erişimin tüm
+ <p><strong><code><Directory "/"></code> için öntanımlı erişimin tüm
erişime izin vermek oluşuna dikkat ediniz. Bunu şöyle bir blokla
değiştirmeniz,</strong></p>
<highlight language="config">
-<Directory />
+<Directory "/">
Require all denied
</Directory>
</highlight>
bir <glossary ref="regex">düzenli ifade</glossary> alır. Örnek:</p>
<highlight language="config">
-<DirectoryMatch "^/www/(.+/)?[0-9]{3}">
+<DirectoryMatch "^/www/(.+/)?[0-9]{3}/">
# ...
</DirectoryMatch>
</highlight>
- <p>yönergesi <code>/www/</code> içindeki üç rakamdan oluşan dizinlerle
- eşleşecektir.</p>
+ <p>yönergesi <code>/www/</code> içindeki (veya alt dizinlerindeki) üç
+ rakamdan oluşan dizinlerle eşleşecektir.</p>
<note><title>Uyumluluk</title>
2.3.9 öncesinde, bu yönerge örtük olarak (<directive module="core"
kullanılmalıdır.</p>
<highlight language="config">
-<DirectoryMatch ^/var/www/combined/(?<sitename>[^/]+)>
+<DirectoryMatch "^/var/www/combined/(?<sitename>[^/]+)">
require ldap-group cn=%{env:MATCH_SITENAME},ou=combined,o=Example
</DirectoryMatch>
</highlight>
<name>DocumentRoot</name>
<description>İstemciye görünür olan ana belge ağacının kök dizinini belirler.</description>
<syntax>DocumentRoot <var>dizin-yolu</var></syntax>
-<default>DocumentRoot /usr/local/apache/htdocs</default>
+<default>DocumentRoot "/usr/local/apache/htdocs"</default>
<contextlist><context>server config</context><context>virtual host</context>
</contextlist>
kodundan sonra bir URL veya hata iletisi) ile belirtilir. Apache httpd
bazı durumlarda sorun/hata ile ilgili ek bilgi verecektir.</p>
+ <p>2.4.13 itibariyle, özdevinimli dizgeler ve URLler üretmek için yönerge
+ içinde <a href="../expr.html">ifade sözdizimi</a> kullanılabilir.</p>
+
<p>URL’ler yerel yollarda (<directive
module="core">DocumentRoot</directive>’a göre) bir bölü çizgisi (/) ile
başlatılabileceği gibi istemci tarafından çözümlenecek tam bir URL
ErrorDocument 404 /cgi-bin/bad_urls.pl
ErrorDocument 401 /subscription_info.html
ErrorDocument 403 "Kusura bakmayın, bugün hizmet veremiyoruz."
+ErrorDocument 403 /cgi-bin/forbidden.pl?referrer=%{escape:%{HTTP_REFERER}}
</highlight>
<p>Bunlardan başka, Apache httpd’nin kendi hata iletilerinin kullanılacağı
<highlight language="config">
ErrorDocument 404 /cgi-bin/bad_urls.pl
-<Directory /web/docs>
+<Directory "/web/docs">
ErrorDocument 404 default
</Directory>
</highlight>
<name>Files</name>
<description>Dosya isimleriyle eşleşme halinde uygulanacak yönergeleri
içerir.</description>
-<syntax><Files <var>dosya-adı</var>> ... </Files></syntax>
+<syntax><Files "<var>dosya-adı</var>"> ... </Files></syntax>
<contextlist><context>server config</context><context>virtual host</context>
<context>directory</context><context>.htaccess</context>
</contextlist>
<p>satırı en bilinen resim dosyası biçimleriyle eşleşecektir.</p>
+ <note>Düzenli ifadenin başlangıcındaki bir <code>.+</code>
+ <code>.png</code>veya <code>.gif</code> dosyalarının, örnek olarak,
+ eşleşmemesini garanti eder.</note>
+
<p>2.4.8 itibariyle, isimli gruplar ve geriye başvurular elde edilmekte
olup ilgili isim büyük harfe çevrildikren sonra "MATCH_" ile
öncelendikten sonra ortama yazılmaktadır. Böylece yol elemanlarına
kullanılmalıdır.</p>
<highlight language="config">
-<FilesMatch ^(?<sitename>[^/]+)>
+<FilesMatch "^(?<sitename>[^/]+)">
require ldap-group cn=%{env:MATCH_SITENAME},ou=combined,o=Example
</FilesMatch>
</highlight>
<highlight language="config">
# tüm dosyaların image/gif olarak sunulması için:
-<Location /images>
+<Location "/images">
ForceType image/gif
</Location>
# normal MIME-türüne geri dönmek için:
-<Location /images/mixed>
+<Location "/images/mixed">
ForceType None
</Location>
</highlight>
üretilen içerik türlerini geçersiz kılar. Duruk dosyaların haricindeki
özkaynaklar için yanıt üretecinin genelde bir <code>Content-Type</code>
belirttiği durumda bu yönerge etkisizdir.</p>
+
+ <note><title>Ek Bilgi</title>
+ <p><directive module="core" >SetHandler</directive> veya
+ <directive module="mod_mime">AddHandler</directive> gibi örtük yönergeler
+ geçerli isteğe uygulanmadığı takdirde, normalde bu yönergeler tarafından
+ belirlenen dahili eylemcinin ismi <directive>ForceType</directive>
+ yönergesi tarafından belirtilen içerik türü ile eşleşecek şekilde
+ belirlenir. Bu, bazı üçüncü parti modüller (mod_php gibi) tarafından
+ kullanılan tarihi bir uygulama olup, bu modüller istekle eşleşecek
+ modüllerin sorumluluğu almasını sağlamak için "sihirli" içerik türleri
+ kullanabilir. Bu tür "sihirli" içerik türlerini kullanan
+ yapılandırmalarda <directive module="core" >SetHandler</directive> veya
+ <directive module="mod_mime">AddHandler</directive> kullanımından
+ kaçınılmalıdır. </p>
+ </note>
+
</usage>
</directivesynopsis>
<p>Bu yapılandırma bölümünün içinde sadece
<a href="directive-dict.html#Context">dizin bağlamını</a> destekleyen
yönergeler kullanılabilir.</p>
+
+ <note type="warning">
+ <If> sonrasında atanan <code>CONTENT_TYPE</code> gibi belli
+ değişkenler ve diğer yanıt başlıkları zaten yorumlanmış olacaklarından bu
+ yönerge için kullanılabilir olmayacaktır.
+ </note>
</usage>
<seealso><a href="../expr.html">Apache HTTP Sunucusundaki
zaman aşımı, boştaki istemcilerin bulunduğu bağlantıları bekleyen daha
fazla sunucu sürecini meşgul edecektir.</p>
- <p>İsme dayalı sanal konak bağlamında, yerel IP adresi ve portu ile en iyi
- eşleşen ilk sanal konağın değeri kullanılır.</p>
+ <p>İsme dayalı sanal konak için <directive>KeepAliveTimeout</directive>
+ atanmamışsa, yerel IP adresi ve portu ile en iyi eşleşen ilk sanal
+ konağın değeri kullanılır.</p>
</usage>
</directivesynopsis>
<name>Location</name>
<description>İçerdiği yönergeler sadece eşleşen URL’lere uygulanır.
</description>
-<syntax><Location <var>URL-yolu</var>|<var>URL</var>> ...
+<syntax><Location "<var>URL-yolu</var>|<var>URL</var>"> ...
</Location></syntax>
<contextlist><context>server config</context><context>virtual host</context>
</contextlist>
uygulanmayacaktır.</p>
<highlight language="config">
-<Location /private1>
+<Location "/private1">
# ...
</Location>
</highlight>
ve <code>/private2other</code> isteklerine uygulanmayacaktır.</p>
<highlight language="config">
-<Location /private2<em>/</em>>
+<Location "/private2<em>/</em>">
# ...
</Location>
</highlight>
module="core">Directory</directive> ve <directive type="section"
module="core">Files</directive> bölümlerini kullanın. Bunun istisnası,
sunucunun tamamına bir yapılandırma uygulamak için kolay bir yol olan
- <code><Location /></code> kullanımıdır.</p>
+ <code><Location "/"></code> kullanımıdır.</p>
</note>
<p>Kaynağa yapılan (vekil olmayan) tüm istekler için eşleşecek URL,
uygulama yapabilirsiniz:</p>
<highlight language="config">
-<Location /status>
+<Location "/status">
SetHandler server-status
Require host example.com
</Location>
type="section">Location</directive> yönergesinin düzenli ifadeli
kullanımında bunu açıkça belirtmeniz gerekir.</p>
- <p>Örneğin, <code><LocationMatch ^/abc></code> yönergesi
+ <p>Örneğin, <code><LocationMatch "^/abc"></code> yönergesi
<code>/abc</code> ile eşleşecek ama <code>//abc</code> ile
eşleşmeyecektir. <directive type="section">Location</directive>
yönergesinin düzenli ifade içermeyen kullanımındaki davranış vekil
isteklerinde kullanılana benzer ve doğrudan kaynağa yapılan (vekil
olmayan) isteklerde çok sayıda bölü çizgisi dolaylı olarak tek bir bölü
çizgisiyle eşleşecektir. Örneğin, <code><Location
- /abc/def></code> belirtirseniz ve istek <code>/abc//def</code>
+ "/abc/def"></code> belirtirseniz ve istek <code>/abc//def</code>
şeklinde olursa bu ikisi eşleşir.</p>
</note>
</usage>
<p>yönergesi <code>/ek/veri</code> ve <code>/hususi/veri</code> alt
dizgeleriyle eşleşecektir.</p>
+ <note><p>Eğer hedef, <code>/ek/veri</code> içeren değil de
+ <code>/ek/veri</code> ile başlayan bir URL ise düzenli ifadenin önüne
+ <code>^</code> getirmek gerekir.</p>
+
+ <highlight language="config">
+ <LocationMatch "^/(ek|hususi)/veri">
+ </highlight>
+ </note>
+
<p>2.4.8 itibariyle, isimli gruplar ve geriye başvurular elde edilmekte
olup ilgili isim büyük harfe çevrildikren sonra "MATCH_" ile
öncelendikten sonra ortama yazılmaktadır. Böylece yol elemanlarına
kullanılmalıdır.</p>
<highlight language="config">
-<DirectoryMatch ^/var/www/combined/(?<sitename>[^/]+)>
+<LocationMatch "^/combined/(?<sitename>[^/]+)">
require ldap-group cn=%{env:MATCH_SITENAME},ou=combined,o=Example
-</DirectoryMatch>
+</LocationMatch>
</highlight>
</usage>
bir eylemci atamak için de kullanabilirsiniz. örnek:</p>
<highlight language="config">
-<FilesMatch \.php$>
+<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
</highlight>
<highlight language="config">
<VirtualHost 10.1.2.3:80>
ServerAdmin webmaster@host.example.com
- DocumentRoot /www/docs/host.example.com
+ DocumentRoot "/www/docs/host.example.com"
ServerName host.example.com
- ErrorLog logs/host.example.com-error_log
- TransferLog logs/host.example.com-access_log
+ ErrorLog "logs/host.example.com-error_log"
+ TransferLog "logs/host.example.com-access_log"
</VirtualHost>
</highlight>
<highlight language="config">
<VirtualHost [2001:db8::a00:20ff:fea7:ccea]:80>
ServerAdmin webmaster@host.example.com
- DocumentRoot /www/docs/host.example.com
+ DocumentRoot "/www/docs/host.example.com"
ServerName host.example.com
- ErrorLog logs/host.example.com-error_log
- TransferLog logs/host.example.com-access_log
+ ErrorLog "logs/host.example.com-error_log"
+ TransferLog "logs/host.example.com-access_log"
</VirtualHost>
</highlight>
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1663259:1684314 (outdated) -->
+<!-- English Revision: 1684314 -->
<!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.gen.tr>
Reviewed by: Orhan Berent <berent belgeler.gen.tr>
aşağıdaki yapılandırma beklendiği gibi çalışacaktır:</p>
<highlight language="config">
-Alias /foo/bar /baz
-Alias /foo /gaq
+Alias "/foo/bar" "/baz"
+Alias "/foo" "/gaq"
</highlight>
<p>Ama yukarıdaki iki satır ters sırada yerleştirilmiş olsaydı,
duyarlıdır.</p>
<highlight language="config">
-Alias /image /ftp/pub/image
+Alias "/image" "/ftp/pub/image"
</highlight>
<p><code>http://example.com/image/foo.gif</code> şeklinde bir istek,
eğer</p>
<highlight language="config">
- Alias /icons/ /usr/local/apache/icons/
+ Alias "/icons/" "/usr/local/apache/icons/"
</highlight>
<p>diye bir tanım yaparsanız sona bir / ekleme ihtiyacından dolayı
dizine doğrudan erişim izni vermeniz gerekebilir.</p>
<highlight language="config">
-Alias /image /ftp/pub/image
-<Directory /ftp/pub/image>
+Alias "/image" "/ftp/pub/image"
+<Directory "/ftp/pub/image">
Require all granted
</Directory>
</highlight>
<directive type="section" module="core">LocationMatch</directive>
bölümü içinde kullanılırsa <var>URL-yolu</var> görmezden gelinip <a
href="../expr.html">ifade sözdizimi</a> kullanılarak
- <var>dosya-yolu</var> yorumlanır.</p>
+ <var>dosya-yolu</var> yorumlanır.<br /> Bu sözdizimi Apache 2.4.13 ve
+ sonrasında kullanılabilmektedir.</p>
<highlight language="config">
-<Location /image>
- Alias /ftp/pub/image
+<Location "/image">
+ Alias "/ftp/pub/image"
</Location>
-<LocationMatch /error/(?<NUMBER>[0-9]+)>
- Alias /usr/local/apache/errors/%{env:MATCH_NUMBER}.html
+<LocationMatch "/error/(?<NUMBER>[0-9]+)">
+ Alias "/usr/local/apache/errors/%{env:MATCH_NUMBER}.html"
</LocationMatch>
</highlight>
</usage>
<name>AliasMatch</name>
<description>URL’leri dosya sistemi konumlarıyla düzenli ifadeleri kullanarak
eşler.</description>
-<syntax>AliasMatch <var>düzenli-ifade</var>
-<var>dosya-yolu</var>|<var>dizin-yolu</var></syntax>
+<syntax>AliasMatch "<var>düzenli-ifade</var>"
+"<var>dosya-yolu</var>|<var>dizin-yolu</var>"</syntax>
<contextlist><context>server config</context><context>virtual host</context>
</contextlist>
yazılabilir:</p>
<highlight language="config">
-AliasMatch ^/icons(.*) /usr/local/apache/icons$1
+AliasMatch "^/icons(.*)" "/usr/local/apache/icons$1"
</highlight>
<p><glossary ref="regex">Düzenli ifadeler</glossary>in tamamı
kullanılabilir:</p>
<highlight language="config">
-AliasMatch (?i)^/image(.*) /ftp/pub/image$1
+AliasMatch "(?i)^/image(.*)" "/ftp/pub/image$1"
</highlight>
<p><directive module="mod_alias">Alias</directive>
<p>Örneğin aşağıdakini AliasMatch ile değiştirmek isteyelim:</p>
<highlight language="config">
-Alias /image/ /ftp/pub/image/
+Alias "/image/" "/ftp/pub/image/"
</highlight>
<p>Bu eşdeğer DEĞİLdir - bunu yapmayın! Bu herhangi bir yerinde /image/
dizgesi bulunan tüm istekleri /ftp/pub/image/ altına gönderecektir:</p>
<highlight language="config">
-AliasMatch /image/ /ftp/pub/image/
+AliasMatch "/image/" "/ftp/pub/image/"
</highlight>
<p>Aynı etkiyi elde etmek için bu gerekiyor:</p>
<highlight language="config">
-AliasMatch ^/image/(.*)$ /ftp/pub/image/$1
+AliasMatch "^/image/(.*)$" "/ftp/pub/image/$1"
</highlight>
<p>Şüphesiz, <directive module="mod_alias">Alias</directive> yönergesini
farklı dosya çeşitlerini farklı dizinlerden sunmak isteyelim:</p>
<highlight language="config">
-AliasMatch ^/image/(.*)\.jpg$ /files/jpg.images/$1.jpg<br/>
-AliasMatch ^/image/(.*)\.gif$ /files/gif.images/$1.gif
+AliasMatch "^/image/(.*)\.jpg$" "/files/jpg.images/$1.jpg"
+AliasMatch "^/image/(.*)\.gif$" "/files/gif.images/$1.gif"
</highlight>
<p>İstek URL'sinin başındaki bölü çizgileri, bu modüldeki yönergeler istek
<highlight language="config">
# Farklı bir konaktaki bir URL'ye yönlendirme
-Redirect /hizmet http://iki.example.com/hizmet
+Redirect "/hizmet" "http://iki.example.com/hizmet"
# Aynı konak üzerinde yönlendirme
-Redirect /bir /iki
+Redirect "/bir" "/iki"
</highlight>
<p>İstemcinin yaptığı <code>http://example.com/hizmet/fesmekan.txt</code>
<code>send_error_response</code> işlevine bakınız).</p>
<highlight language="config">
-Redirect permanent /bir http://example.com/iki
-Redirect 303 /yedi http://example.com/baskabisey
+Redirect permanent "/bir" "http://example.com/iki"
+Redirect 30" "/yedi" http://example.com/baskabisey"
</highlight>
<p><directive>Redirect</directive> yönergesi URL-yolu içeren bir
<directive type="section" module="core">Location</directive> veya
<directive type="section" module="core">LocationMatch</directive>
bölümü içinde görmezden gelinip URL <a href="../expr.html">ifade
- sözdizimi</a> kullanılarak yorumlanır.</p>
+ sözdizimi</a> kullanılarak yorumlanır.<br /> Bu sözdizimi Apache
+ 2.4.13 ve sonrasında kullanılabilmektedir.</p>
<highlight language="config">
-<Location /bir>
- Redirect permanent http://example.com/iki
-</Location><br />
-<Location /three>
- Redirect 303 http://example.com/baskabisey
-</Location><br />
-<LocationMatch /error/(?<NUMBER>[0-9]+)>
- Redirect permanent http://example.com/errors/%{env:MATCH_NUMBER}.html
-</LocationMatch><br />
+<Location "/bir">
+ Redirect permanent "http://example.com/iki"
+</Location>
+<Location "/three">
+ Redirect 303 "http://example.com/baskabisey"
+</Location>
+<LocationMatch "/error/(?<NUMBER>[0-9]+)">
+ Redirect permanent "http://example.com/errors/%{env:MATCH_NUMBER}.html"
+</LocationMatch>
</highlight>
</usage>
yazılabilir:</p>
<highlight language="config">
-RedirectMatch (.*)\.gif$ http://baska.example.com$1.jpg
+RedirectMatch "(.*)\.gif$" "http://baska.example.com$1.jpg"
</highlight>
<p><directive module="mod_alias">Alias</directive> ve
<code><em>dizin-yolu</em></code> ile başlayan betiklerle eşlenir.</p>
<highlight language="config">
-ScriptAlias /cgi-bin/ /siteler/cgi-bin/
+ScriptAlias "/cgi-bin/" "/siteler/cgi-bin/"
</highlight>
<p><code>http://example.com/cgi-bin/foo</code> şeklindeki bir istek
olur. Bu yapılandırma aslında şuna eşdeğerdir:</p>
<highlight language="config">
-Alias /cgi-bin/ /siteler/cgi-bin/
-<Location /cgi-bin >
+Alias "/cgi-bin/" "/siteler/cgi-bin/"
+<Location "/cgi-bin" >
SetHandler cgi-script
Options +ExecCGI
</Location>
ile birlikte de kullanabilirsiniz. Örnek:</p>
<highlight language="config">
-ScriptAlias /cgi-bin/ /siteler/cgi-handler.pl
+ScriptAlias "/cgi-bin/" "/siteler/cgi-handler.pl"
</highlight>
<p>Bu senaryoda <code>/cgi-bin/</code>’den istenen tüm dosyalar sizin
module="core">Options</directive> yönergelerini örnekteki gibi kullanın:
<highlight language="config">
-<Directory /usr/local/apache2/htdocs/cgi-bin >
+<Directory "/usr/local/apache2/htdocs/cgi-bin" >
SetHandler cgi-script
Options ExecCGI
</Directory>
içeren bir <directive type="section" module="core">Location</directive>
veya <directive type="section" module="core">LocationMatch</directive>
bölümü içindeyse görmezden gelinip URL ifadesi
- <a href="../expr.html">ifade sözdizimi</a> kullanılarak yorumlanır.</p>
+ <a href="../expr.html">ifade sözdizimi</a> kullanılarak yorumlanır.
+ <br />Bu sözdizimi Apache 2.4.13 ve sonrasında kullanılabilmektedir.</p>
<highlight language="config">
-<Location /cgi-bin >
- ScriptAlias /web/cgi-bin/
+<Location "/cgi-bin" >
+ ScriptAlias "/web/cgi-bin/"
</Location>
-<LocationMatch /cgi-bin/errors/(?<NUMBER>[0-9]+)>
- ScriptAlias /web/cgi-bin/errors/%{env:MATCH_NUMBER}.cgi
+<LocationMatch "/cgi-bin/errors/(?<NUMBER>[0-9]+)">
+ ScriptAlias "/web/cgi-bin/errors/%{env:MATCH_NUMBER}.cgi"
</LocationMatch><br />
</highlight>
etkin kılmak için şu yazılabilir:</p>
<highlight language="config">
-ScriptAliasMatch ^/cgi-bin(.*) /usr/local/apache/cgi-bin$1
+ScriptAliasMatch "^/cgi-bin(.*)" "/usr/local/apache/cgi-bin$1"
</highlight>
<p>AliasMatch yönergesindeki gibi, <glossary ref="rexex">düzenli
eşleşmeli bir takma ad oluşturmak mümkünür:</p>
<highlight language="config">
-ScriptAliasMatch (?i)^/cgi-bin(.*) /usr/local/apache/cgi-bin$1
+ScriptAliasMatch "(?i)^/cgi-bin(.*)" "/usr/local/apache/cgi-bin$1"
</highlight>
<p><directive module="mod_alias">Alias</directive> ve
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="./style/manual.tr.xsl"?>
-<!-- English Revision: 1636196:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
<!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.gen.tr>
Reviewed by: Orhan Berent <berent belgeler.gen.tr>
<highlight language="config">
<IfDefine ClosedForNow>
- Redirect / http://otherserver.example.com/
+ Redirect "/" "http://otherserver.example.com/"
</IfDefine>
</highlight>
<highlight language="config">
<IfModule mod_mime_magic.c>
- MimeMagicFile conf/magic
+ MimeMagicFile "conf/magic"
</IfModule>
</highlight>
dizin içeriğinin listelenmesi etkin kılınmaktadır.</p>
<highlight language="config">
-<Directory /var/web/dir1>
+<Directory "/var/web/dir1">
Options +Indexes
</Directory>
</highlight>
erişime izin vermeyecektir.</p>
<highlight language="config">
-<Files gizli.html>
+<Files "gizli.html">
Require all denied
</Files>
</highlight>
<code>gizli.html</code> dosyalarına erişimi yasaklar.</p>
<highlight language="config">
-<Directory /var/web/dir1><br />
- <Files gizli.html><br />
+<Directory "/var/web/dir1"><br />
+ <Files "gizli.html"><br />
Require all denied
</Files><br />
</Directory>
uygulanır.</p>
<highlight language="config">
-<LocationMatch ^/gizli>
+<LocationMatch "^/gizli">
Require all denied
</LocationMatch>
</highlight>
veya dizin bulunması gerekli değildir.</p>
<highlight language="config">
-<Location /server-status>
+<Location "/server-status">
SetHandler server-status
</Location>
</highlight>
>Location</directive> yönergesi için bu şöyle olurdu:</p>
<highlight language="config">
-<Location /foo>
+<Location "/foo">
</Location>
-<Location /foo/bar>
+<Location "/foo/bar">
</Location>
</highlight>
adlar</directive> tam tersi eşlenir:</p>
<highlight language="config">
-Alias /foo/bar /srv/www/uncommon/bar
-Alias /foo /srv/www/common/foo
+Alias "/foo/bar" "/srv/www/uncommon/bar"
+Alias "/foo" "/srv/www/common/foo"
</highlight>
<p>Aynısı <directive module="mod_proxy">ProxyPass</directive>
yönergeleri için de geçerlidir:</p>
<highlight language="config">
-ProxyPass /special-area http://special.example.com smax=5 max=10
-ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover=On
+ProxyPass "/special-area" "http://special.example.com" smax=5 max=10
+ProxyPass "/" "balancer://mycluster/" stickysession=JSESSIONID|jsessionid nofailover=On
</highlight>
</section>
ismi kalıpları şöyle kullanılabilirdi:</p>
<highlight language="config">
-<Directory /home/*/public_html>
+<Directory "/home/*/public_html">
Options Indexes
</Directory>
</highlight>
erişimi bir defada yasaklayabiliriz:</p>
<highlight language="config">
-<FilesMatch \.(?i:gif|jpe?g|png)$>
+<FilesMatch "\.(?i:gif|jpe?g|png)$">
Require all denied
</FilesMatch>
</highlight>
mümkün olur.</p>
<highlight language="config">
-<DirectoryMatch ^/var/www/combined/(?<SITENAME>[^/]+)>
- require ldap-group cn=%{env:MATCH_SITENAME},ou=combined,o=Example
+<DirectoryMatch "^/var/www/combined/(?<SITENAME>[^/]+)">
+ require ldap-group "cn=%{env:MATCH_SITENAME},ou=combined,o=Example"
</DirectoryMatch>
</highlight>
</section>
Örneğin, aşağıdaki yapılandırmayı ele alalım:</p>
<highlight language="config">
-<Location /dir/>
+<Location "/dir/">
Require all denied
</Location>
</highlight>
eşleyecek daha bir sürü yol bulunduğunu unutmayınız. Bu bakımdan dosya
sisteminde yapacağınız kısıtlamalarda daima dosya sistemi taşıyıcılarını
kullanmalısınız. Bununla birlikte bu kuralın da bir istisnası vardır.
- Yapılandırma kısıtlamalarının bir <code><Location/></code> bölümü
+ Yapılandırma kısıtlamalarının bir <code><Location "/"></code> bölümü
içine koyulması, bu bölüme konan yönergelerin etki alanının belli bir URL
ile sınırlı olmaması nedeniyle mükemmelen güvenlidir.</p>
</section>
kullanılmasını engelleyecektir.</p>
<highlight language="config">
-<Proxy http://www.example.com/*>
+<Proxy "http://www.example.com/*">
Require all granted
</Proxy>
</highlight>
yönergeler geçersiz kılınabileceği için).</li>
<li><directive type="section" module="core">DirectoryMatch</directive>
- (ve <code><Directory ~></code>).</li>
+ (ve <code><Directory "~"></code>).</li>
<li><directive type="section" module="core">Files</directive> ve
<directive type="section" module="core">FilesMatch</directive> aynı anda
sıraya göre işleme sokulurlar. Yukarıda 1. grup olan <directive
type="section" module="core">Directory</directive> bölümü en kısa dizin
elemanından en uzun dizin elemanına doğru işleme sokulur. Yani, örneğin,
- <code><Directory /var/web/dir></code> bölümü <code><Directory
- /var/web/dir/subdir></code> bölümünden önce işleme sokulacaktır. Eğer
+ <code><Directory "/var/web/dir"></code> bölümü <code><Directory
+ "/var/web/dir/subdir"></code> bölümünden önce işleme sokulacaktır. Eğer
aynı uzunlukta çok sayıda dizin varsa <directive type="section"
module="core">Directory</directive> bölümleri yapılandırma dosyasında
bulundukları sıraya göre işleme sokulurlar. <directive
> D > E sırasıyla uygulanacaktır.</p>
<highlight language="config">
-<Location />
+<Location "/">
E
</Location>
-<Files f.html>
+<Files "f.html">
D
</Files>
<VirtualHost *>
-<Directory /a/b>
+<Directory "/a/b">
B
</Directory>
</VirtualHost>
C
</DirectoryMatch>
-<Directory /a/b>
+<Directory "/a/b">
A
</Directory>
</highlight>
olmalısınız!</p>
<highlight language="config">
-<Location />
+<Location "/">
Require all granted
</Location>
# Alooo! Bu <Directory> bölümünün hiçbir hükmü yok.
-<Directory />
+<Directory "/">
<RequireAll>
Require all granted
Require not host kkadam.example.com
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="./style/manual.tr.xsl"?>
-<!-- English Revision: 1562488:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
<!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.gen.tr>
Reviewed by: Orhan Berent <berent belgeler.gen.tr>
altında göstermek için <directive module="mod_alias">Alias</directive>
yönergesi de kullanılabilir. Örneğin,</p>
- <highlight language="config">Alias /belgeler /var/http</highlight>
+ <highlight language="config">Alias "/belgeler" "/var/http"</highlight>
<p>yapılandırması ile
<code>http://example.com/belgeler/dizin/dosya.html</code> URL’si için
yararlanılabilir. Örneğin,</p>
<highlight language="config">
-ScriptAliasMatch ^/~([a-zA-Z0-9]+)/cgi-bin/(.+) /home/$1/cgi-bin/$2
+ScriptAliasMatch "^/~([a-zA-Z0-9]+)/cgi-bin/(.+)" "/home/$1/cgi-bin/$2"
</highlight>
<p>satırı sayesinde <code>http://example.com/~user/cgi-bin/betik.cgi</code>
kullanılabilirdi:</p>
<highlight language="config">
-AliasMatch ^/sayfalar/([a-zA-Z0-9]+)(/(.*))?$ /home/$1/public_html/$3
+AliasMatch "^/sayfalar/([a-zA-Z0-9]+)(/(.*))?$" "/home/$1/public_html/$3"
</highlight>
</section>
bildirilmesi şöyle sağlanabilirdi:</p>
<highlight language="config">
-Redirect permanent /foo/ http://example.com/bar/
+Redirect permanent "/foo/" "http://example.com/bar/"
</highlight>
<p>Bu atama sayesinde <code>/foo/</code> ile başlayan URL yolları
kullanabilirsiniz:</p>
<highlight language="config">
-RedirectMatch permanent ^/$ http://example.com/ilksayfa.html
+RedirectMatch permanent "^/$" "http://example.com/ilksayfa.html"
</highlight>
<p>Bundan başka, bir sitedeki tüm sayfalara yapılan istekleri başka bir
siteye geçici olarak yönlendirmek için şöyle bir şey yapabilirsiniz:</p>
<highlight language="config">
-RedirectMatch temp .* http://mesela.example.com/ilksayfa.html
+RedirectMatch temp ".*" "http://mesela.example.com/ilksayfa.html"
</highlight>
</section>
geliyormuş gibi sunmaktadır:</p>
<highlight language="config">
-ProxyPass /foo/ http://dahili.example.com/bar/
-ProxyPassReverse /foo/ http://dahili.example.com/bar/
+ProxyPass "/foo/" "http://dahili.example.com/bar/"
+ProxyPassReverse "/foo/" "http://dahili.example.com/bar/"
ProxyPassReverseCookieDomain dahili.example.com harici.example.com
-ProxyPassReverseCookiePath /foo/ /bar/
+ProxyPassReverseCookiePath "/foo/" "/bar/"
</highlight>
<p><directive module="mod_proxy">ProxyPass</directive> sunucuyu uygun
kullanılarak istemciye sunuluyormuşçasına değiştirebilirsiniz.</p>
<highlight language="config">
-Substitute s/dahili\.example\.com/harici.example.com/i
+Substitute "s/dahili\.example\.com/harici.example.com/i"
</highlight>
<p>HTML ve XHTML’de hiperbağları daha bilgece yeniden yazabilen