Snukzz Posted July 15, 2005 Report Share Posted July 15, 2005 Lieta taada... man ir 1 serveris uz kura staav 2 lapas. Viena izmanto register_globals, kas noraaadiiti php.ini, bet otra nee... kaa lai es apmierinu abas puses... Pagaidaam, neatkariigi vai register_globals ir iesleegts vai nee mainaas tikai gljukojoshaa lapa... resp. ja register_globals=on gluko 1. lapa ja off tad 2. ir ieteikumi? Link to comment Share on other sites More sharing options...
Delfins Posted July 15, 2005 Report Share Posted July 15, 2005 principā, tur kur lapa ir aisīta ar register_globals=off, tad tai nevajadzētu būt problēmām arī ar ON... tā kā drīzāk tavas lapas ir līki kodētas Link to comment Share on other sites More sharing options...
Snukzz Posted July 15, 2005 Author Report Share Posted July 15, 2005 Bljaa.... tur taa lieta, ka es taas netaisiiju... nu ta neko, bet varbuut ir varianti kaa serverim nervus pakutinaat... es meegjinaaaju ieksh .htacess noraadiit to register globals... - vish negaaja - tad es izlasiiju ka jamais jaaliek ieksh tagiem <directory> - tikai kur pats tags jaaliek - pats jeezus nezin.... ieteikumi? Link to comment Share on other sites More sharing options...
Delfins Posted July 15, 2005 Report Share Posted July 15, 2005 Bljaa.... tur taa lieta, ka es taas netaisiiju... nu ta neko, bet varbuut ir varianti kaa serverim nervus pakutinaat... es meegjinaaaju ieksh .htacess noraadiit to register globals... - vish negaaja - tad es izlasiiju ka jamais jaaliek ieksh tagiem <directory> - tikai kur pats tags jaaliek - pats jeezus nezin.... ieteikumi? 19424[/snapback] nu .htaccess gan ir jāiet... jo pats tā izmantoju (setoju PHP variables) vai tev Apacis pareizi sakonfigurēts, ka viņš ņem pretī to .htaccess?! ieraksti tur kaut vai `Deny from all` (pārbaudīt vai iet vispār) un kad apacis sakonfigurēts, tad php_flag register_globals off Link to comment Share on other sites More sharing options...
PheliX Posted July 15, 2005 Report Share Posted July 15, 2005 vai tik vaina nav "AllowOverride All"... Link to comment Share on other sites More sharing options...
Snukzz Posted July 15, 2005 Author Report Share Posted July 15, 2005 Mjaa.. laikam server-configs cupaa.... Ieliku shitaa <Directory /> AllowOverride None </Directory> servers adbild ar 500 erroru un error logs saka - <Directory> not allowed here kur un kas man ir jasamaina lai vish buutu Allowed ? :) Link to comment Share on other sites More sharing options...
Delfins Posted July 15, 2005 Report Share Posted July 15, 2005 Mjaa.. laikam server-configs cupaa....Ieliku shitaa <Directory /> AllowOverride None </Directory> servers adbild ar 500 erroru un error logs saka - <Directory> not allowed here kur un kas man ir jasamaina lai vish buutu Allowed ? :) 19429[/snapback] blin. iekš httpd.conf <Directory /mans/web> AllowOverride All </Directory> iekš /mans/web/.htaccess php_flag register_globals off PS: restart apace Link to comment Share on other sites More sharing options...
Snukzz Posted July 15, 2005 Author Report Share Posted July 15, 2005 blin. iekš httpd.conf <Directory /mans/web> AllowOverride All </Directory> iekš /mans/web/.htaccess php_flag register_globals off PS: restart apace 19430[/snapback] Man jau taa likaas, bet labaak paarprasiit zinoshiem cilveekiem! Paldies :D Link to comment Share on other sites More sharing options...
Snukzz Posted July 15, 2005 Author Report Share Posted July 15, 2005 Zini ko... vinsh man atbildeja ? Vinsh teica ka php_flag not allowed here... Link to comment Share on other sites More sharing options...
Delfins Posted July 15, 2005 Report Share Posted July 15, 2005 Zini ko... vinsh man atbildeja ? Vinsh teica ka php_flag not allowed here... 19435[/snapback] ak mans dievs, cik visi slinki.... http://codenewbie.com/documentation/php_ma...on.changes.html PS: lieto google, pa to laiku kamēr gaidi atbildi var 10 serverus sakonfigurēt Link to comment Share on other sites More sharing options...
Snukzz Posted July 15, 2005 Author Report Share Posted July 15, 2005 Es jau guugleeju -bet tur kur es luureeju - tur neko nevar saprast ;P Link to comment Share on other sites More sharing options...
Snukzz Posted July 15, 2005 Author Report Share Posted July 15, 2005 Man shitadas rindinjas nav <IfModule mod_php4.c> php_value include_path ".:/usr/local/lib/php" php_admin_flag safe_mode on </IfModule> meeginaashu salikt! Link to comment Share on other sites More sharing options...
Snukzz Posted July 15, 2005 Author Report Share Posted July 15, 2005 Dir*** ir... nav man uz servera taada mod_php4.c - ako nu? Link to comment Share on other sites More sharing options...
Delfins Posted July 15, 2005 Report Share Posted July 15, 2005 Dir*** ir... nav man uz servera taada mod_php4.c - ako nu? 19442[/snapback] kā tad tu laid PHP - apache module vai CGI ? Link to comment Share on other sites More sharing options...
Snukzz Posted July 15, 2005 Author Report Share Posted July 15, 2005 Tip es zinu... :P Man jau skiet ka kaa moduli... tikai tad kaapeec servers taadu failu neatrada?... ai neko nesaprotu... :unsure: Link to comment Share on other sites More sharing options...
Recommended Posts