icheyne
12-23-2008, 05:32 AM
I had some trouble getting mod_rewrite working with Zenphoto to get me nice cruft-free URLs.
I assumed the problem was to do with SimpleScripts, which I used to install Zenphoto, but in fact it was because I had not setup an .htaccess file properly.
I had to:
Edit htaccess.txt in my installation folder. My album is at http://cheyne.net/photos, so the RewriteBase line said "RewriteBase /photos".
Rename htaccess.txt to .htaccess. (This was what I was missing)
I went to the Gallery Configuration page in my Zenphoto options and checked the "Enable mod_rewrite" option.
I assumed the problem was to do with SimpleScripts, which I used to install Zenphoto, but in fact it was because I had not setup an .htaccess file properly.
I had to:
Edit htaccess.txt in my installation folder. My album is at http://cheyne.net/photos, so the RewriteBase line said "RewriteBase /photos".
Rename htaccess.txt to .htaccess. (This was what I was missing)
I went to the Gallery Configuration page in my Zenphoto options and checked the "Enable mod_rewrite" option.