WHM cPanel » WHM 2086

Listeleme iptali

http://forum.whmdestek.com/

Go Back   WHM/cPanel Support Platform » Türkçe » WHM cPanel » WHM 2086
 
Firma tanıtımı!
Firmanızın reklamını hemen yapın!
Reklamlar
Extreme yoksa Sayyac var!
Ücretsiz İstatistik Servisi
Sayyac.com
Reklam Alın!
Günlük 5k tekil ve üzeri sitelerinize reklam!
Fixreklam

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 02.07.08, 13:36
Atari
 
Join Date: Jul 2008
Posts: 8
Rep Power: 0
pchayat is on a distinguished road
Listeleme iptali

Merhabalar ftp ye dosya atınca
misal..
Index of /
  • DLL
şeklinde listeliyor ( tüm sitelerde )


bunu direct admindeki gibi 404 hatası döndürsün istiyorum nasıl yapabilirim?

site bazlı istemiyorum tüm sitelerde index yoksa listemesin 404 döndürsün

şimdiden teşekkürler
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 02.07.08, 13:54
baracuda's Avatar
SysAdmin
 
Join Date: Jun 2008
Posts: 308
Rep Power: 2021
baracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond repute
Belirttiğin isteğin teknik adı directory listening dir, bu şekilde aratmanız daha verimli sonuçlar almanıza yardımcı olur. Windowsta IIS den siteye ait directory listenin yetkisini kaldırmanız yeterli oluyor. Ancak talep ettiğiniz işlem linuxda kuvvetle muhtemelen .htacces içine yerleştirmeniz gereken bir satırlık kodla çözülecektir.

Yine whmden default skelation içinden standart bir default sayfa oluşturup, sunucuda oluşturulan tüm domainlere belirttiğiniz index sayfasının atılmasını saylayabilirsiniz. Örn. yapım aşamasına vb.

Saygılar.
__________________
Bir kişinin ki yardımcısı Allah ola, Var kıyas eyle ol ne şah ola!.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 02.07.08, 14:50
Atari
 
Join Date: Jul 2008
Posts: 8
Rep Power: 0
pchayat is on a distinguished road
teşekkürler

Linux Centos 5 kullanıyorum acaba ssh komutları vermeniz mümkün mü?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 02.07.08, 14:54
baracuda's Avatar
SysAdmin
 
Join Date: Jun 2008
Posts: 308
Rep Power: 2021
baracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond repute
ssh komutları derken? tam olarak istediğiniz komutların listesi gibi bişeymidir?

Saygılar.
__________________
Bir kişinin ki yardımcısı Allah ola, Var kıyas eyle ol ne şah ola!.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 02.07.08, 15:14
Atari
 
Join Date: Jul 2008
Posts: 8
Rep Power: 0
pchayat is on a distinguished road
evet bu listelemeyi engelliyip misal hata.htmli gösterelim diyorum bunun için yapmam gereken işlemler neler ssh üzerinden sonuçta sitenin bulunduğu klasöre atsam listelenmiycek ama her hesap açtığımda bunu yapmak zorunda kalacağım.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 03.07.08, 12:06
Cedric's Avatar
WHM VIP Member
 
Join Date: Mar 2008
Posts: 163
Rep Power: 1
Cedric is on a distinguished road
ssh da

pico /etc/httpd/conf/httpd.conf

yap.

karşına açılınca orada sitenle ilgili yerde aşağıdaki satırı bul

<Directory /klasoradi


onun hemen sonrasındaki satırda yazan:
Options Indexes FollowSymLinks
satırını
Options -Indexes FollowSymLinks

haline dönüştür.

ctrl+x ile kaydet ve çık.

akabinde apache restart yapmalısın.





.htaccess ile de yapılabiliyor. bunun için de site içinde .htaccess dosyası oluşturup
IndexIgnore *
satırını eklemeniz gerekiyor.


Quote:
Belirttiğin isteğin teknik adı directory listening dir, bu şekilde aratmanız daha verimli sonuçlar almanıza yardımcı olur.

yazdığım bu yanıtı aynen arkadaşın söylediği gibi aratıp buldum.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 03.07.08, 12:21
baracuda's Avatar
SysAdmin
 
Join Date: Jun 2008
Posts: 308
Rep Power: 2021
baracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond reputebaracuda has a reputation beyond repute
güzel paylaşım, teşekkürler.

Saygılar.
__________________
Bir kişinin ki yardımcısı Allah ola, Var kıyas eyle ol ne şah ola!.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 03.07.08, 12:40
Atari
 
Join Date: Jul 2008
Posts: 8
Rep Power: 0
pchayat is on a distinguished road
<Directory "/">
Options All
AllowOverride All
</Directory>

<Directory "/usr/local/apache/htdocs">
Options Includes -Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

</Directory>

şeklinde yaptım restart attım olmadı reboot attım gene olmadı

( bu arada ilginiz için teşekkürler )
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 03.07.08, 12:50
Cedric's Avatar
WHM VIP Member
 
Join Date: Mar 2008
Posts: 163
Rep Power: 1
Cedric is on a distinguished road
<Directory /kullanıcı adın ile ilgili klasör adı

orneğin
<Directory /home/kullanıcıadın/public_html


gibi bir satır yok mu o siteye özel?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old 03.07.08, 12:53
Atari
 
Join Date: Jul 2008
Posts: 8
Rep Power: 0
pchayat is on a distinguished road
ha anladım peki her host açtığımda bunu yapmam gerekecek otomatik bi şekli yokmudur hocam bunun?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Sign up for PayPal and start accepting credit card payments instantly.

Navigasyon
Menü