ZenphotoCMS Forum
will my old htaccess trick work with zenphoto 1.2? - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: will my old htaccess trick work with zenphoto 1.2? (/thread-4042.html)



will my old htaccess trick work with zenphoto 1.2? - spike - 2008-11-09

Hi,

I've been so busy that I never updated beyond Zenphoto 1.1.3. If I were to upgrade to the current 1.2 version, would my .htaccess and .htpasswd trick for password protecting my installation still work?

See this thread for more details http://www.zenphoto.org/support/topic.php?id=1917

and what the trick is/was is adding this to the .htacess in the front of the default .htaccess that comes with the zenphoto build

AuthName "Secure" AuthType Basic AuthUserFile /my-complete-filepath/photos/.htpasswd Require valid-user
I assume I only have to change the RewriteBase to point to my current directory too before I run the update?

Thanks!




will my old htaccess trick work with zenphoto 1.2? - sbillard - 2008-11-09

You will have to port those changes to the current .htaccess file. Otherwise they should work.




will my old htaccess trick work with zenphoto 1.2? - spike - 2008-11-10

Thank you sbillard! I will try to update over the weekend.