bdgro Posted May 23, 2017 Posted May 23, 2017 How to hide folder or directory on fluxcp? to forbiden access Thank You
0 Cyro Posted May 23, 2017 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
0 bdgro Posted May 23, 2017 Author 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
0 maxine02 Posted May 23, 2017 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
0 bdgro Posted May 23, 2017 Author Posted May 23, 2017 can u explained how i change .htaccess ? what code can i put in .htaccess? thank you
0 maxine02 Posted May 23, 2017 Posted May 23, 2017 create .htaccess file then put "Options -Indexes" without quote then upload it in fluxcp root directory
Question
bdgro
How to hide folder or directory on fluxcp?
to forbiden access
Thank You
6 answers to this question
Recommended Posts