views:

14

answers:

0

Here is my .htaccess:

Options +FollowSymLinks +SymLinksIfOwnerMatch

#non .PHP files
<Files manage>
ForceType application/x-httpd-php5
SetHandler application/x-httpd-php5
</Files>

<Files profile>
ForceType application/x-httpd-php5
SetHandler application/x-httpd-php5
</Files>

<Files process>
ForceType application/x-httpd-php5
SetHandler application/x-httpd-php5
</Files>

<Files login>
ForceType application/x-httpd-php5
SetHandler application/x-httpd-php5
</Files>

<Files logout>
ForceType application/x-httpd-php5
SetHandler application/x-httpd-php5
</Files>

<Files cart>
ForceType application/x-httpd-php5
SetHandler application/x-httpd-php5
</Files>

<Files checkout>
ForceType application/x-httpd-php5
SetHandler application/x-httpd-php5
</Files>

<Files loggedin>
ForceType application/x-httpd-php5
SetHandler application/x-httpd-php5
</Files>

<Files resetpw>
ForceType application/x-httpd-php5
SetHandler application/x-httpd-php5
</Files>

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^chelseagreen.com [NC]
    RewriteRule ^(.*)$ https://www.chelseagreen.com/$1 [L,R=301]


    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>

AddType application/x-httpd-php5 .css

#index###
DirectoryIndex index.php

#Redirect 301 /content/wp-admin http://www.chelseagreen.com/content/wp-admin

What I'm trying to do is to access a physical file, located in a physical directory. This directory is not mentioned anywhere in the .htaccess file. The path to the directory is straightforward. The permissions are set as 755, with the correct owner (directory AND file).

What I'm getting is an infinite loop (The access log says, over and over and over, the following):

  • [10/Jul/2010:01:43:39 -0500] "GET /common/files/image/_tmb_author/vx2Z.Will-Allen-credit-Bob-Eddy.jpg HTTP/1.1" 301 303 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6"

any help would be GREAT!