Jump to content

.htaccess not working


I-AM-OBODO

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.