• 0
Sign in to follow this  
bdgro

Fluxcp hide folder

Question

How to hide folder or directory on fluxcp?

 

to forbiden access

 

Thank You

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

restrict permissions for that particular folder  

 

you can also do it with this ssh command 
 

chmod -R 700 /path/to/folder

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0
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

Share this post


Link to post
Share on other sites
  • 0

can u explained how i change .htaccess ?

 

what code can i put in .htaccess?

 

thank you

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this