Linuxapache上,如何設定某檔案只能內網讀取 - LinuxGilbert · 2016-07-06Table of ContentsPostCommentsRelated Posts請問apache網站系統,如何設定某檔案只能被內網讀取 如 content.html 這個檔只能被網站裡的 read_content.php 檔來讀取, 而一般使用者無法拜訪content.html -- LinuxAll CommentsMargaret2016-07-08不要放在使用者看的到的目錄啊Edward Lewis2016-07-11簡單的例子給你參考: httpd.confRewriteEngine onRewriteRule content.html /not_allow.html [L]Eden2016-07-14可以看一下 httpd.conf,一般會有個語法禁止 .ht 開頭檔案無法使用的語法,主要用 <Files> ... </Files>語法來達成,可以參考看看...Hedwig2016-07-17用 htaccess 或者在檔案內加入判斷IP的語法Olive2016-07-20content.html放httpd以外的目錄,用php去開檔讀檔Poppy2016-07-24樓上這個方式的確是更好方式James2016-07-24nullspace的方法+1Related Posts各位建議用舊的 Office 2010 或新的 LibreOffice 呢?在背景/後台執行一連串命令?sk_buffer size?NVidia Driver/CUDA 安裝Slackware 14.2
All Comments