Jump to content

Recommended Posts

Hi all.

 

I dont knw why I still can't get it right after many tries.

The .htaccess just can't locate the .bypassed file.

 

On my domain I created a folder called hidden in my web root and this is my authfile path:

/www/hidden/.htpasswd

 

but still no show. pls what am I missing here.

 

I even tried it on localhost:

/www/my_folder/hidden/.htpasswd

 

same no show.

 

help pls.

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/288595-htaccess-not-working/
Share on other sites

Can you confirm the existence of "/www" directory on the server? Not "/var/www/" or something similar. What OS/Linux distros is the server and local machine running? 

EDIT: you also need to confirm the apache mod_rewrite directive is enabled on both machines.

Edited by jazzman1
This thread is more than a year old. Please don't revive it unless you have something important to add.

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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.