PHP Classes

htaccess needed

Recommend this page to a friend!

      PHP File Manager  >  All threads  >  htaccess needed  >  (Un) Subscribe thread alerts  
Subject:htaccess needed
Summary:to work with success
Messages:5
Author:Superluk
Date:2017-04-11 10:57:03
 

  1. htaccess needed   Reply   Report abuse  
Picture of Superluk Superluk - 2017-04-11 10:57:03
if you try to use filemanager.php you need to have the .htaccess in your filesystem:

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>


This will help ...

regards

  2. Re: htaccess needed   Reply   Report abuse  
Picture of Duong Huynh Nghia Duong Huynh Nghia - 2017-04-11 14:52:50 - In reply to message 1 from Superluk
Could you tell me your test environment ?
I tested in my MAC with php 5.6 without file htaccess and enable password protect ( it's using Basic Authenticate) and it seems to be working well

Regards.

  3. Re: htaccess needed   Reply   Report abuse  
Picture of Superluk Superluk - 2017-04-12 05:50:25 - In reply to message 2 from Duong Huynh Nghia
Hi, i have tested the filemanager on a server (not on 'localhost'), there is also PHP 5.6 running. And works only with .htaccess

I like this filemanager and it would be fine to see progress in more functions than now like: sort folders in left sidepanel, use breadscumps as menu, and so on ....

this code and structure is a good foundation for a great app, programmers can use in future.

regards

  4. Re: htaccess needed   Reply   Report abuse  
Picture of Duong Huynh Nghia Duong Huynh Nghia - 2017-04-12 07:43:26 - In reply to message 3 from Superluk
Yes, I'm planing to do what exactly what you suggested,

I will update to here and github soon

thanks.

  5. Re: htaccess needed   Reply   Report abuse  
Picture of Terry Woody Terry Woody - 2017-04-13 16:12:33 - In reply to message 3 from Superluk
Yes, will not work without the suggested .htaccess file.

On apache, php5.6, PHP-FM and without .htaccess as described the login alert reappears even though entering correct password.

But, very nice and clean PHP code:)

 
For more information send a message to info at phpclasses dot org.