i have checked the logs and could not found anything strange but i
have found the reason and it is a bug in IIS 5
http://support.microsoft.com/kb/216493
thanks for your response!
On Apr 11, 1:31 pm, Walter Lee Davis <[EMAIL PROTECTED]> wrote:
> On Apr 11, 2007, at 3:22 AM, michal wrote:
>
>
>
>
>
>
>
> > nobody an idea?
>
> > On Apr 6, 11:37 am, "michal" <[EMAIL PROTECTED]> wrote:
> >> hi guys,
> >> ive experienced a slight problem with my request when i automatically
> >> take the current page's URL as the URL for the request. here is a
> >> snippet of the code:
>
> >> new Ajax.Request(window.location.href, {
> >> method: 'post'
> >> .....
>
> >> });
>
> >> it works fine unless the url is a folder without the specific filename
> >> e.g. host.com/somefolder/
> >> i got a forbidden page back from the webserver (IIS) cause it seems i
> >> cannot post to such URL's ... i think normally the webserver should
> >> return the default page and forward the request to it... but its not
> >> the case :(
>
> >> does someone has an idea how i could solve this little problem ...
>
> >> thanks & cheers
> >> michal
>
> When you post to such an address, your server has to forward the
> request to the actual index page, and if you don't have the trailing
> slash, perhaps, that means two redirects before the form is handled.
> Maybe the server is dropping part of the request on the floor. I would
> look carefully in the request and error logs on the server and see what
> if anything it is doing in this time frame. My hunch is that that's
> where the issue lies.
>
> Walter- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---