Advertisement
Guest User

Untitled

a guest
May 30th, 2020
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.28 KB | None | 0 0
  1.  
  2. RewriteOptions inherit
  3.  
  4. RewriteEngine on
  5.  
  6. RewriteCond %{HTTP_HOST} ^bijeljina\.rs$ [OR]
  7. RewriteCond %{HTTP_HOST} ^www\.bijeljina\.rs$
  8. RewriteRule ^radio1$ "https\:\/\/cloud\.hx\-servers\.com\:2083\/" [R=301,L]
  9.  
  10. RewriteCond %{HTTP_HOST} ^bijeljina\.rs$ [OR]
  11. RewriteCond %{HTTP_HOST} ^www\.bijeljina\.rs$
  12. RewriteRule ^radio2$ "http\:\/\/5\.135\.114\.234\:9996\/" [R=301,L]
  13.  
  14. RewriteCond %{HTTP_HOST} ^bijeljina\.rs$ [OR]
  15. RewriteCond %{HTTP_HOST} ^www\.bijeljina\.rs$
  16. RewriteRule ^lucky$ "http\:\/\/luckyodd\.com\/secret\/admin\.php" [R=301,L]
  17.  
  18.  
  19. RewriteCond %{HTTP_HOST} ^bijeljina\.rs$ [OR]
  20. RewriteCond %{HTTP_HOST} ^www\.bijeljina\.rs$
  21. RewriteRule ^rpanel$ "https\:\/\/cloud\.hx\-servers\.com\:2083\/" [R=301,L]
  22.  
  23.  
  24.  
  25.  
  26. RewriteCond %{HTTP_HOST} ^bijeljina\.rs$ [OR]
  27. RewriteCond %{HTTP_HOST} ^www\.bijeljina\.rs$
  28. RewriteRule ^spanel$ "http\:\/\/5\.135\.114\.234\:9996\/" [R=301,L]
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39. # Lines That should already be in your .htacess
  40. <Files "config.php">
  41. Order Allow,Deny
  42. Deny from All
  43. </Files>
  44. <Files "common.php">
  45. Order Allow,Deny
  46. Deny from All
  47. </Files>
  48.  
  49. # You may need to un-comment the following lines
  50. # Options +FollowSymlinks
  51. # To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist
  52. # Options -MultiViews
  53. # REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
  54. RewriteEngine On
  55. # Uncomment the statement below if you want to make use of
  56. # HTTP authentication and it does not already work.
  57. # This could be required if you are for example using PHP via Apache CGI.
  58. # RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
  59. # REWRITE BASE
  60. RewriteBase /
  61. # HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN
  62. # Define fully qualified ssl aware protocol
  63. # RewriteCond %{SERVER_PORT}s ^(443(s)|[0-9]+s)$
  64. # RewriteRule ^.*$ - [env=HttpFullProto:http%2://]
  65. # RewriteCond %{HTTP_HOST} !^www\.bijeljina\.rs$ [NC]
  66. # RewriteRule ^(.*)$ %{ENV:HttpFullProto}www.bijeljina.rs/$1 [QSA,L,R=301]
  67.  
  68. # DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS
  69. RewriteCond %{REQUEST_FILENAME} -f [OR]
  70. RewriteCond %{REQUEST_FILENAME} -d
  71. RewriteRule . - [L]
  72. #####################################################
  73. # PHPBB SEO REWRITE RULES ALL MODES
  74. #####################################################
  75. # AUTHOR : dcz www.phpbb-seo.com
  76. # STARTED : 01/2006
  77. #################################
  78. # FORUMS PAGES
  79. ###############
  80. # FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX
  81. # RewriteRule ^forum/forum\.html$ /forum/index.php [QSA,L,NC]
  82. # FORUM ALL MODES
  83. RewriteRule ^forum/(forum|[a-z0-9_-]*-f)([0-9]+)(-([0-9]+))?\.html$ /forum/viewforum.php?f=$2&start=$4 [QSA,L,NC]
  84. # TOPIC WITH VIRTUAL FOLDER ALL MODES
  85. RewriteRule ^forum/(forum|[a-z0-9_-]*-f)([0-9]+)/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC]
  86. # TOPIC WITHOUT FORUM ID & DELIM ALL MODES
  87. RewriteRule ^forum/([a-z0-9_-]*)/?(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC]
  88. # PHPBB FILES ALL MODES
  89. RewriteRule ^forum/resources/[a-z0-9_-]+/(thumb/)?([0-9]+)$ /forum/download/file.php?id=$2&t=$1 [QSA,L,NC]
  90. # PROFILES THROUGH USERNAME
  91. RewriteRule ^forum/member/([^/]+)/?$ /forum/memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
  92. # USER MESSAGES THROUGH USERNAME
  93. RewriteRule ^forum/member/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ /forum/search.php?author=$1&sr=$2&start=$4 [QSA,L,NC]
  94. # GROUPS ALL MODES
  95. RewriteRule ^forum/(group|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ /forum/memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC]
  96. # POST
  97. RewriteRule ^forum/post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L,NC]
  98. # ACTIVE TOPICS
  99. RewriteRule ^forum/active-topics(-([0-9]+))?\.html$ /forum/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
  100. # UNANSWERED TOPICS
  101. RewriteRule ^forum/unanswered(-([0-9]+))?\.html$ /forum/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
  102. # NEW POSTS
  103. RewriteRule ^forum/newposts(-([0-9]+))?\.html$ /forum/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
  104. # UNREAD POSTS
  105. RewriteRule ^forum/unreadposts(-([0-9]+))?\.html$ /forum/search.php?search_id=unreadposts&start=$2 [QSA,L,NC]
  106. # THE TEAM
  107. RewriteRule ^forum/the-team\.html$ /forum/memberlist.php?mode=leaders [QSA,L,NC]
  108. # HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES
  109.  
  110. # FORUM WITHOUT ID & DELIM ALL MODES
  111. # THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
  112. RewriteCond %{REQUEST_FILENAME} !-f
  113. RewriteRule ^forum/([a-z0-9_-]+)(-([0-9]+))\.html$ /forum/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
  114. RewriteCond %{REQUEST_FILENAME} !-f
  115. RewriteRule ^forum/([a-z0-9_-]+)\.html$ /forum/viewforum.php?forum_uri=$1 [QSA,L,NC]
  116. # FIX RELATIVE PATHS : FILES
  117. RewriteRule ^forum/.+/(style\.php|ucp\.php|mcp\.php|faq\.php|download/file.php)$ /forum/$1 [QSA,L,NC,R=301]
  118. # FIX RELATIVE PATHS : IMAGES
  119. RewriteRule ^forum/.+/(styles/.*|images/.*)/$ /forum/$1 [QSA,L,NC,R=301]
  120. # END PHPBB PAGES
  121. #####################################################
  122.  
  123. RewriteCond %{HTTP_HOST} ^bijeljina\.rs$ [OR]
  124. RewriteCond %{HTTP_HOST} ^www\.bijeljina\.rs$
  125. RewriteRule ^marketing\.php$ "http\:\/\/bijeljina\.rs\/kontakt\.php" [R=301,L]
  126. RewriteCond %{HTTP_HOST} ^.*$
  127. RewriteRule ^rentps4$ "https\:\/\/olx\.ba\/r\/37104590\/285528" [R=301,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement