Jump to content
Sign in to follow this  
FapFap

Website

Recommended Posts

Put .htaccess file with the following contents in each directory which must be protected:

deny from all

 


Share this post


Link to post
Share on other sites
1 hour ago, V3ct0r said:

Put .htaccess file with the following contents in each directory which must be protected:


deny from all

 

 

4 hours ago, Stinger said:

Create .htaccess file in the directory  and add into this code:


Options All -Indexes

 

still i can load those folders/files

Share this post


Link to post
Share on other sites

@FapFap, make sure that module 'rewrite_module' is loaded.

 

httpd.conf

LoadModule rewrite_module modules/mod_rewrite.so

Note: solution for Apache web server


Share this post


Link to post
Share on other sites
On 8/28/2018 at 10:46 PM, V3ct0r said:

@FapFap, make sure that module 'rewrite_module' is loaded.

 

httpd.conf


LoadModule rewrite_module modules/mod_rewrite.so

Note: solution for Apache web server

Yes it is loaded but still doesn't work

Share this post


Link to post
Share on other sites
On 9/8/2018 at 12:35 PM, FapFap said:

Yes it is loaded but still doesn't work

in your case ".htaccess" not loading 
in "httpd.conf" search for
AllowOverride 
and make it
AllowOverride All

Share this post


Link to post
Share on other sites
On 9/11/2018 at 12:54 PM, mkhzaleh said:

in your case ".htaccess" not loading 
in "httpd.conf" search for
AllowOverride 
and make it
AllowOverride All

still same im using zend server

Share this post


Link to post
Share on other sites
On 9/13/2018 at 12:52 PM, FapFap said:

still same im using zend server

use index.php

and leave it empty file so accessing it will give blank page

you can add html redirect if you want use google...

Share this post


Link to post
Share on other sites
53 minutes ago, Fisal Moha said:

use index.php

and leave it empty file so accessing it will give blank page

you can add html redirect if you want use google...

I think use xampp better?

@FapFap

Edited by Rinor

Share this post


Link to post
Share on other sites
16 hours ago, Fisal Moha said:

use index.php

and leave it empty file so accessing it will give blank page

you can add html redirect if you want use google...

im using index.php already but still same

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
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Sign in to follow this  

×
×
  • Create New...