Kayıtlar

IIS7 etiketine sahip yayınlar gösteriliyor

Automatically Redirect HTTP requests to HTTPS on IIS 7 using URL Rewrite 2.0

Resim
In a previous article I covered the installation URL Rewrite 2.0 for IIS 7. This is a plug-in for IIS 7 that allows you to manipulate URL’s. URL Rewrite has a GUI to allow you to enter rules within IIS 7; in the background all this does is edit the web.config file of the site. I will show you how to create a rule both ways. In the following example we will redirect HTTP to HTTPs using URL Rewrite. You will need the following items completed in order for this to work correctly. – SSL Certificate for site installed in IIS. – Site properly installed and configured for SSL (site set up and binding in IIS configured). – URL Rewrite 2.0 is installed on the sever. GUI Version – Select the website you wish to configure – In the “Features View” panel, double click URL Rewrite You will notice there are currently no rules configured for this site. Click “Add Rules…” in the Actions menu to the right of the “Features View” panel Use the default “Blank rule” and press “OK”. Wh

HTTP DURUM KODLARI NE ANLAMA GELIYOR?

Sitenizdeki bir sayfayla ilgili olarak sunucunuza istekte bulunulduğunda (örneğin, kullanıcı bir tarayıcıdan sayfanıza eriştiğinde veya Googlebot sayfayı taradığında), sunucunuz isteğe yanıt olarak bir HTTP durum kodu döndürür.     Bu durum kodu isteğin durumuyla ilgili bilgiler sağlar. Bu durum kodu Googlebot'a sitenizle ve istenen sayfayla ilgili bilgi verir. Yaygın durum kodlarından bazıları şunlardır: 200  - sunucu sayfayı başarıyla döndürdü 404  - istenen sayfa yok 503  - sunucu geçici olarak kullanılamıyor HTTP durum kodlarının tümünü aşağıdaki listede görebilirsiniz. Daha fazla bilgi için  HTTP durum kodları hakkındaki W3C sayfasını  da ziyaret edebilirsiniz. 1xx  (Geçici yanıt)  Geçici bir yanıt belirten ve istekte bulunan kişiden devam etmek için bir işlem yapmasını isteyen durum kodları. Kod Açıklama  100  (Devam) İstekte bulunan, isteğe devam etmelidir. Sunucu, isteğin ilk bölümünü aldığını ve geri kalanını beklediğini belirtmek için bu kodu döndürür. 101  (Pro

Export IIS7 site list to XLS

%windir%\system32\inetsrv\appcmd list site > c:\sites.xls