Menu ▾ ▴

#108 Need to send full URLs in redirects

Reproducible
closed-fixed
5
2001-11-04
2001-09-20
No

HTTP 404 errors from Xitami web server occur when performing any function other than logging in
and refreshing the inbox.

I have successfully gotten NOCC to work with Xitami 2.4d7 after some trial and error.

Xitami expects page redirections to have full URLs in the 'Location: ' redirection request. I modified:

action.php
delete.php
functions.php
logout.php
send.php

In my case I used a quick hack, I just hard-coded the references with the full URL to the pages
being redirected to.

By way of suggestion, a configuration option to allow for either relative or full URLs in the
redirection requests would be in order.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    had the same problem

    but it needn't to be completely full like an absolute URL

    just the relative path using "http:"

    like 'Location: http:./index.php[...]'

     
  • Ross Golder

    Ross Golder - 2001-10-31

    Logged In: YES
    user_id=20872

    Sounds like a reasonable request. I think that using
    $PHP_SELF (full-URL) based redirects would be the right
    approach, and wouldn't require any additional configuration
    variables.

     
  • Ross Golder

    Ross Golder - 2001-10-31
    • assigned_to: nobody --> rossigee
    • summary: Page redirection and Xitami --> Need to send full URLs in redirects
     
  • Ross Golder

    Ross Golder - 2001-11-04
    • status: open --> closed-fixed
     
  • Ross Golder

    Ross Golder - 2001-11-04

    Logged In: YES
    user_id=20872

    Added '$base_url' configuration parameter to allow you to
    specify a base_url for redirects. Check out a recent CVS
    snaphost, or the upcoming 0.9.5 release.

     

Log in to post a comment.