last day (14 days later) » 

12:13 AM
0
Q: htaccess file causes recursion

cre8eveWebsite I am trying to setup has such a structure website.com ---category1 ------subcategory1 ------subcategory2 ------subcategory3 ------subcategory4 ---category2 ------subcategory1 ------subcategory2 ------subcategory3 ------subcategory4 ---category3 ------subcategory1 ------subcategory2 -----...

 
So you have /var/www/html/shop/index.php? I'm pretty sure the issue is that you have RewriteCond %{REQUEST_URI} !^/index\.php which says if the uri doesnt start with index.php add it. where as you probably want if it doesn't end with index.php !/index\.php$
 
@chris85, yes, there is /var/www/html/shop/index.php file. I tried to replace that condition with !/index\.php$ but still got the same error.
 
I copied your code over to my server and am not having the issues I thought you'd be having. I removed ` //I put # in front of it, got no change` and added re to the writeRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]. After that works as expected, is that your whole file? I have /public_html/sfo with index.php and .htaccess inside then /public_html/sfo/abc/ with index.php. Is this your structure?
 
@chris85, the CMS is joomla, so the website structure doesn't equal to the filesystem one. The .htaccess only has one more string I didn't show: Options +FollowSymLinks. Here's the ip of the server 128.199.38.61 to make it more visual.
 
Where can I see the redirect/rewrite loop?
 
12:13 AM
@chris85, click on any of the vertical sections - it will try to open the category.
 
Did you get my last message/comment?
 
> Where can I see the redirect/rewrite loop?
this one?
 
Noe, added one more after that.
 
ah, i see
 
Is that the path I should be following/
 
12:15 AM
yes, that's how it's intended to be
 
2/3 times that's how it has worked for me
does it consistently fail for you?
 
yes :( i'm on safari
 
let me try that
i'm on chrome
Works in my safari too
Version 5.1.9 (6534.59.8)
 
i see the difference - when you click on the column, not on the text - it fails. the rest of the time it works
pretty strange, but i guess that's something in code
 
Is the column linked via js?
 
12:21 AM
i think it's static somewhere
the urls for columns are broken, now i see the problem
you pointed it out for me, thank you very much :))
 
no problem have a good day
bye
 
bye ;)
 

last day (14 days later) »