septiy23 Posted October 22, 2014 Share Posted October 22, 2014 Hi All I have directory fiole like this my_website/flash/file.html I want to disable redirect to file.html via URL. I have create .htpasswd and create .htaccess in flash folder with this code # the auth block AuthName "Please login." AuthGroupFile /dev/null AuthType Basic AuthUserFile C:/xampp/htdocs/.htpasswd # Here is where we allow/deny Order Deny,Allow Satisfy any Deny from all Require valid-user Allow from env=noauth Satisfy any its Work, people cant redirect via change the URL but it also occurs with valid user via Login Session. How to Set .htaccess file for bypass the .htpasswd via login Session user ? How to solve it? thanks Link to comment https://forums.phpfreaks.com/topic/291969-how-to-disable-redirect-html-file-on-a-folder-with-htaccess/ Share on other sites More sharing options...
jeffreyappel Posted April 8, 2015 Share Posted April 8, 2015 commented the redirection directive in httpd.conf file Link to comment https://forums.phpfreaks.com/topic/291969-how-to-disable-redirect-html-file-on-a-folder-with-htaccess/#findComment-1508494 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.