Recent Topics

1 Apr 05, 2012 23:53    

Hi,

I would like to protect the inscription page of my b2evolution site.
so I created .htaccess and .htpasswd to protect the file register.php located in \blogs\htsrv.

so here is the code I put in the .htaccess


<Files register.php>

AuthUserFile \home\site\public_html\htsrv\.htpasswd
AuthGroupFile /dev/null
AuthName "Page d'inscription protégée"
AuthType Basic
Require valid-user

</Files>

In localhost, It work fine but online, it doesn't work and I dont know why?
So when I try to access to the inscription page, b2evolution give me error like :


404 Not Found

b2evolution cannot resolve the requested URL.

2 Apr 06, 2012 21:38

Why do you need that? You can disable user registration in backoffice.


Form is loading...