<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>zenphoto forums Tag: .htaccess</title>
<link>http://www.zenphoto.org/support/</link>
<description>zenphoto forums Tag: .htaccess</description>
<language>en</language>
<pubDate>Thu, 23 May 2013 06:37:04 +0000</pubDate>

<item>
<title>woollypigs on "Permissions - can see admin pages but not the gallery"</title>
<link>http://www.zenphoto.org/support/topic.php?id=46519#post-107283</link>
<pubDate>Thu, 07 Mar 2013 10:17:05 +0000</pubDate>
<dc:creator>woollypigs</dc:creator>
<guid isPermaLink="false">107283@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;Ok you pointed me the right way. &#60;/p&#62;
&#60;p&#62;I got chmod 777 on the /zen folder changed it to 755 and it is now working just fine. (Doh! feel a bit dumb now :) ) Why I didn't see that before now!?!&#60;/p&#62;
&#60;p&#62;I know it set the 777 when I was trying to get the setup to run. I was rather confused last night when I was &#34;hacking&#34; away.&#60;/p&#62;
&#60;p&#62;Thanks a lot, now time to upload and test zenphoto out, it does look good and fast already.
&#60;/p&#62;</description>
</item>
<item>
<title>sbillard on "Permissions - can see admin pages but not the gallery"</title>
<link>http://www.zenphoto.org/support/topic.php?id=46519#post-107279</link>
<pubDate>Thu, 07 Mar 2013 10:08:52 +0000</pubDate>
<dc:creator>sbillard</dc:creator>
<guid isPermaLink="false">107279@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;The first bit of information you should know is that the &#34;A file permissions error has occurred&#34; message does not come from Zenphoto.&#60;/p&#62;
&#60;p&#62;So, the possible causes would be:&#60;/p&#62;
&#60;p&#62;1. security settings on the server that do not allow PHP scripts to run with whatever file/folder permissions you have on the &#34;zen&#34; folder or its contents and subfolders.&#60;/p&#62;
&#60;p&#62;2. a rewrite rule conflict with your Wordpress install n(or some other .htaccess file) that is preventing access to the &#34;zen&#34; folder.
&#60;/p&#62;</description>
</item>
<item>
<title>woollypigs on "Permissions - can see admin pages but not the gallery"</title>
<link>http://www.zenphoto.org/support/topic.php?id=46519#post-107271</link>
<pubDate>Thu, 07 Mar 2013 09:51:10 +0000</pubDate>
<dc:creator>woollypigs</dc:creator>
<guid isPermaLink="false">107271@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;Server is with &#60;a href=&#34;http://www.e-noise.com&#34; rel=&#34;nofollow&#34;&#62;http://www.e-noise.com&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;No big warnings from my server log. &#60;/p&#62;
&#60;p&#62;[07/Mar/2013:16:59:25 +0000] &#34;GET /zen/ HTTP/1.1&#34; 200 123 &#34;-&#34; &#34;Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Ubuntu Chromium/24.0.1312.56 Chrome/24.0.1312.56 Safari/537.17&#34;&#60;/p&#62;
&#60;p&#62;Apache/2&#60;br /&#62;
Software version: 5.5.30-log - MySQL Community Server (GPL)&#60;br /&#62;
Database client version: libmysql - mysqlnd 5.0.8-dev - 20102224 - $Revision: 321634 $&#60;br /&#62;
PHP extension: mysqli &#60;/p&#62;
&#60;p&#62;I have managed to upload, create folders, add tags and add descriptions to photos just fine today. Even change the default theme for the gallery, though I can't see what my photos looks like with zenphoto :)&#60;/p&#62;
&#60;p&#62;What other info do you need and do let me know where I could find it.&#60;/p&#62;
&#60;p&#62;link to the log files...&#60;br /&#62;
&#60;a href=&#34;http://www.woollypigs.com/temp/setup.txt&#34; rel=&#34;nofollow&#34;&#62;http://www.woollypigs.com/temp/setup.txt&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.woollypigs.com/temp/security.txt&#34; rel=&#34;nofollow&#34;&#62;http://www.woollypigs.com/temp/security.txt&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.woollypigs.com/temp/debug.txt&#34; rel=&#34;nofollow&#34;&#62;http://www.woollypigs.com/temp/debug.txt&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks a lot.
&#60;/p&#62;</description>
</item>
<item>
<title>acrylian on "Permissions - can see admin pages but not the gallery"</title>
<link>http://www.zenphoto.org/support/topic.php?id=46519#post-107257</link>
<pubDate>Thu, 07 Mar 2013 09:22:17 +0000</pubDate>
<dc:creator>acrylian</dc:creator>
<guid isPermaLink="false">107257@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;Ok, could you post what setup tells and some info about your server? I have sadly no idea but maybe my colleague later has.
&#60;/p&#62;</description>
</item>
<item>
<title>woollypigs on "Permissions - can see admin pages but not the gallery"</title>
<link>http://www.zenphoto.org/support/topic.php?id=46519#post-107234</link>
<pubDate>Thu, 07 Mar 2013 08:40:39 +0000</pubDate>
<dc:creator>woollypigs</dc:creator>
<guid isPermaLink="false">107234@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;I uploaded to my server with FTP, don't have a install helper for Zenphoto on my server. &#60;/p&#62;
&#60;p&#62;I set the permissions according to the page you linked to and followed what the setup asked me to do.
&#60;/p&#62;</description>
</item>
<item>
<title>acrylian on "Permissions - can see admin pages but not the gallery"</title>
<link>http://www.zenphoto.org/support/topic.php?id=46519#post-107150</link>
<pubDate>Thu, 07 Mar 2013 04:24:08 +0000</pubDate>
<dc:creator>acrylian</dc:creator>
<guid isPermaLink="false">107150@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;What are the permissions? What did setup say? Here is listed what they should be:&#60;br /&#62;
&#60;a href=&#34;http://www.zenphoto.org/news/permissions-for-zenphoto-files-and-folders&#34; rel=&#34;nofollow&#34;&#62;http://www.zenphoto.org/news/permissions-for-zenphoto-files-and-folders&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you have Zenphoto in a subfolder there should be no conflict. I just tried Wordpress recognizes that /zen is not a Wordpress page but a real folder (Zenphoto would do as well).&#60;/p&#62;
&#60;p&#62;How did you install? Install helper of your host or manually via FTP? If the first try the second please.
&#60;/p&#62;</description>
</item>
<item>
<title>woollypigs on "Permissions - can see admin pages but not the gallery"</title>
<link>http://www.zenphoto.org/support/topic.php?id=46519#post-107137</link>
<pubDate>Thu, 07 Mar 2013 03:36:51 +0000</pubDate>
<dc:creator>woollypigs</dc:creator>
<guid isPermaLink="false">107137@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;Hello&#60;/p&#62;
&#60;p&#62;After much hacking/trying I managed to install ZP v1.4.4.3. Though I still get problems with the permissions on the site.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.woollypigs.com&#34; rel=&#34;nofollow&#34;&#62;http://www.woollypigs.com&#60;/a&#62; (main site that runs wordpress)&#60;br /&#62;
&#60;a href=&#34;http://www.woollypigs.com/galleries&#34; rel=&#34;nofollow&#34;&#62;http://www.woollypigs.com/galleries&#60;/a&#62; (runs Gallery3, but hopefully in the future I will be running ZP)&#60;br /&#62;
&#60;a href=&#34;http://www.woollypigs.com/zen&#34; rel=&#34;nofollow&#34;&#62;http://www.woollypigs.com/zen&#60;/a&#62; (is where I'm testing out ZP)&#60;/p&#62;
&#60;p&#62;When I enter &#60;a href=&#34;http://www.woollypigs.com/zen&#34; rel=&#34;nofollow&#34;&#62;http://www.woollypigs.com/zen&#60;/a&#62; I get this &#34;A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again.&#34;&#60;/p&#62;
&#60;p&#62;Though if I enter &#60;a href=&#34;http://www.woollypigs.com/zen/zp-core/&#34; rel=&#34;nofollow&#34;&#62;http://www.woollypigs.com/zen/zp-core/&#60;/a&#62; I can see the admin pages just fine. This caused a lot of headache at start since &#60;a href=&#34;http://www.woollypigs.com/zen/&#34; rel=&#34;nofollow&#34;&#62;http://www.woollypigs.com/zen/&#60;/a&#62; didn't take me to the install pages right away.&#60;/p&#62;
&#60;p&#62;Now the question is which .htaccess do I edit to get ZenPhoto and wordpress to play ball.&#60;/p&#62;
&#60;p&#62;I had the same problem with getting gallery3 and wordpress to work together, though I managed after a lot of hacking.&#60;/p&#62;
&#60;p&#62;I dare not hack away with the .htacces for ZenPhoto since that is way above my foo stills. &#60;/p&#62;
&#60;p&#62;Thanks all
&#60;/p&#62;</description>
</item>
<item>
<title>blueboat on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-99493</link>
<pubDate>Wed, 13 Feb 2013 02:42:08 +0000</pubDate>
<dc:creator>blueboat</dc:creator>
<guid isPermaLink="false">99493@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;my host is pretty anal about security, but they've left .jpg.php open on my domain.&#60;/p&#62;
&#60;p&#62;But anyways, for the sake of security (and potentially saving hours problem solving), I have changed my suffix to .html in the config and used this .htaccess rule to forward old .php URLs to the new location:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;RewriteRule ^(.*)\.jpg.php $1.jpg.html [R=301,L]&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;btw, if mod_security is blocking .jpg.php, those requests will be blocked &#60;em&#62;before&#60;/em&#62; the above .htaccess rule is called.
&#60;/p&#62;</description>
</item>
<item>
<title>acrylian on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-98478</link>
<pubDate>Sun, 03 Feb 2013 11:21:27 +0000</pubDate>
<dc:creator>acrylian</dc:creator>
<guid isPermaLink="false">98478@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;Ok, as said not familiar with some url internals. I somehow mistook that the non rewritten links and their GET values are used internally and the rewritten ones are just &#34;cosmetic&#34; for display.&#60;/p&#62;
&#60;p&#62;So forget me thinking loud.
&#60;/p&#62;</description>
</item>
<item>
<title>sbillard on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-98477</link>
<pubDate>Sun, 03 Feb 2013 11:15:26 +0000</pubDate>
<dc:creator>sbillard</dc:creator>
<guid isPermaLink="false">98477@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;And just how would they have issues? Will they decide not to request the link if it is an image? Will they somehow bypass the server and directly get the image out of the either?&#60;/p&#62;
&#60;p&#62;I think not, I think that they all will make a request of the server which will process it via the rewrite rules as needed.&#60;/p&#62;
&#60;p&#62;And if they leave the suffix out, what file should Zenphoto look for?
&#60;/p&#62;</description>
</item>
<item>
<title>acrylian on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-98470</link>
<pubDate>Sun, 03 Feb 2013 10:33:11 +0000</pubDate>
<dc:creator>acrylian</dc:creator>
<guid isPermaLink="false">98470@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;I do admit I am not familiar how ZP uses the url internally but the original not rewritten one is:&#60;br /&#62;
&#60;code&#62;index.php?album=albumname&#38;amp;image=filename.jpg&#60;/code&#62;&#60;br /&#62;
which is rewritten to&#60;br /&#62;
&#60;code&#62;/albumname/filename.jpg.php&#60;/code&#62;. &#60;/p&#62;
&#60;p&#62;So what would change if we leave one suffix out always like &#60;code&#62;/albumname/filename.php&#60;/code&#62; and album links stay &#60;code&#62;/album/&#60;/code&#62; since they are &#34;directories&#34;?&#60;/p&#62;
&#60;p&#62;If we use &#60;code&#62;/albumname/filename.jpg&#60;/code&#62; some browser/server might have issues as this is not really an image itself.&#60;/p&#62;
&#60;p&#62;Besides I had never any issus with the two suffixes.
&#60;/p&#62;</description>
</item>
<item>
<title>sbillard on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-98464</link>
<pubDate>Sun, 03 Feb 2013 10:16:18 +0000</pubDate>
<dc:creator>sbillard</dc:creator>
<guid isPermaLink="false">98464@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;Perhaps your code is more omniscient. Mine would have no idea what the suffix should be if it is not included. And of course, since the images are in the &#60;code&#62;albums&#60;/code&#62; folder, not elsewehere how would mod_rewrite get confused?
&#60;/p&#62;</description>
</item>
<item>
<title>acrylian on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-98424</link>
<pubDate>Sun, 03 Feb 2013 01:39:08 +0000</pubDate>
<dc:creator>acrylian</dc:creator>
<guid isPermaLink="false">98424@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;But couldn't no default modrewrite suffix cause other issues like browser mistaking the link as an direct image?.&#60;/p&#62;
&#60;p&#62;Do we actually need the image suffix in the url additionally? Why not just &#38;lt;filename minus suffix&#38;gt;.&#38;lt;modrewrite suffix&#38;gt;? It's rewritten anyway.
&#60;/p&#62;</description>
</item>
<item>
<title>sbillard on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-98260</link>
<pubDate>Sat, 02 Feb 2013 10:59:02 +0000</pubDate>
<dc:creator>sbillard</dc:creator>
<guid isPermaLink="false">98260@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;Probably the best would be not to set a default at all. We really do not know that these security rules would pass anything that looked like multiple suffixes.
&#60;/p&#62;</description>
</item>
<item>
<title>acrylian on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-98210</link>
<pubDate>Sat, 02 Feb 2013 06:10:42 +0000</pubDate>
<dc:creator>acrylian</dc:creator>
<guid isPermaLink="false">98210@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;That suffix is actually not a rewrite rule. It is an option you can set yourself.  It is actually that way since the early days of Zenphoto. I neither don't remember that much reports about that nor did I ever encounter this issue on any of the hosts I used. Of course we don't get reports we cannot change things...&#60;/p&#62;
&#60;p&#62;Feel free to open a ticket about that maybe to discuss this further.
&#60;/p&#62;</description>
</item>
<item>
<title>blueboat on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-98208</link>
<pubDate>Sat, 02 Feb 2013 05:35:07 +0000</pubDate>
<dc:creator>blueboat</dc:creator>
<guid isPermaLink="false">98208@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;Core team,&#60;/p&#62;
&#60;p&#62;Food for thought:&#60;/p&#62;
&#60;p&#62;Would it make sense to set the default rewrite rule to .html instead of .php?&#60;/p&#62;
&#60;p&#62;I can imagine there are more than a few hosts out there that block .jpg.php extensions for security reasons, and this took a lot of hours to trace. Most new users would probably just give up and use something else. Actually, PHP sites are often hacked using this file extension to upload rogue php code to servers that think they are images. I've seen it happen a couple of times already on CMSes that run TinyMCE, for example.
&#60;/p&#62;</description>
</item>
<item>
<title>blueboat on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-97439</link>
<pubDate>Thu, 31 Jan 2013 01:13:07 +0000</pubDate>
<dc:creator>blueboat</dc:creator>
<guid isPermaLink="false">97439@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;Debugging didn't return any error.&#60;/p&#62;
&#60;p&#62;Daviding, you hit the nail on the head! It's an issue with .jpg.php rewrite suffix. Funny that it works in root though...&#60;/p&#62;
&#60;p&#62;I have this open with my host....&#60;/p&#62;
&#60;p&#62;Maybe this would be a good thing to test in the setup checks?(although it doesn't help if your host sneaks in a mod_security rule change after you're up and running.)&#60;/p&#62;
&#60;p&#62;Thanks all for the comments and suggestions!
&#60;/p&#62;</description>
</item>
<item>
<title>daviding on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-97024</link>
<pubDate>Tue, 29 Jan 2013 18:41:54 +0000</pubDate>
<dc:creator>daviding</dc:creator>
<guid isPermaLink="false">97024@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;I sent a note to my hosting provider support (Site5).  This problem is not with Zenphoto, but with the environment.  They responded:&#60;/p&#62;
&#60;p&#62;-- begin paste --&#60;br /&#62;
We apologize for this situation. I checked Apache logs and I found that because of mod_security, that type of link .jpg.php was blocked by a mod_security rule.  &#60;/p&#62;
&#60;p&#62;I went ahead and I fixed this and now you should be able to load your website without any issue or error.&#60;br /&#62;
-- end paste --  &#60;/p&#62;
&#60;p&#62;Problem solved.  If you have this problem, ask your hosting provider support.
&#60;/p&#62;</description>
</item>
<item>
<title>sbillard on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-96955</link>
<pubDate>Tue, 29 Jan 2013 14:55:03 +0000</pubDate>
<dc:creator>sbillard</dc:creator>
<guid isPermaLink="false">96955@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;You can set the &#60;code&#62;DEBUG_IMAGE_ERR&#60;/code&#62; define to &#60;code&#62;true&#60;/code&#62; in &#60;code&#62;global-definitions.php&#60;/code&#62; to get any Zenphoto debugging information recorded in your debug log. If something is recorded then it may help discover what is causing this. If not, then the 403 error is not comming from Zenphoto.
&#60;/p&#62;</description>
</item>
<item>
<title>daviding on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-96952</link>
<pubDate>Tue, 29 Jan 2013 14:32:54 +0000</pubDate>
<dc:creator>daviding</dc:creator>
<guid isPermaLink="false">96952@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;I seem to be having the same problem, that access to the albums is fine, but selecting on the thumbnail gives a message like:&#60;/p&#62;
&#60;p&#62;-- begin paste -- &#60;/p&#62;
&#60;p&#62;You don't have permission to access /webphotos/201211a-McMichael/di_20121106_142734_mcmichael_billvazan_1989_shibagaushard.jpg.php on this server.&#60;/p&#62;
&#60;p&#62;Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.&#60;br /&#62;
-- end paste -- &#60;/p&#62;
&#60;p&#62;I don't recall having that problem before.  I was running on v.1.4.3.2 , and just upgraded to v.1.4.4 with the same result.  When I ran the setup, it didn't like the way htaccess was configured, so it updated that.&#60;/p&#62;
&#60;p&#62;Strangely enough, slides shows seem to work fine.  Go to &#60;a href=&#34;http://daviding.com/webphotos/201211a-McMichael&#34; rel=&#34;nofollow&#34;&#62;http://daviding.com/webphotos/201211a-McMichael&#60;/a&#62; , and &#34;View Slideshow&#34;, and that works.  &#60;/p&#62;
&#60;p&#62;It's just getting from the thumbnail to image that seems to be a problem.&#60;/p&#62;
&#60;p&#62;My versions read:&#60;/p&#62;
&#60;p&#62;PHP version: 5.2.17&#60;br /&#62;
Graphics support: PHP GD library bundled (2.0.34 compatible)&#60;br /&#62;
    supporting: gif, jpg, jpeg, png, bmp&#60;br /&#62;
PHP memory limit: 96M (Note: Your server might allocate less!)&#60;br /&#62;
MySQL version: 5.1.65&#60;/p&#62;
&#60;p&#62;I seem to recall also having the PHP display_errors warning on setup.
&#60;/p&#62;</description>
</item>
<item>
<title>blueboat on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-96945</link>
<pubDate>Tue, 29 Jan 2013 11:44:47 +0000</pubDate>
<dc:creator>blueboat</dc:creator>
<guid isPermaLink="false">96945@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;Thanks again for the suggestions.&#60;/p&#62;
&#60;p&#62;Here is what I have found doing completely fresh installs and uploading 1 image in an album called &#34;album&#34;.&#60;/p&#62;
&#60;p&#62;1) On my host (rochen.com) zenphoto 1.4.4 works fine in the root using mod rewrite. ex: &#60;a href=&#34;http://test2.exploringbliss.com/album/_MG_0930-1024.jpg.php&#34; rel=&#34;nofollow&#34;&#62;http://test2.exploringbliss.com/album/_MG_0930-1024.jpg.php&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;2) However, on my host (rochen.com) zenphoto 1.4.4 doesn't work with mod rewrite when the installation is contained in a subdirectory (it is fine without mod rewrite). ex: &#60;a href=&#34;http://test.exploringbliss.com/test/album/_MG_0930-1024.jpg.php&#34; rel=&#34;nofollow&#34;&#62;http://test.exploringbliss.com/test/album/_MG_0930-1024.jpg.php&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;3) on a local MAMP install everything is fine, both root and subdirectory installs work.&#60;/p&#62;
&#60;p&#62;But I have no clue as to why this may be. It has been working fine on the host since 2007 until sometime recently. The only variable I know that has changed is a zenphoto upgrade. Perhaps my host has upgraded something at their end, but what and when I do not know.&#60;/p&#62;
&#60;p&#62;My host's PHP version is 5.3.20 and MySQL version is 5.1.66 (warnings in the install). The other warning I get is because PHP display_errors [is enabled].&#60;/p&#62;
&#60;p&#62;So do I have to downgrade zenphoto?&#60;/p&#62;
&#60;p&#62;Thanks guys for everything so far.
&#60;/p&#62;</description>
</item>
<item>
<title>sbillard on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-96937</link>
<pubDate>Tue, 29 Jan 2013 10:45:39 +0000</pubDate>
<dc:creator>sbillard</dc:creator>
<guid isPermaLink="false">96937@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;Somewhere on this forum there was a discussion of a user having problems with some security module that did not like the extension &#60;code&#62;.jpg.php&#60;/code&#62;. (Sorry, I cannot find the post at the moment.) So maybe changing the &#60;code&#62;mod_rewrite suffix&#60;/code&#62; to maybe &#34;\view&#34; will fix the issue.
&#60;/p&#62;</description>
</item>
<item>
<title>acrylian on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-96917</link>
<pubDate>Tue, 29 Jan 2013 07:15:53 +0000</pubDate>
<dc:creator>acrylian</dc:creator>
<guid isPermaLink="false">96917@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;Zenphoto works fine both in the root of domains or subdomains and also subfolders actually.&#60;/p&#62;
&#60;p&#62;If you move Zenphoto from and to folders and use modrewrite you always need to either run setup or change the rewritebase of the htaccess file. Otherwise it of course will not work.&#60;/p&#62;
&#60;p&#62;On a domain/subdomain root that would be /. On a folder /&#38;lt;folder&#38;gt;.
&#60;/p&#62;</description>
</item>
<item>
<title>blueboat on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-96916</link>
<pubDate>Tue, 29 Jan 2013 07:10:09 +0000</pubDate>
<dc:creator>blueboat</dc:creator>
<guid isPermaLink="false">96916@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;hi guys, thanks for the input.&#60;/p&#62;
&#60;p&#62;Getting closer now:&#60;/p&#62;
&#60;p&#62;* when I delete the wordpress installation so that there is nothing in the root folder except /photography , I get the error below. And when I put wordpress back, the .htaccess catches it and redirects to the wordpress 404 page.&#60;/p&#62;
&#60;p&#62;----------------------&#60;br /&#62;
Forbidden&#60;/p&#62;
&#60;p&#62;You don't have permission to access /photography/new_zealand/20081223-NewZealand-9779.jpg.php on this server.&#60;/p&#62;
&#60;p&#62;Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.&#60;br /&#62;
----------------------&#60;/p&#62;
&#60;p&#62;* Now here is the interesting bit: I moved my test zenphoto installation that was working fine in a subdomain from the root to /test and the SAME ERROR OCCURED! Then to double-check, I installed a completely fresh installation in a test subdomain in a subdirectory ( /test ) and i get the SAME error.&#60;/p&#62;
&#60;p&#62;In other words, the current version of zenphoto doesn't seem to work out-of-the-box in a subdirectory! The setup works fine in root though.&#60;/p&#62;
&#60;p&#62;Thanks for the support,&#60;br /&#62;
Fraser
&#60;/p&#62;</description>
</item>
<item>
<title>darkufo on "Any .htaccess experts"</title>
<link>http://www.zenphoto.org/support/topic.php?id=37213#post-96685</link>
<pubDate>Mon, 28 Jan 2013 05:00:08 +0000</pubDate>
<dc:creator>darkufo</dc:creator>
<guid isPermaLink="false">96685@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I've currently got the following in my .htaccess of my zenphoto cache folder.&#60;/p&#62;
&#60;p&#62;RewriteEngine on&#60;br /&#62;
RewriteCond %{HTTP_REFERER} !^$&#60;br /&#62;
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?spoilertv.com [NC]&#60;br /&#62;
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?fanshowcase.com [NC]&#60;br /&#62;
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?spoilertv.co.uk [NC]&#60;br /&#62;
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?images.spoilertv.co.uk [NC]&#60;br /&#62;
RewriteRule \.(jpg&#124;jpeg&#124;png&#124;gif)$ &#60;a href=&#34;http://spoilertv.co.uk/images/bandwidth.png&#34; rel=&#34;nofollow&#34;&#62;http://spoilertv.co.uk/images/bandwidth.png&#60;/a&#62; [NC,R,L]&#60;/p&#62;
&#60;p&#62;This blocks all not allowed domained from hotlinking our cache files.&#60;/p&#62;
&#60;p&#62;However, what I would like to do is to allow sites to be able to hotlinked our thumbnails. The thumbnail images h have this sort of filename format&#60;/p&#62;
&#60;p&#62;filename_100_cw100_ch100_thumb.jpg&#60;br /&#62;
filename_100_cw100_ch100_thumb.png&#60;/p&#62;
&#60;p&#62;So what I would like to do is to modify the above .htaccess to globally block all access with the exception of the filenames ending in thumb eg  *_thumb.jpg or *_thumb.png&#60;/p&#62;
&#60;p&#62;I don't have the first idea about how to write such a rule.
&#60;/p&#62;</description>
</item>
<item>
<title>acrylian on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-96110</link>
<pubDate>Fri, 25 Jan 2013 11:28:05 +0000</pubDate>
<dc:creator>acrylian</dc:creator>
<guid isPermaLink="false">96110@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;You could try something like this:&#60;br /&#62;
&#60;code&#62;RewriteRule	^photography/(.*)?/$				photography/$1 [L,R=301]&#60;/code&#62;&#60;br /&#62;
Not sure where to place it but probably try first right after the rewrite base.
&#60;/p&#62;</description>
</item>
<item>
<title>sbillard on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-96102</link>
<pubDate>Fri, 25 Jan 2013 10:13:12 +0000</pubDate>
<dc:creator>sbillard</dc:creator>
<guid isPermaLink="false">96102@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;See: &#60;a href=&#34;http://stackoverflow.com/questions/5061880/this-is-the-htaccess-code-in-wordpress-i-dont-understand-how-it-works-can-so&#34; rel=&#34;nofollow&#34;&#62;http://stackoverflow.com/questions/5061880/this-is-the-htaccess-code-in-wordpress-i-dont-understand-how-it-works-can-so&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I am not sure why this does not also cause issues with album links, though. You should try removing the Wordpress &#60;code&#62;.htaccess&#60;/code&#62; and see if things work. If so, then you know that the above it the issue.&#60;/p&#62;
&#60;p&#62;If that is the case you need to add a &#60;code&#62;RewriteCond&#60;/code&#62; to exclude links with &#34;photography&#34; as the folder name. Sorry, I am not well enough versed in rewrite rules to tell you how to do this.
&#60;/p&#62;</description>
</item>
<item>
<title>blueboat on "gallery &#38; albums ok, but 404 on image pages :: .htaccess?"</title>
<link>http://www.zenphoto.org/support/topic.php?id=36756#post-96093</link>
<pubDate>Fri, 25 Jan 2013 09:13:26 +0000</pubDate>
<dc:creator>blueboat</dc:creator>
<guid isPermaLink="false">96093@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;Hi there.&#60;/p&#62;
&#60;p&#62;I have have used zenphoto for a photographic gallery since 2007. Love it! Especially the slick integration from Lightroom!&#60;/p&#62;
&#60;p&#62;The only thing is that for some reason (probably after an update a few months back that I didn't test, i think) whenever one clicks from the album page to an image there a 404 that is being caught by my wordpress site. Wordpress is in the root and zenphoto is under it in /photography&#60;/p&#62;
&#60;p&#62;any suggestions as to what the deal may be? I've looked extensively though the user guide, trouble shooting, searched this forum, permissions ok, not using php safe mode, upgraded zenphoto 1.4.4, reinstalled zenphoto, created a fresh zenphoto install.... but no luck yet.&#60;/p&#62;
&#60;p&#62;I also copied the database tables into a new database and did a fresh install in a subdomain and it was fine. Must just be a conflict because as it is under wordpress (which it has been for years now).&#60;/p&#62;
&#60;p&#62;The wordpress /.htaccess file looks like this:&#60;/p&#62;
&#60;p&#62;# BEGIN WordPress&#60;br /&#62;
&#38;lt;IfModule mod_rewrite.c&#38;gt;&#60;br /&#62;
RewriteEngine On&#60;br /&#62;
RewriteBase /&#60;br /&#62;
RewriteRule ^index\.php$ - [L]&#60;br /&#62;
RewriteCond %{REQUEST_FILENAME} !-f&#60;br /&#62;
RewriteCond %{REQUEST_FILENAME} !-d&#60;br /&#62;
RewriteRule . /index.php [L]&#60;br /&#62;
&#38;lt;/IfModule&#38;gt;&#60;/p&#62;
&#60;p&#62;# END WordPress&#60;/p&#62;
&#60;p&#62;# no directory listing&#60;br /&#62;
IndexIgnore *&#60;br /&#62;
Options -Indexes &#60;/p&#62;
&#60;p&#62;and the zenphoto /photography/.htaccess is standard with the setup (with RewriteBase /photography of course).&#60;/p&#62;
&#60;p&#62;FYI, I am using the default theme (had a beautiful custom theme that matched my site, but it broke with an upgrade a year ago and haven't had a chance to fix it yet, been traveling round the world for 5 years in places with crappy internet...)&#60;/p&#62;
&#60;p&#62;See the problem here:&#60;br /&#62;
&#60;a href=&#34;http://www.exploringbliss.com/photography/&#34; rel=&#34;nofollow&#34;&#62;http://www.exploringbliss.com/photography/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Any suggestions would be greatly appreciated.&#60;/p&#62;
&#60;p&#62;Many thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>acrylian on ".htaccess  changes"</title>
<link>http://www.zenphoto.org/support/topic.php?id=21505#post-79592</link>
<pubDate>Wed, 28 Nov 2012 01:31:16 +0000</pubDate>
<dc:creator>acrylian</dc:creator>
<guid isPermaLink="false">79592@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;The rewrite base is important. Just re-run  the setup script to fix that for you.&#60;br /&#62;
But you have to decided how you wish to access your Zenphoto install. &#60;/p&#62;
&#60;p&#62;If it is 199.16.152.234/~pixmixca/photos/ the rewrite base must be /~pixmixca/photos/&#60;br /&#62;
If it is &#60;a href=&#34;http://www.domain.com/photos&#34; rel=&#34;nofollow&#34;&#62;http://www.domain.com/photos&#60;/a&#62; is is /photos&#60;br /&#62;
If it is directly under a domain &#60;a href=&#34;http://www.domain.com&#34; rel=&#34;nofollow&#34;&#62;http://www.domain.com&#60;/a&#62; the rewrite base is just /. No matter if the actual folder is named /photos and the domain just links to it. The webpath via the browser is important.
&#60;/p&#62;</description>
</item>
<item>
<title>pvankempen on ".htaccess  changes"</title>
<link>http://www.zenphoto.org/support/topic.php?id=21505#post-79485</link>
<pubDate>Tue, 27 Nov 2012 19:00:19 +0000</pubDate>
<dc:creator>pvankempen</dc:creator>
<guid isPermaLink="false">79485@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;I am a exe developer, not a web developer, so am not used to working with htaccess files.&#60;/p&#62;
&#60;p&#62;For about 2 months, during our spare time, my wife and I were developing her site (she was adding the pictures and text, I was tweaking the php). During that time, the main htaccess file (at  same sub-directory level as zp_data and themes) contained &#34;RewriteBase /~pixmixca/photos&#34; and we accessed all the pages as admin from 199.16.152.234/~pixmixca/photos/.&#60;/p&#62;
&#60;p&#62;When we went live a week ago, the pages were not working and so our ISP host changed the line in the htaccess file to: &#34;RewriteBase /photos&#34;.&#60;/p&#62;
&#60;p&#62;Now, when we (or the public) connect, all the pages work. But, of course, neither the unpublished items nor the admin menu show. We can still access &#60;a href=&#34;http://199.16.152.234/~pixmixca/photos/&#34; rel=&#34;nofollow&#34;&#62;http://199.16.152.234/~pixmixca/photos/&#60;/a&#62;, but whenever we click anywhere from there (to an album, page, etc), we get a 404 error - for example: &#34;404 Not Found The server can not find the requested page: 199.16.152.234/~pixmixca/photos/page/contact (port 80)&#34;.&#60;/p&#62;
&#60;p&#62;We would like to view various pages and images without incrementing the hit counters. And we would like to try creating a dynamic album. For both, we need to be able to view the site as admin.&#60;/p&#62;
&#60;p&#62;I'm sure a simple change to the htaccess file is all that is needed, but I could not figure what, even after reading everything I could find related to htaccess in the user guide and the forum.&#60;/p&#62;
&#60;p&#62;Any hints at pointing me in the right direction would be appreciated.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
