• 16-09-2009, 15:54:37
    #1
    Üyeliği durduruldu
    merhaba arkadaşlar, cpanel kullanırken mantık şuydu, eğer dizinde , index.html ve index.php var ise .html i önde göster mantığı fakat plesk yüklediğim zaman .php önde gösteriliyor.. bunun nasıl index.html olmasını sağlayabilirim
  • 16-09-2009, 16:55:20
    #2
    cat /etc/httpd/conf/httpd.conf | grep DirectoryIndex cevabı nedir?
  • 17-09-2009, 06:30:21
    #3
    Üyeliği durduruldu
    Creep adlı üyeden alıntı: mesajı görüntüle
    cat /etc/httpd/conf/httpd.conf | grep DirectoryIndex cevabı nedir?
    [root@****** ~]


    # cat /etc/httpd/conf/httpd.conf | grep DirectoryIndex
    # DirectoryIndex: sets the file that Apache will serve if a directory
    DirectoryIndex at_domains_index.html index.html index.html.var index.shtml index.cfm index.php index.htm
    budur hocam
  • 17-09-2009, 15:21:58
    #4
    Alıntı
    sed -i 's/DirectoryIndex index.php/DirectoryIndex index.html index.php/g' /etc/httpd/conf.d/*.conf
    Alıntı
    service httpd restart
    Eğer sorunun bu şekilde çözülmezse, visitor mesajlarım bölümüne email adresini bırak detaylı inceleyelim daha sonra...