freak Posted January 4, 2008 Report Share Posted January 4, 2008 Kā man izveidot ar .htaccess, ka atsevishkiem php failiem ir pieeja tikai tad, ja tos izsauc citi php faili no ta pasha severa. Respektivi useris ierakstot http://lapa.lv/fails.php nevar piekljut. Link to comment Share on other sites More sharing options...
Paulinjsh Posted January 4, 2008 Report Share Posted January 4, 2008 (edited) <Files ~ "*"> Order allow,deny Deny from all </Files> to ieliec kādā submapē piem., /lib/ Edited January 4, 2008 by Paulinjsh Link to comment Share on other sites More sharing options...
freak Posted January 4, 2008 Author Report Share Posted January 4, 2008 <Files ~ "*"> Order allow,deny Deny from all </Files> to ieliec kādā submapē piem., /lib/ a kā teiksim norādīt failus, kuriem ir pieeja un parējos aizliegt? Link to comment Share on other sites More sharing options...
Delfins Posted January 4, 2008 Report Share Posted January 4, 2008 Zvaigznītes vietā nemāki ierakstīt faila nosuakumu, koa? Apache RTFM Link to comment Share on other sites More sharing options...
freak Posted February 17, 2008 Author Report Share Posted February 17, 2008 (edited) Es piemeram uztaisu .htaccess failu ar deny from all un iemetu folderi, bet tad netiek klat ari pashi skripti no servera. Piemeram, ja iemetu to faillu folderii /lapasdizains/ , ka satur lapas dizaina bildes, tad lapa tas bildes neielade. ko darit? Edited February 17, 2008 by freak Link to comment Share on other sites More sharing options...
Recommended Posts