folderblog
What is folderblog?
Folderblog is a free PHP script that automatically displays the images placed in a given directory, no database needed. It can be used as a blog or gallery — and anything in between.

» demo blog   » learn more   » download now

Discussion
not leaving my subfolders alone(back to index)
I'm not a programmer so I have a problem I can't solve. I have wordpress running in subfolders on my website, but folderblog has interrupted them with a "folderblog error" no image problem. The folderblog folder runs at www.mysite.com/index.php and runs great. The problem is with www.mysite.com/subfolder/index.php. Does anyone have a solution? I love folderblog and don't want to give it up.

thanks
posted by wvallen on 29 May 06 at 10:33 PM
to clerify, the problem come in when I don't point to a specific file (eg index.php) when I enter the www.mysite.com/subfolder/
posted by wvallen on 29 May 06 at 10:34 PM
This is still not very clear to me...
posted by ikue on 30 May 06 at 5:11 PM
thanks for responding. I still haven't found a solution through my searching. This link is the error: http://www.wvallen.com/v2/ even though there is a file in the subfolder: http://www.wvallen.com/v2/index.htm

thanks for your help
posted by wvallen on 30 May 06 at 10:36 PM
I still haven't figured out an answer. Has anyone else?
posted by w on 13 Jun 06 at 1:25 AM
See, this is a problem of the inner functions of folderblog. The script is able to "interpret" subfolders like parameters, by doing some stuff with the server configuration.

So, if in the main directory of wvallen.com there is folderblog installed and automatically gets activated (because you configured it like this), any subdirectory will be interpretet as a folderblog parameter from then on. The index.htm will simply be "overseen".

What you do for solving this issue depends on what you want. My first guess is that you have to modify your htaccess file and tell it some exceptions for your wanted regular subfolders.
posted by ikue on 14 Jun 06 at 7:08 AM
So, I've spend quite a bit of time playing with htaccess but have found no answer. Could anyone provide more details to the solution? Thanks!
posted by wvallen on 30 Jun 06 at 12:38 AM
Can you please post the content of your current .htaccess?

Plus, tell us exactly what you modified in folderblog after the first installation.
posted by ikue on 30 Jun 06 at 2:21 AM
here is the content of my file:

Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{REQUEST_URI} !/$
RewriteRule ^.*$ %{REQUEST_URI}/ [R,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d [OR]
#RewriteCond %{REQUEST_FILENAME} /photos$
RewriteRule ^(.*)$ index.php?p=$1 [L]

I haven't modified it since the first install
posted by wvallen on 4 Jul 06 at 1:19 PM
The problem is here
RewriteRule ^(.*)$ index.php?p=$1 [L]

It redirects all the traffic to the index.php. I would avoid the entire htaccess or put everything of folderblog into a separate folder instead of the root of your server.
posted by ikue on 7 Jul 06 at 5:16 AM
THAT IS IT!!! thank you!
posted by wvallen on 15 Jul 06 at 1:40 PM
Post a Reply:

Name:    Remember me
URL:    
(include http:// or mailto:)
(back to index)