Redirect problem - phpBB3 Drupal 5.2

Events happening in the community are now at Drupal community events on www.drupal.org.
jase951's picture

Hi

http://desktop1/drubb/forum/ucp.php?mode=login&sid=00c1ba9dfb209995939c6... redirects to http://desktop1/drubb/forum/login which is not valid.

I'm sure changing .htaccess would fix this.

Jason

Comments

I feel like you are getting

arkepp's picture

I feel like you are getting a bit too trigger happy. If you are sure that changing the .htaccess file would fix this, you must also have a clear idea of what needs to be changed?

RewriteCond %{QUERY_STRING} ^mode=login(.)$
RewriteCond %{QUERY_STRING} !^bypass=true(.
)$
RewriteRule ^ucp.php(.*)$ ../phpbb/login [L]

I wouldnt be surprised if it doesnt deal with the "..", it does however surprise me if the "phpbb" part of the rewrite is ignored.

Note that this only affects the rewrite of the login form, the redirect after a login is handled by the module, not the .htaccess file.

"trigger happy" lol - i'll

jase951's picture

"trigger happy" lol - i'll be honest i'm working on a project which I'm incorporating phpBB to, which exlains why i'm tryin to solve all the issues asap.

As hor .htaccess I know nothing about it, but will look at it.

Thanks for your help anyways.

phpbb

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week