I-AM-OBODO Posted May 19, 2014 Share Posted May 19, 2014 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 Quote Link to comment https://forums.phpfreaks.com/topic/288595-htaccess-not-working/ Share on other sites More sharing options...
trq Posted May 19, 2014 Share Posted May 19, 2014 What exactly does "no show" mean? Quote Link to comment https://forums.phpfreaks.com/topic/288595-htaccess-not-working/#findComment-1480020 Share on other sites More sharing options...
I-AM-OBODO Posted May 19, 2014 Author Share Posted May 19, 2014 its not working Quote Link to comment https://forums.phpfreaks.com/topic/288595-htaccess-not-working/#findComment-1480023 Share on other sites More sharing options...
trq Posted May 19, 2014 Share Posted May 19, 2014 What exactly does "not working" mean? Quote Link to comment https://forums.phpfreaks.com/topic/288595-htaccess-not-working/#findComment-1480026 Share on other sites More sharing options...
I-AM-OBODO Posted May 20, 2014 Author Share Posted May 20, 2014 when I try accessing my site, it just wont see it. I guess the .htaccess cant locate the .htpasswd. I also believe my directory structure is the problem but how do I fix it. Quote Link to comment https://forums.phpfreaks.com/topic/288595-htaccess-not-working/#findComment-1480119 Share on other sites More sharing options...
jazzman1 Posted May 21, 2014 Share Posted May 21, 2014 (edited) 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 May 21, 2014 by jazzman1 Quote Link to comment https://forums.phpfreaks.com/topic/288595-htaccess-not-working/#findComment-1480294 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.