• 30-08-2008, 18:10:25
    #1
    Üyeliği durduruldu
    Selamun aleykum arkadaslar:
    Server'im once php sayfalari goruyor, nasil html yapabilirim?



    htaccess icinden su kodlari ekledim:
    DirectoryIndex filename.html
    Buna ragmen APACHE sayfasi cikti, orada ise:
    You may now add content to the directory /var/www/html/. Note that until you do so, people visiting your website will see this page and not your content. To prevent this page from ever being used, follow the instructions in the file /etc/httpd/conf.d/welcome.conf.
    bunlari diyor. Ve bende welcome.conf dosyasinin icindeki 4satirin basina # getirdim olmadi, hatta sildim o 4 satiri, yinede index.html sayfasini okumuyor ve APACHE sayfasi cikiyor.
    htaccess'i sildigimde ise diretk olarak index.php yani forum sayfasi cikiyor bu seferde...

    Sorunuma nasil care bulunabilir?
  • 30-08-2008, 18:16:06
    #2
    .htaccess'e bunu ekle
    DirectoryIndex index.html index.php
    ilk index.html'yi açar.Ben böyle yapıyorum.
  • 30-08-2008, 18:20:58
    #3
    Üyeliği durduruldu
    Oh beee ALLAH razi olsun kardes.
    ben sadece index.html 'i veriyordum ve ise yaramiyordu, php'yi de ekleyince oldu Seninki gibi
    Tesekkurler
    + REP
  • 31-01-2009, 13:50:43
    #4
    ya kardeş çok sağol harbi çok işime yaradı teşekkürler