public_html.xml.tr revision 07619a3b4dcdc2878b77097fdb0e473f19755621
9ecf04e1256ba153c86e74edb77cfd705c55a042nd<?xml version='1.0' encoding='UTF-8' ?>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd<!DOCTYPE manualpage SYSTEM "/style/manualpage.dtd">
9ecf04e1256ba153c86e74edb77cfd705c55a042nd<?xml-stylesheet type="text/xsl" href="/style/manual.tr.xsl"?>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd<!-- English Revision: 791344 -->
9ecf04e1256ba153c86e74edb77cfd705c55a042nd<!-- =====================================================
9ecf04e1256ba153c86e74edb77cfd705c55a042nd Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd Reviewed by: Orhan Berent <berent belgeler.org>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd========================================================== -->
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd<!--
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen Licensed to the Apache Software Foundation (ASF) under one or more
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen contributor license agreements. See the NOTICE file distributed with
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen this work for additional information regarding copyright ownership.
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen The ASF licenses this file to You under the Apache License, Version 2.0
9ecf04e1256ba153c86e74edb77cfd705c55a042nd (the "License"); you may not use this file except in compliance with
9ecf04e1256ba153c86e74edb77cfd705c55a042nd the License. You may obtain a copy of the License at
d229f940abfb2490dee17979e9a5ff31b7012eb5rbowen
3f08db06526d6901aa08c110b5bc7dde6bc39905nd http://www.apache.org/licenses/LICENSE-2.0
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd Unless required by applicable law or agreed to in writing, software
9ecf04e1256ba153c86e74edb77cfd705c55a042nd distributed under the License is distributed on an "AS IS" BASIS,
3f08db06526d6901aa08c110b5bc7dde6bc39905nd WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9ecf04e1256ba153c86e74edb77cfd705c55a042nd See the License for the specific language governing permissions and
9ecf04e1256ba153c86e74edb77cfd705c55a042nd limitations under the License.
c04f76acce77126cf88b09350e56ea8c6b4a064enilgun-->
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd<manualpage metafile="public_html.xml.meta">
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung<parentdocument href="./">Nasıllar ve Öğreticiler</parentdocument>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf <title>Kullanıcı Dizinleri (public_html)</title>
4b575a6b6704b516f22d65a3ad35696d7b9ba372rpluem
9ecf04e1256ba153c86e74edb77cfd705c55a042nd<summary>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p>Çok kullanıcılı sistemlerde, <directive module="mod_userdir"
9ecf04e1256ba153c86e74edb77cfd705c55a042nd >UserDir</directive> yönergesi ile her kullanıcının kendi ev dizininde
9ecf04e1256ba153c86e74edb77cfd705c55a042nd bir sitesi olması sağlanabilir.
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <code>http://example.com/~kullanıcı/</code> adresinin ziyaretçileri
9ecf04e1256ba153c86e74edb77cfd705c55a042nd "kullanıcı" isimli kullanıcının ev dizininin içeriğini değil, <directive
9ecf04e1256ba153c86e74edb77cfd705c55a042nd module="mod_userdir">UserDir</directive> yönergesinde belirtilen alt
9ecf04e1256ba153c86e74edb77cfd705c55a042nd dizinin içeriğini görürler.</p>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p>Öntanımlı olarak bu dizinlere erişimin etkin olmadığını unutmayınız.
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <directive module="mod_userdir">UserDir</directive> yönergesini
9ecf04e1256ba153c86e74edb77cfd705c55a042nd kullanırken öntanımlı yapılandırma dosyasındaki</p>
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <example>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd #Include conf/extra/httpd-userdir.conf
9ecf04e1256ba153c86e74edb77cfd705c55a042nd </example>
f5a398cc8880978754903f9ece8e4beb63a81cedrbowen
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p>satırını etkin hale getirip, gerekiyorsa <code>httpd-userdir.conf</code>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd dosyasını da düzenleyerek veya ana yapılandırma dosyasında bir
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <code>Directory</code> bloğu içine uygun yönergeleri yerleştirerek bu
9ecf04e1256ba153c86e74edb77cfd705c55a042nd dizinlere erişimi etkin hale getirebilirsiniz.</p>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd</summary>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd<seealso><a href="/urlmapping.html">URL’lerin Dosya Sistemi ile
9ecf04e1256ba153c86e74edb77cfd705c55a042nd Eşleştirilmesi</a></seealso>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <section id="related">
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <title>Kullanıcı sayfaları dizinleri</title>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <related>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <modulelist>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <module>mod_userdir</module>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd </modulelist>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <directivelist>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <directive module="mod_userdir">UserDir</directive>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <directive module="core">DirectoryMatch</directive>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <directive module="core">AllowOverride</directive>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd </directivelist>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd </related>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd </section>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <section id="userdir">
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <title><code>UserDir</code> ile dosya yolunun belirtilmesi</title>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p><directive module="mod_userdir">UserDir</directive> yönergesinde
9ecf04e1256ba153c86e74edb77cfd705c55a042nd kullanıcı sayfalarının yükleneceği dizin belirtilir. Bu yönergeye değeri
9ecf04e1256ba153c86e74edb77cfd705c55a042nd çeşitli biçimlerde atanabilir.</p>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p>Başında bölü çizgisi bulunmayan bir dosya yolu belirtilmişse,
9ecf04e1256ba153c86e74edb77cfd705c55a042nd kullanıcının ev dizinine göreli bir dizin belirtildiği varsayılır.
9ecf04e1256ba153c86e74edb77cfd705c55a042nd Yapılandırmada şöyle bir satır varsa:</p>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <example>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd UserDir public_html
9ecf04e1256ba153c86e74edb77cfd705c55a042nd </example>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p><code>http://example.com/~orhan/dosya.html</code> adresine karşılık
9ecf04e1256ba153c86e74edb77cfd705c55a042nd gelen dosya yolu <code>/home/orhan/public_html/dosya.html</code> olarak
9ecf04e1256ba153c86e74edb77cfd705c55a042nd çözümlenir.</p>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p>Eğer başında bölü çizgisi bulunan bir dosya yolu belirtilirse,
9ecf04e1256ba153c86e74edb77cfd705c55a042nd kullanıcı sayfalarının bu dizinin altında kullanıcı ismini taşıyan
9ecf04e1256ba153c86e74edb77cfd705c55a042nd dizinlerde bulunacağı varsayılır. Yapılandırmada şöyle bir satır
9ecf04e1256ba153c86e74edb77cfd705c55a042nd varsa:</p>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <example>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd UserDir /var/html
9ecf04e1256ba153c86e74edb77cfd705c55a042nd </example>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p><code>http://example.com/~orhan/dosya.html</code> adresine karşılık
9ecf04e1256ba153c86e74edb77cfd705c55a042nd gelen dosya yolu <code>/var/html/orhan/dosya.html</code> olarak
9ecf04e1256ba153c86e74edb77cfd705c55a042nd çözümlenir.</p>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p>Eğer belirtilen dosya yolu bir yıldız imi (*) içeriyorsa yıldız iminin
9ecf04e1256ba153c86e74edb77cfd705c55a042nd yerine kullanıcı ismi yerleştirilerek elde edilen dosya yolu
9ecf04e1256ba153c86e74edb77cfd705c55a042nd kullanılır. Yapılandırmada şöyle bir satır varsa:</p>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <example>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd UserDir /var/siteler/*/sayfam
9ecf04e1256ba153c86e74edb77cfd705c55a042nd </example>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p><code>http://example.com/~orhan/dosya.html</code> adresine karşılık
9ecf04e1256ba153c86e74edb77cfd705c55a042nd gelen dosya yolu <code>/var/siteler/orhan/sayfam/dosya.html</code>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd olarak çözümlenir.</p>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p>Çok sayıda dizin veya dizin yolu belirtmek de mümkündür.</p>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <example>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd UserDir public_html /var/siteler
9ecf04e1256ba153c86e74edb77cfd705c55a042nd </example>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p><code>http://example.com/~orhan/dosya.html</code> adresini Apache önce
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <code>/home/orhan/public_html/dosya.html</code> olarak arayacak,
9ecf04e1256ba153c86e74edb77cfd705c55a042nd bulamazsa <code>/var/siteler/orhan/sayfam/dosya.html</code> olarak
9ecf04e1256ba153c86e74edb77cfd705c55a042nd arayacak, bulduğunda istenen dosyayı sunacaktır.</p>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd </section>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <section id="redirect">
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <title>Harici adreslere yönlendirme</title>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p><directive module="mod_userdir">UserDir</directive> yönergesi
9ecf04e1256ba153c86e74edb77cfd705c55a042nd kullanıcı dizini isteklerini harici adreslere yönlendirmek için de
9ecf04e1256ba153c86e74edb77cfd705c55a042nd kullanılabilir.</p>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <example>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd UserDir http://example.org/users/*/
9ecf04e1256ba153c86e74edb77cfd705c55a042nd </example>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p>Bu yapılandırmaya göre <code>http://example.com/~bob/abc.html</code>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd için yapılan bir istek <code>http://example.org/users/bob/abc.html</code>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd adresine yönlendirilecektir.</p>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd </section>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <section id="enable">
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <title>Bu özelliği kullanacak kullanıcıların sınırlandırılması</title>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p><directive module="mod_userdir">UserDir</directive> yönergesinin
9ecf04e1256ba153c86e74edb77cfd705c55a042nd açıklamasında belirtilen sözdizimini kullanarak bu işlevselliği bazı
9ecf04e1256ba153c86e74edb77cfd705c55a042nd kullanıcılara yasaklayabilirsiniz:</p>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <example>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd UserDir disabled root ahmet mustafa
9ecf04e1256ba153c86e74edb77cfd705c55a042nd </example>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p>Bu yapılandırma ile <code>disabled</code> deyiminin bulunduğu
9ecf04e1256ba153c86e74edb77cfd705c55a042nd satırdaki kullanıcılar dışında kalan bütün kullanıcılar için bu özellik
9ecf04e1256ba153c86e74edb77cfd705c55a042nd etkin olacaktır. Benzer şekilde, aşağıdaki yapılandırma ile
9ecf04e1256ba153c86e74edb77cfd705c55a042nd işlevselliğin belli kullanıcılar dışında kullanılmamasını da
9ecf04e1256ba153c86e74edb77cfd705c55a042nd sağlayabilirsiniz:</p>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <example>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd UserDir disabled<br />
9ecf04e1256ba153c86e74edb77cfd705c55a042nd UserDir enabled orhan yasar
9ecf04e1256ba153c86e74edb77cfd705c55a042nd </example>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p>Daha fazla örnek için <directive module="mod_userdir"
9ecf04e1256ba153c86e74edb77cfd705c55a042nd >UserDir</directive> yönergesinin açıklamasına bakabilirsiniz.</p>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd </section>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <section id="cgi">
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <title>Her kullanıcıya bir CGI dizini tahsis etmek</title>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p>Her kullanıcıya kendine ait bir CGI dizini vermek isterseniz, bir
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <directive module="core" type="section">Directory</directive> yönergesi
9ecf04e1256ba153c86e74edb77cfd705c55a042nd ile kullanıcının ev dizinindeki belli bir dizini CGI-etkin duruma
9ecf04e1256ba153c86e74edb77cfd705c55a042nd getirebilirsiniz.</p>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <example>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd &lt;Directory /home/*/public_html/cgi-bin/&gt;<br />
9ecf04e1256ba153c86e74edb77cfd705c55a042nd Options ExecCGI<br />
9ecf04e1256ba153c86e74edb77cfd705c55a042nd SetHandler cgi-script<br />
9ecf04e1256ba153c86e74edb77cfd705c55a042nd &lt;/Directory&gt;
9ecf04e1256ba153c86e74edb77cfd705c55a042nd </example>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p> <directive module="mod_userdir">UserDir</directive> yönergesinde
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <code>public_html</code> belirtildiği varsayımıyla
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <code>mesela.cgi</code> betiği bu dizinden şöyle bir adresle
9ecf04e1256ba153c86e74edb77cfd705c55a042nd yüklenebilir:</p>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <example>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd http://example.com/~orhan/cgi-bin/mesela.cgi
9ecf04e1256ba153c86e74edb77cfd705c55a042nd </example>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd </section>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <section id="htaccess">
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <title>Kullanıcıların yapılandırmayı değiştirmesine izin vermek</title>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <p>Kullanıcıların kendilerine ayrılan bölge içinde sunucu
9ecf04e1256ba153c86e74edb77cfd705c55a042nd yapılandırmasını değiştirebilmelerine izin vermek isterseniz,
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <code>.htaccess</code> dosyalarını kullanmalarına izin vermeniz
9ecf04e1256ba153c86e74edb77cfd705c55a042nd gerekir. Kullanıcının değiştirmesine izin vereceğiniz yönerge türlerini
9ecf04e1256ba153c86e74edb77cfd705c55a042nd <directive module="core">AllowOverride</directive> yönergesinde
9ecf04e1256ba153c86e74edb77cfd705c55a042nd belirtmeyi ihmal etmeyin. <code>.htaccess</code> dosyalarının kullanımı
9ecf04e1256ba153c86e74edb77cfd705c55a042nd ile ilgili daha ayrıntılı bilgi için <a href="htaccess.html">.htaccess
9ecf04e1256ba153c86e74edb77cfd705c55a042nd öğreticisi</a>ne bakınız.</p>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd </section>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd
9ecf04e1256ba153c86e74edb77cfd705c55a042nd</manualpage>
9ecf04e1256ba153c86e74edb77cfd705c55a042nd