Every time I login I get a redirect error, doesn't go to main forum page?
Every time I login I get a redirect error, doesn't go to main forum page?
Officially "banned for life" from SVOCA!!
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).
RewriteEngine OnCode:# 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
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!"
(aka Anonymous)
Club MemberAlex L is banned for not speaking English.
"Just leave me alone. I know what to do" (Kimi)
^
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
(aka Anonymous)
Club MemberMike Fleming is banned for not speaking English.
"Just leave me alone. I know what to do" (Kimi)
I hate it when that happens.Mike Fleming is banned for not speaking English.
Helping SVO owners & racers since 1984
Poll Finds 30% Of Americans Still Undecided Whether To Vote Out Of Fear Or Spite
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
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.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?
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!"
^
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
I'm banning myself from this thread....
It worked this last time though, Thanks!
Officially "banned for life" from SVOCA!!
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