PDA

View Full Version : Problem with url signin



kmai
09-20-2010, 11:15 PM
Nick,

Please what could have happened
clicking the menu "signin" I am sent to this url

http://www.meusite.com.br/index.php?page=login&return=http% 3A% 2F% 2F% 2Fwww.meusite.com.br
the rest ok
help me

Thanks

Nick
09-21-2010, 02:20 AM
What is meusite.com.br? Is that your site? :confused:

kmai
09-21-2010, 09:52 AM
What is meusite.com.br? Is that your site? :confused:

two reasons make me change the name of my site

1 - do not spam
2 - he still is not alive to be presented

This problem appears most in the index

if you need to send me a PM for you with access to the site

Thanks

Nick
09-21-2010, 10:35 AM
clicking the menu "signin" I am sent to this url

http://www.meusite.com.br/index.php?page=login&return=http% 3A% 2F% 2F% 2Fwww.meusite.com.br

That url looks correct to me. It's the login page followed by the url to return the user to after they have logged in. (I don't know why there are spaces in it, though.)

kmai
09-21-2010, 10:56 AM
I am using friendly url

time appears as shown above
time appears http://www.meusite.com.br/login

Thanks

Nick
09-21-2010, 11:03 AM
I can't see your site. Just a H-SPHERE file not found error.

/login should work by itself, but "Friendly urls" are not applied when the return parameter is used.

kmai
09-21-2010, 12:09 PM
I believe the problem was in htaccess

I use this way


## Redirect www.example.com to example.com. Add ## if you don't need the redirect.
##RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
##RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

or by redirection to www


RewriteCond %{HTTP_HOST} ^meusite.com.br [NC]
RewriteRule ^(.*)$ http://www.meusite.com.br/$1 [L,R=301]

I like to use www

Thanks

Nick
09-21-2010, 01:47 PM
Thanks for sending me your site url and test login/password. I logged in without any problems.

kmai
09-21-2010, 05:12 PM
Nick,

Discovered why lock signin

Configuring my htccess with blocking access libwww-perl goes confit with some code


RewriteCond% (HTTP_USER_AGENT) libwww [NC, OR]
RewriteCond% (QUERY_STRING) ^(.*)= http [NC]
RewriteRule ^(.*)$ - [F, L]

Explanation: http://www.polepositionmarketing.com/emp/website-security/

Thanks for the help