edi Posted January 27, 2010 Report Share Posted January 27, 2010 Var kaut kā uztaisīt, lai varētu piekonektēties phpmyadmin panelim no cita pc. savādāk var tik no localhost :) Quote Link to comment Share on other sites More sharing options...
EdgarsK Posted January 27, 2010 Report Share Posted January 27, 2010 :) protams ka var. Quote Link to comment Share on other sites More sharing options...
edi Posted January 27, 2010 Author Report Share Posted January 27, 2010 :) protams ka var. kā? httpd-vhosts.conf uztaisīt vēl vienu virtual host? :D Quote Link to comment Share on other sites More sharing options...
EdgarsK Posted January 27, 2010 Report Share Posted January 27, 2010 pma defaulti jabut localhost/phpmyadmin uz xamp ja lieto ruteri tad 192.168.x.x/phpmyadmin (apsties cmd->ipconfig) savu ip ja nelieto ruteri tad tava.ip.adrese.xx/phpmyadmin ja nestrada izrubi skaipu tur kur ir xampp. Quote Link to comment Share on other sites More sharing options...
edi Posted January 27, 2010 Author Report Share Posted January 27, 2010 pma defaulti jabut localhost/phpmyadmin uz xamp ja lieto ruteri tad 192.168.x.x/phpmyadmin (apsties cmd->ipconfig) savu ip ja nelieto ruteri tad tava.ip.adrese.xx/phpmyadmin ja nestrada izrubi skaipu tur kur ir xampp. Access forbidden! rāda. Quote Link to comment Share on other sites More sharing options...
2easy Posted January 27, 2010 Report Share Posted January 27, 2010 moš kāds .htaccess nelaiž klāt. paskaties vai nav Allow tikai no konkrētas ip (varbūt tikai lokāli no 127.0.0.1 atļauj?) Quote Link to comment Share on other sites More sharing options...
edi Posted January 27, 2010 Author Report Share Posted January 27, 2010 (edited) moš kāds .htaccess nelaiž klāt. paskaties vai nav Allow tikai no konkrētas ip (varbūt tikai lokāli no 127.0.0.1 atļauj?) tur pirmo reizi prasīja nokonfigurēt httpd-xampp.conf failu. http://paste.php.lv/443e2ff0fd359b6c669a0bec48c03373?lang=php kur <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))"> izņēmu ārā phpmyadmin un restartēju. tagad rāda vienkāši 403 ) arī uz localhost EDIT: izlaboju kā sākumā bija un tagad atkal rāda Access forbidden! New XAMPP security concept: Access to the requested object is only available from the local network. This setting can be configured in the file "httpd-xampp.conf". Edited January 27, 2010 by edi Quote Link to comment Share on other sites More sharing options...
2easy Posted January 27, 2010 Report Share Posted January 27, 2010 ne jau tas. es biju domājis, varbūt phpmyadmin folderī ir .htaccess fails, kas aizliedz piekļuvi no ārpuses vismaz tas ir ērts veids kā ierobežot piekļuvi Quote Link to comment Share on other sites More sharing options...
edi Posted January 27, 2010 Author Report Share Posted January 27, 2010 ne jau tas. es biju domājis, varbūt phpmyadmin folderī ir .htaccess fails, kas aizliedz piekļuvi no ārpuses vismaz tas ir ērts veids kā ierobežot piekļuvi nav tur htaccess fails, bet tur ir fails config.inc.php.safe http://paste.php.lv/c76b6e634ec09185b3d8c568a76837b5?lang=php Quote Link to comment Share on other sites More sharing options...
2easy Posted January 27, 2010 Report Share Posted January 27, 2010 nope, tas neko neietekmē šajā ziņā btw, tu vsp nekādam webam netiec klāt vai tikai tam phpmyadmin? http://ip-adrese/kkascits.htm vari atvērt? Quote Link to comment Share on other sites More sharing options...
edi Posted January 27, 2010 Author Report Share Posted January 27, 2010 nope, tas neko neietekmē šajā ziņā btw, tu vsp nekādam webam netiec klāt vai tikai tam phpmyadmin? http://ip-adrese/kkascits.htm vari atvērt? tikai phpmyadmin Quote Link to comment Share on other sites More sharing options...
2easy Posted January 27, 2010 Report Share Posted January 27, 2010 (edited) sazin, varbūt ka šis palīdz http://corpocrat.com/2008/09/28/how-to-fix-phpmyadmin-403-forbidden-error/ kr4 skaties googlē, ko citos forumos raksta, pēc keywordiem "phpmyadmin forbidden" vai "remote phpmyadmin forbidden" EDIT: bet ja to pašu http://ip-adrese/kkascits.htm ieliek iekš http://ip-adrese/phpmyadmin/kkascits.htm tad joprojām var vai vairs nevar apskatīt? jo var būt situācija, ka 403 headeri pati applikācija (phpmyadmin) nosūta ar php header(). ja tā, tad arī applikācijas konfigos to var menedžēt, lai atļauj remote. bet man drīzāk liekas, ka šis ierobežojums būs noslēpts kādā .htaccess Edited January 27, 2010 by 2easy Quote Link to comment Share on other sites More sharing options...
EdgarsK Posted January 27, 2010 Report Share Posted January 27, 2010 ja tu lieto xampp un netiec xxx.xxx.xxx.xxx/phpmyadmin tad edite config.inc.php un nomaini auth_type uz 'http' Quote Link to comment Share on other sites More sharing options...
edi Posted January 28, 2010 Author Report Share Posted January 28, 2010 ja tu lieto xampp un netiec xxx.xxx.xxx.xxx/phpmyadmin tad edite config.inc.php un nomaini auth_type uz 'http' tāpat 403 Quote Link to comment Share on other sites More sharing options...
waplet Posted January 28, 2010 Report Share Posted January 28, 2010 C:\xampp\security\xampp.users C:\xampp\htdocs\xampp\.htaccess kas šajos failos ir? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.