LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Ruby/Rails (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=20)
-   -   403 Error on _some_ file uploads in 4.1RC2 (http://www.litespeedtech.com/support/forum/showthread.php?t=4280)

ideaoforder 09-02-2010 12:52 PM

403 Error on _some_ file uploads in 4.1RC2
 
Hello,

On one specific page, I'm getting a 403 Access Denied error when uploading files in a Rails app--the request doesn't even seem to hit the Rails app (i.e. nothing shows up in the log), so it's choking before it hits the app.

Everything works fine locally. And everything works fine on other pages running pretty much identical code. Even more strangely, everything seems to work fine when uploading from computers that have Rails installed, but not on computers that don't.

I haven't been able to pinpoint anything in the logs, but I feel like this is an issue with Rack, which had to be patched slightly to make LSAPI work with Rack 1.0.1 (required for Rails 2.3.5).

Any ideas on this?

mistwang 09-02-2010 02:44 PM

Is there any mod_security rule? Anything in error log?

ideaoforder 09-02-2010 03:00 PM

The error log is empty and I don't see anything in the general server log either. As far as I know there aren't any mod_security rules. Again, this works for every but one single action, which is very strange. Litespeed sends a 403 before the rails app even has a chance to process anything.

ideaoforder 09-15-2010 08:57 AM

Would upgrading to 4.1 RC3 help? Also, I had to patch Rack to work with RC2, will that patch cause a problem now?

mistwang 09-16-2010 10:55 AM

Quote:

Originally Posted by ideaoforder (Post 21253)
The error log is empty and I don't see anything in the general server log either. As far as I know there aren't any mod_security rules. Again, this works for every but one single action, which is very strange. Litespeed sends a 403 before the rails app even has a chance to process anything.

You can enable debug logging, and what happened. you can track log entries by your IP address.


All times are GMT -7. The time now is 11:20 PM.