/[drupal]/contributions/modules/phpbb/phpbb.htaccess
ViewVC logotype

Diff of /contributions/modules/phpbb/phpbb.htaccess

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.8, Thu Aug 17 17:40:58 2006 UTC revision 1.9, Tue Oct 24 22:48:30 2006 UTC
# Line 11  Line 11 
11    RewriteRule ^search_newposts$ search.php?search_id=newposts [L]    RewriteRule ^search_newposts$ search.php?search_id=newposts [L]
12    RewriteRule ^search_ego$ search.php?search_id=egosearch [L]    RewriteRule ^search_ego$ search.php?search_id=egosearch [L]
13    RewriteRule ^unwatch_topic_(.*)$ viewtopic.php?unwatch=topic&t=$1 [L]    RewriteRule ^unwatch_topic_(.*)$ viewtopic.php?unwatch=topic&t=$1 [L]
14      RewriteRule ^viewtopic_(.*)$ viewtopic.php?topic&t=$1 [L]
15    
16    RewriteCond %{QUERY_STRING} ^mode=viewprofile&u=(.*)$    RewriteCond %{QUERY_STRING} ^mode=viewprofile&u=(.*)$
17    RewriteRule ^profile.php(.*)$ ../user/%1 [L]    RewriteRule ^profile.php(.*)$ ../user/%1 [L]
# Line 41  Line 42 
42    
43    RewriteCond %{QUERY_STRING} ^redirect=viewtopic.php&t=(.*)&unwatch=topic$    RewriteCond %{QUERY_STRING} ^redirect=viewtopic.php&t=(.*)&unwatch=topic$
44    RewriteRule ^login.php(.*)$ /user/login?destination=phpBB2/unwatch_topic_%1 [L]    RewriteRule ^login.php(.*)$ /user/login?destination=phpBB2/unwatch_topic_%1 [L]
45    
46      RewriteCond %{QUERY_STRING} ^redirect=viewtopic.php&t=(.*)$
47      RewriteRule ^login.php(.*)$ /user/login?destination=forum/viewtopic_%1 [L]
48    
49    
50          # Catches logins to the administration panel          # Catches logins to the administration panel
51    RewriteCond %{QUERY_STRING} !^redirect=admin(.*)$          RewriteCond %{HTTP_REFERER} !^(.*)redirect=admin/index\.php(.*)$ [NC]
52    RewriteRule ^login.php(.*)$ ../user/login?destination=phpBB2 [L]    RewriteCond %{QUERY_STRING} !^(.*)redirect=admin/index\.php(.*)$ [NC]
   
         # Safety  
53    RewriteRule ^login.php(.*)$ ../user/login?destination=phpBB2 [L]    RewriteRule ^login.php(.*)$ ../user/login?destination=phpBB2 [L]
54    
55    RewriteCond %{QUERY_STRING} ^mode=post&u=(.*)$    RewriteCond %{QUERY_STRING} ^mode=post&u=(.*)$

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.2