bdgro Posted May 23, 2017 Share Posted May 23, 2017 How to hide folder or directory on fluxcp? to forbiden access Thank You Quote Link to comment Share on other sites More sharing options...
0 Technoken Posted May 23, 2017 Share Posted May 23, 2017 Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted May 23, 2017 Share Posted May 23, 2017 restrict permissions for that particular folder you can also do it with this ssh command chmod -R 700 /path/to/folder Quote Link to comment Share on other sites More sharing options...
0 bdgro Posted May 23, 2017 Author Share Posted May 23, 2017 Thank you for ur attention.. but i got a problem.. Warning: require_once(config/groups.php): failed to open stream: Permission denied in /var/www/html/index.php on line 43 Fatal error: require_once(): Failed opening required 'config/groups.php' (include_path='lib:.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 43 Quote Link to comment Share on other sites More sharing options...
0 maxine02 Posted May 23, 2017 Share Posted May 23, 2017 27 minutes ago, bdgro said: How to hide folder or directory on fluxcp? to forbiden access Thank You Do this in your .htaccess. add this Options -Indexes if you don't have .htaccess create .htaccess in your fluxcp root dir One option also is to create blank index.html but I prefer the .htaccess Quote Link to comment Share on other sites More sharing options...
0 bdgro Posted May 23, 2017 Author Share Posted May 23, 2017 can u explained how i change .htaccess ? what code can i put in .htaccess? thank you Quote Link to comment Share on other sites More sharing options...
0 maxine02 Posted May 23, 2017 Share Posted May 23, 2017 create .htaccess file then put "Options -Indexes" without quote then upload it in fluxcp root directory Quote Link to comment Share on other sites More sharing options...
How to hide folder or directory on fluxcp?
to forbiden access
Thank You
Link to comment
Share on other sites