Jump to content
  • 0

Fluxcp hide folder


bdgro

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   0
  • Joined:  05/05/17
  • Last Seen:  

How to hide folder or directory on fluxcp?

 

to forbiden access

 

Thank You

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  505
  • Reputation:   126
  • Joined:  04/04/16
  • Last Seen:  

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

restrict permissions for that particular folder  

 

you can also do it with this ssh command 
 

chmod -R 700 /path/to/folder
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   0
  • Joined:  05/05/17
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   4
  • Joined:  04/15/16
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   0
  • Joined:  05/05/17
  • Last Seen:  

can u explained how i change .htaccess ?

 

what code can i put in .htaccess?

 

thank you

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   4
  • Joined:  04/15/16
  • Last Seen:  

create .htaccess file then put "Options -Indexes" without quote then upload it in fluxcp root directory

Link to comment
Share on other sites

×
×
  • Create New...