ZenphotoCMS Forum
1.2.8 htaccess problem - 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: 1.2.8 htaccess problem (/thread-6363.html)



1.2.8 htaccess problem - Barbara - 2010-01-02

Just upgraded to the latest nightly build. I've been using this rule to remove www from my url, the snippet is just after RewriteBase /photos and before all the zp specific rules.

RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteRule .* http://%1%{REQUEST_URI} [R=301,L]
Never had problems until now. It's working for www.site.com/photos, but if I want to go to a specific album I can't. My error log says 'Illegal option FollowSymlinksRewriteEngine'

[b]edit[/b]
The solution: turns out it was a problem with the text editor and line breaks not being converted. I modified the file in cPanel's file manager and that fixed it.