Mobile Phones - Equity Release - Free Games - Electricity Suppliers - Mobile Phone

PDA

View Full Version : htaccess file blocking images frome my own subdir..


demon326
Jan 26th 2008, 4:41 am
Hello all, i'm having a problem with my htaccess file thats connects my forum registration with my website..

this is the content:
<IfModule mod_rewrite.c>
RewriteEngine on
# Modify the RewriteBase if you are using Drupal in a subdirectory and
# the rewrite rules are not working properly.
#RewriteBase /


RewriteRule ^inbox$ ucp.php?i=pm&folder=inbox [L]

#RewriteCond %{QUERY_STRING} ^mode=login(.*)$
RewriteCond %{QUERY_STRING} !^bypass=true(.*)$
#RewriteRule ^ucp.php(.*)$ ../phpbb/login [L]

RewriteCond %{QUERY_STRING} ^mode=register(.*)$
RewriteRule ^ucp.php(.*)$ ../user/register [L]

RewriteCond %{QUERY_STRING} ^mode=logout(.*)$
RewriteRule ^ucp.php(.*)$ ../phpbb/logout [L]

RewriteCond %{QUERY_STRING} ^mode=sendpassword(.*)$
RewriteCond %{QUERY_STRING} ^mode=resend_act(.*)$ [OR]
RewriteRule ^ucp.php(.*)$ ../user/password [L]
</IfModule>

now whats the problem:
i'm using a module that makes automatic thumbnails on my site for newsposting,gallery and so one..,now the module stores its files inside "/forum/shared/imagecache/{insert dir name}/forum/shared/"

now when the htaccess is actif its making the thumbnail but not showing them,when in disable the file it shows them like there is no problem at all and when i enable it again the thumbnails will still show...

this is what i already did:
-Rename the htaccess(then this is done it works all)
-comment out the content with a "#" and it works
----------------------------------------------------
but both ar NO solution cause i need the file for the redirects.
and i found out its that file cause i'm not the only one thats has the problem i found on google that it was the file thats causing problems and now i know why it works localy caus there is no htaccess..

i'm using phpbb 3.0 as forum software and drupal 5.6 as cms software..

i just made a "image" for the ones that need the broken image:
http://ashladan.be/nasa

now when i disable the htaccess and refresh the page it will work...,and it will stay working ones i enabled it again:confused: