Hey there!

It looks like you're enjoying SVO Club Of Pat but haven't created an account yet. Why not take a minute to register for your own free SVO Club Of Pat account now? As a SVO Club Of Pat registered user you get free access to our forums and posts plus the ability to post your own messages, communicate directly with other members and much more. Register now!

Already a SVO Club Of Pat member? Login at the top of this page to stop seeing this message.

Results 1 to 12 of 12

Thread: Login Error/Redirect

  1. #1
    Building Boost 4themasses's Avatar
    Join Date
    May 2012
    Location
    Kankakee, IL
    Posts
    20

    Login Error/Redirect

    Every time I login I get a redirect error, doesn't go to main forum page?
    Officially "banned for life" from SVOCA!!

  2. #2
    Moderator

    15 CP DaveS's Avatar


    Join Date
    Sep 2011
    Location
    Goshen, KY
    Posts
    445
    are you using www.svocop.com or svocop.com?
    the www. is required for the redirect to work (I was having the same problem too...which is why I know).

  3. #3
    Building Boost Alex L's Avatar
    Join Date
    May 2012
    Location
    Burlington, KY
    Posts
    64
    Quote Originally Posted by DaveS View Post
    are you using www.svocop.com or svocop.com?
    the www. is required for the redirect to work (I was having the same problem too...which is why I know).
    Code:
    # curl -I www.svocop.com
    HTTP/1.1 200 OK
    Date: Wed, 30 May 2012 03:05:14 GMT
    Server: Apache
    Accept-Ranges: bytes
    Vary: Accept-Encoding
    Content-Length: 14807
    Content-Type: text/html
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^svocop\.com$
    RewriteRule /(.*)$ http://www.svocop.com/$1 [R,L]

    i never run into that problem with $dayjob's software, nope, not me, not at all. if you want an earful in person, ask me about poorly thought out mult-homed/multi-named enabled customer installs over a 6 pack of beer.

    also wanna know whats _fun_? building out a rewrite handler to map ubb style links across 3 servernames to a SMF style URI, that uses a completely different anchor and path layout. 'should take a few weeks' i said.. :facepalm:
    "radar detectors are illegal in the Commonwealth of Virgina" "i bet cloaking devices are illegal too! good-bye!"

  4. #4
    Moderator

    (aka Anonymous) Club Member Patrick's Avatar


    Join Date
    Jun 2011
    Location
    I live under the moss-covered bridge
    Posts
    1,049
    Alex L is banned for not speaking English.
    "Just leave me alone. I know what to do" (Kimi)

  5. #5
    Red Captain MikeFleming's Avatar
    Join Date
    Jun 2011
    Location
    Tucson, AZ. USA, Earth
    Posts
    5,081
    ^
    That will work for the site, but probably not for the forum. Those kind of redirections are commonly used to force people to use SSL, i.e. from http: to https: transparently.

    The issue is that the user points to 'svocop.com/forum' and logs in - then a cookie is placed (or checked) by the forum software which stores it as 'www.svocop.com/forum' - which odes not match. Hence the redirect error from the browser.

    In any case it's a user error, and easily resolved by pointing the browser to the proper addy == www.svocop.com/forum. using 'svocop.com/forum' would also fail, I suspect, if we were using host headers to get to the forum.

    Maybe i should just take 'svocop.com' out of the dns records?
    Helping SVO owners & racers since 1984

    Poll Finds 30% Of Americans Still Undecided Whether To Vote Out Of Fear Or Spite

  6. #6
    Moderator

    (aka Anonymous) Club Member Patrick's Avatar


    Join Date
    Jun 2011
    Location
    I live under the moss-covered bridge
    Posts
    1,049
    Mike Fleming is banned for not speaking English.
    "Just leave me alone. I know what to do" (Kimi)

  7. #7
    Red Captain MikeFleming's Avatar
    Join Date
    Jun 2011
    Location
    Tucson, AZ. USA, Earth
    Posts
    5,081
    Mike Fleming is banned for not speaking English.
    I hate it when that happens.
    Helping SVO owners & racers since 1984

    Poll Finds 30% Of Americans Still Undecided Whether To Vote Out Of Fear Or Spite

  8. #8
    Building Boost Alex L's Avatar
    Join Date
    May 2012
    Location
    Burlington, KY
    Posts
    64
    Quote Originally Posted by MikeFleming View Post
    The issue is that the user points to 'svocop.com/forum' and logs in -
    na, if you setup the redir in apache, the initial GET for http://svocop.com/forum/ is redirected to http://www.svocop.com/forum before the page is even rendered, let alone the user has time to log in and have a session cookie created. note the ^/(.*)$ on the url match, and not ^/(.+)$, so it'll catch all the requests; which occurs way before handing the request over to mod_php

    In any case it's a user error, and easily resolved by pointing the browser to the proper addy == www.svocop.com/forum. using 'svocop.com/forum' would also fail, I suspect, if we were using host headers to get to the forum.

    Maybe i should just take 'svocop.com' out of the dns records?
    meh, most sites dont require www and will 302 over to the fully qualfied www address. i can see the principal of the matter, but if you remove the root a record, then when people type in svocop.com into their browser bar, it'll invoke the 'no such domain, ill send some impressions to $search_engine_that_paid_the_last_installed_toolbar_author' handler, which is dumb IMO.

    edit: oh, i see its already in place. sneeeky mike!
    "radar detectors are illegal in the Commonwealth of Virgina" "i bet cloaking devices are illegal too! good-bye!"

  9. #9
    Building Boost Alex L's Avatar
    Join Date
    May 2012
    Location
    Burlington, KY
    Posts
    64
    Quote Originally Posted by Patrick View Post
    Alex L is banned for not speaking English.
    Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn.
    "radar detectors are illegal in the Commonwealth of Virgina" "i bet cloaking devices are illegal too! good-bye!"

  10. #10
    Red Captain MikeFleming's Avatar
    Join Date
    Jun 2011
    Location
    Tucson, AZ. USA, Earth
    Posts
    5,081
    ^
    It's MUCH better in the original Klingon.
    Helping SVO owners & racers since 1984

    Poll Finds 30% Of Americans Still Undecided Whether To Vote Out Of Fear Or Spite

  11. #11
    Building Boost 4themasses's Avatar
    Join Date
    May 2012
    Location
    Kankakee, IL
    Posts
    20
    I'm banning myself from this thread....

    It worked this last time though, Thanks!
    Officially "banned for life" from SVOCA!!

  12. #12
    Red Captain MikeFleming's Avatar
    Join Date
    Jun 2011
    Location
    Tucson, AZ. USA, Earth
    Posts
    5,081
    So I fixed it thenl
    Helping SVO owners & racers since 1984

    Poll Finds 30% Of Americans Still Undecided Whether To Vote Out Of Fear Or Spite

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •