freak Posted January 4, 2008 Report 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.
Paulinjsh Posted January 4, 2008 Report 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
freak Posted January 4, 2008 Author Report 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?
Delfins Posted January 4, 2008 Report Posted January 4, 2008 Zvaigznītes vietā nemāki ierakstīt faila nosuakumu, koa? Apache RTFM
freak Posted February 17, 2008 Author Report 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
Recommended Posts