march Posted January 17, 2006 Report Share Posted January 17, 2006 (edited) Gribēju apachem uzlikt lai sākumā atver nevis index.htm, bet index.php. Config failā visu ierakstu (pie directory index), bet restartējot serveri atveras tikai visu failu saraksts, arī index.php tur parādās, bet uzreiz neatveras. Rekur pierādījums: (failu saraksts atverot serveri un httpd.conf fails) edit: index.html un index.htm ver vaļā normāli Modulis enablots ? a kas tas par moduli ? Edited January 17, 2006 by march Link to comment Share on other sites More sharing options...
Delfins Posted January 17, 2006 Report Share Posted January 17, 2006 (edited) Modulis enablots ? Uz citām dirām arī tā ir? Cache iztīrīji ? Edited January 17, 2006 by Delfins Link to comment Share on other sites More sharing options...
php_Stopp Posted January 17, 2006 Report Share Posted January 17, 2006 sāc ar refresh pogas nospiešanu.. :) Link to comment Share on other sites More sharing options...
march Posted January 17, 2006 Author Report Share Posted January 17, 2006 sāc ar refresh pogas nospiešanu.. :) tā vēl tik trūka, ka es nebūtu refreshojis Link to comment Share on other sites More sharing options...
bubu Posted January 17, 2006 Report Share Posted January 17, 2006 Apači restartēji? Pareizo httpd.conf failu labo? Link to comment Share on other sites More sharing options...
Klez Posted January 17, 2006 Report Share Posted January 17, 2006 # # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. # # The index.html.var file (a type-map) is used to deliver content- # negotiated documents. The MultiViews Option can be used for the # same purpose, but it is much slower. # DirectoryIndex index.html index.htm index.php iznjem to moduli ... atstaaj vienu pashu ... Link to comment Share on other sites More sharing options...
bubu Posted January 17, 2006 Report Share Posted January 17, 2006 (edited) Klez: Bez moduļa nebūs nekāda DirectoryIndex direktīvas vērā ņemšana. Edited January 17, 2006 by bubu Link to comment Share on other sites More sharing options...
NeoX Posted January 18, 2006 Report Share Posted January 18, 2006 Starp citu man kaut kad bija taada pati probleema, httpd.conf nokonfots, PHP enablots, uzstaadiits, nokonfots, apacis par sintaksi neko nebljaustaas, bet iepuut, neiet... Es tikai vairs neatceros, palaidu uz taa kompja beigaas vai nee! btw, ja kompim nav tiiklenes, apacis/PHP neiet? Link to comment Share on other sites More sharing options...
Klez Posted January 18, 2006 Report Share Posted January 18, 2006 ja kompim nau tiiklenes, tad php/apacis iet! Link to comment Share on other sites More sharing options...
bubu Posted January 18, 2006 Report Share Posted January 18, 2006 PHP ies vienmēr. Apacis/MySQL ies, ja būs TCP/IP protokols uzinstalēts. (MySQL var pietvīkot arī bez tcp/ip) Link to comment Share on other sites More sharing options...
ViszinisA Posted January 19, 2006 Report Share Posted January 19, 2006 ^_^ mājās uz servera man tai conf'aa ir <IfModule mod_dir.c> DirectoryIndex index.html DirectoryIndex index.htm DirectoryIndex index.php DirectoryIndex default.htm </IfModule> bet skolaa kur ir izvietota majas lapa conf failaa ir vnk DirectoryIndex index.html index.htm index.php default.htm viss vienaa ridinjaa ^_^ man liekas ka maajaas no saakuma bija arii viss vienaa rindinjaa bet veelaak es vnk panjeemu gatavus conf'us no skolas ^_^ (visus) Link to comment Share on other sites More sharing options...
Delfins Posted January 19, 2006 Report Share Posted January 19, 2006 izņem rindiņas <IfModule mod_dir.c> </IfModule> Link to comment Share on other sites More sharing options...
Recommended Posts