hoho Posted May 14, 2008 Report Share Posted May 14, 2008 paarnesu saitu no viena hostinga un otru, un tagad lapa neeiet. jautaajums - ja man ir fails 'site' bez paplasinaajuma, bet ar php skriptu ieksaa, kaa uztaisiit lai atverot linku site.lv/site/, tiktu nolasiits tas fails? Link to comment Share on other sites More sharing options...
black Posted May 14, 2008 Report Share Posted May 14, 2008 Varbūt pārvieto 'site' uz '/site/index.php'? Link to comment Share on other sites More sharing options...
hoho Posted May 14, 2008 Author Report Share Posted May 14, 2008 Nee, vecajaa hostingaa viss straadaaja, negribas neko paartaisiit. Man liekas tur .htaccess failaa vajag kautko piekonfigureet ? <Files site> ForceType application/x-httpd-php </Files> domaaju, bet nepaliidzeeja ... nezinu ... :( Link to comment Share on other sites More sharing options...
Delfins Posted May 14, 2008 Report Share Posted May 14, 2008 (edited) Vajadzētu palīdzēt,... restartēji? bet anyway... rakstīt PHP iekš failiem bez paplašinājumiem ir pati pirmā visrupjākā PHP-kodera kļūda. Edited May 14, 2008 by Delfins Link to comment Share on other sites More sharing options...
Val Posted May 14, 2008 Report Share Posted May 14, 2008 toč vajag slashu "site.lv/site/" beigās, ja jau "site" ir fails? Link to comment Share on other sites More sharing options...
Klez Posted May 15, 2008 Report Share Posted May 15, 2008 man liekas ka cilveeks nezina kas ir mod rewrite .... droshi vien ka negrib lai ir saite.php ...., tip smukie url .. Link to comment Share on other sites More sharing options...
foxsk8 Posted May 16, 2008 Report Share Posted May 16, 2008 Ar mod rewrite ir tā, ja projekts jau ir liels un linki jau visi ir zināmi piem tur uz kādu rakstu iet index.php?showtopic=10567 , tad no tā nekādās labums nebūs. Link to comment Share on other sites More sharing options...
Klez Posted May 16, 2008 Report Share Posted May 16, 2008 bet vai tad ar mod rewrite to index.php?showtopic=10567 nevar kaut kaa shaadi /index/showtopic/10567 vai /index/showtopic|10567 Link to comment Share on other sites More sharing options...
hoho Posted May 19, 2008 Author Report Share Posted May 19, 2008 kaapeec nav pareizi rakstiit failos bez paplasinajumiem? tas nav drosi? <Files site> ForceType application/x-httpd-php </Files> Man nepaliidzeeja, man piedaavaa saglabaat to failu 'lat' ... neziniet kaapeec taa? :) Link to comment Share on other sites More sharing options...
Klez Posted May 20, 2008 Report Share Posted May 20, 2008 ja tu gribi bez paplashnaajum tad tev jaanoraada katram failam tips <Files site lat eng pp> ForceType application/x-httpd-php </Files> vai arii uzlikt apache ka default tips ir application/x-httpd-php Link to comment Share on other sites More sharing options...
hoho Posted May 20, 2008 Author Report Share Posted May 20, 2008 ja tu gribi bez paplashnaajum tad tev jaanoraada katram failam tips <Files site lat eng pp> ForceType application/x-httpd-php </Files> vai arii uzlikt apache ka default tips ir application/x-httpd-php tas ForceType man nepaliidzeeja ... rada Internal Server Error :( Link to comment Share on other sites More sharing options...
Grey_Wolf Posted May 21, 2008 Report Share Posted May 21, 2008 kur tu to pieliki ? pieliekot ForceType application/x-httpd-php fails bez paplasinajuma izpildaas kaa PHP ... UN tiek ignoreti visi citi paplasinajumi ..... *.gif , *.jpg utt ... viss tiek gruusts caur php parseri ..... BET kaa jau Delfins mineja ... tas ir galiigs nepraats.... taa nav tikai rupja kljuda --> tas ir totaals marazms un pilniga, visparpienjemto, standartu ignoreshana.... IMPHO kaa arii pamatiigs droshibas caurums ... ja fails bez paplasinajuma --> tad dazaas minutes var uzzinat tavas Mysql paroles... (90% gadijumos tachu vinjas tiek saglabaats failaa .... ) ....... Link to comment Share on other sites More sharing options...
andrisp Posted May 21, 2008 Report Share Posted May 21, 2008 Grey_Wolf, lai gan par 100% piekrītu, ka tas ir neprāts (kau vai lietotājs uploadēs bildīti ar injecētu PHP :)), bet pilnībā nepiekrītu par tām MySQL parolēm. Link to comment Share on other sites More sharing options...
Grey_Wolf Posted May 21, 2008 Report Share Posted May 21, 2008 bet pilnībā nepiekrītu par tām MySQL parolēm. un kas vinjam notiek pashlaik? fails bez paplasinajuma tiek izvadiits uz scriina ;) taa kaa biezji SQL paroles tiek glabaatas kodaa ... un pienjemot kaa tas ir bez paplasinajuma.... viss notiekaas... // Tas bija domaats tieshi taa /// Link to comment Share on other sites More sharing options...
andrisp Posted May 21, 2008 Report Share Posted May 21, 2008 Pag, tu taču pats teici: fails bez paplasinajuma izpildaas kaa PHP ... Un tā, ka paroles 99.9 procentos ir iekš PHP koda, tad tās nebūs redzamas. Link to comment Share on other sites More sharing options...
Recommended Posts