LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > FilesMatch & php .htaccess options

Reply
 
Thread Tools Display Modes
  #21  
Old 05-29-2009, 02:07 PM
DraCoola DraCoola is offline
Senior Member
 
Join Date: Mar 2009
Posts: 149
Quote:
Originally Posted by mistwang View Post
What have you done between update and update v0.2 to make it comes back?
I'm doing nothing, George.
Except just switching between LSWS and Apache in purpose to test accesing mp3smackers.com from another server.

It is so unpermanent. Random attend.
Reply With Quote
  #22  
Old 05-29-2009, 03:41 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Quote:
Originally Posted by DraCoola View Post
I thought, if from wordpress case, it doesn't caused by .httaccess.
Then, you should not mix them together, it only make it harder to identify the cause of the problem.


Quote:
As my screen shoots for LSWS and Apache at above, there is "301 moved permanently" that have been makes page redirected in loop.

I'm Also not doing fixing for anything for that wordpress cases.
Because I have just replacing each other between apache and LSWS, and then it magically fixed.
The screen shot shows that the redirect is actually sent by PHP, LSWS is just the messenger.


Quote:
Because if it accessed from command line : "HEAD mp3smackers.com", there are still shows for redirect loop.
What the actually command of "HEAD"? I think it is just a command alias.
I tried "curl -I mp3smackers.com", it works fine.
"lynx -head -mime_header http://www.mp3smackers.com" also works.


Quote:
So I guest the "finally fixed shown on browser" cames from cache after using Apache temporarily before it went back to LSWS?
Not sure, as my firefox never has problem with this site from beginning.
Which browser you used?
Reply With Quote
  #23  
Old 05-29-2009, 11:21 PM
X-Nitro X-Nitro is offline
New Member
 
Join Date: May 2009
Posts: 8
Let me introduce my self, I'm X-Nitro 2nd Administrator of DraCoola Multimedia. This bugs only occured on Wordpress Instalation. For example, like some pictures below :

!= Wordpress :
Code:
$ curl -I dracoola.com


MyBB Bulletin Board
Code:
$ curl -I kikil.org


Now, I will try get header information from some victims (checked at 08:13 GMT+7)


And then, I'll try to get header information again from some victims above.


Automatic Cured, huh ? o_O


Now, other victims appeared.
http://idwz.net
http://moviedb.asia


Complete .htaccess for idwz.net (Permalinks: /downloads/%postname%.aspx) :
PHP Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase 
/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
RewriteRule 
. /index.php [L]
</
IfModule>
# END WordPress 
Complete .htaccess for moviedb.asia (Permalinks: /%postname%.aspx/?%post_id%.download) :
PHP Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase 
/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
RewriteRule 
. /index.php [L]
</
IfModule>
# END WordPress 
I'm desperate.
Reply With Quote
  #24  
Old 05-30-2009, 01:53 AM
X-Nitro X-Nitro is offline
New Member
 
Join Date: May 2009
Posts: 8
Update :

Checked @ 15:53 GMT +7


I do nothing.
Reply With Quote
  #25  
Old 05-30-2009, 02:03 AM
DraCoola DraCoola is offline
Senior Member
 
Join Date: Mar 2009
Posts: 149
Quote:
Originally Posted by mistwang View Post
Then, you should not mix them together, it only make it harder to identify the cause of the problem.
Pardon me for double issue reporting on this thread.
It perhaps better to split my wordpress issue to another thread, so it can still focused per issue per thread by anyone.
Reply With Quote
  #26  
Old 05-30-2009, 02:32 AM
auser auser is offline
Senior Member
 
Join Date: Mar 2009
Posts: 119
Accessing
http://idwz.net
http://moviedb.asia

there is no problem(infinite loop). Already resolved without any change?

with following rewrite rule only:
Quote:
Originally Posted by X-Nitro View Post
Complete .htaccess for idwz.net (Permalinks: /downloads/%postname%.aspx) :
PHP Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase 
/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
RewriteRule 
. /index.php [L]
</
IfModule>
# END WordPress 
I tested latest lsws 4.0.4(standard version) and apache 2.2.11
None will cause infinite redirect loop.

Are there any other possible rewrite rules applied?
I noticed:
http://idwz.net/a
http://idwz.net/b
i.e., a single letter following http://idwz.net/ will redirect to other page;
while 2 letters etc will go "Not Found"
http://idwz.net/aa -- Not Found
http://idwz.net/bb -- Not Found

maybe this is a wordpress module, and has conflict with the .htaccess?
Just a guess.
Reply With Quote
  #27  
Old 05-30-2009, 03:22 AM
X-Nitro X-Nitro is offline
New Member
 
Join Date: May 2009
Posts: 8
@auser,
yup, already solved without any changes I've try disable all module, but useless.
Notes :
This errors only occured at wordpress instalation.
Reply With Quote
  #28  
Old 05-30-2009, 03:46 AM
auser auser is offline
Senior Member
 
Join Date: Mar 2009
Posts: 119
Quote:
Originally Posted by X-Nitro View Post
@auser,
yup, already solved without any changes
just to confirm: so now works well? or problem still occur randomly?
Reply With Quote
  #29  
Old 05-30-2009, 07:47 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Have you enabled disk cache? If yes, you should disable it for now.
I think it caches response for request http://www.mp3smackers.com/, which redirects to http://mp3smackers.com/
Reply With Quote
  #30  
Old 05-30-2009, 08:31 AM
X-Nitro X-Nitro is offline
New Member
 
Join Date: May 2009
Posts: 8
Quote:
Originally Posted by auser View Post
just to confirm: so now works well? or problem still occur randomly?
so far no problem
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:51 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.