SHARE
TWEET

Untitled

a guest May 20th, 2019 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. RewriteEngine On
  2.  
  3. RewriteCond %{HTTPS} !=on
  4. RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  5. # DIR INDEX
  6. #Options -Indexes
  7.  
  8. # GZIP
  9. <ifmodule mod_deflate.c>
  10. AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
  11. </ifmodule>
  12.  
  13. ### FRONT END ###
  14.  
  15. # USER
  16. RewriteRule ^profil$ index.php?url=user/profile/ [L]
  17. RewriteRule ^twoje-filmy$ index.php?url=usermovie/index/ [L]
  18. RewriteRule ^twoje-filmy/liczba$ index.php?url=usermovie/count/ [L]
  19. RewriteRule ^rejestracja$ index.php?url=user/registration [L]
  20. RewriteRule ^aktywacja/([a-z0-9]+)$ index.php?url=user/activation/$1 [L]
  21. RewriteRule ^odzyskiwanie-hasla$ index.php?url=user/lost/
  22. RewriteRule ^odzyskiwanie-hasla/([a-z0-9]+)$ index.php?url=user/lost/$1 [L]
  23. RewriteRule ^logowanie$ index.php?url=user/login [L]
  24. RewriteRule ^wylogowanie$ index.php?url=user/logout [L]
  25.  
  26. # MOVIE
  27. RewriteRule ^ranking$ index.php?url=ranking/index/$1 [L]
  28. RewriteRule ^trailer/([A-Za-z0-9\-\_]+)$ index.php?url=movie/trailer/$1 [L]
  29. RewriteRule ^filmweb$ index.php?url=movie/filmweb [L] # FILMWEB API
  30. RewriteRule ^photos/([0-9]+)$ index.php?url=movie/photos/$1 [L] # FILMWEB PHOTOS
  31. RewriteRule ^dodaj-film$ index.php?url=movie/add [L] # ADD MOVIE
  32. RewriteRule ^film/([A-Za-z0-9\-\_]+)-([0-9]+)-([a-zA-Z]+)/([0-9]+)$ index.php?url=movie/show/$4 [L] # MOVIE
  33.  
  34. # ALL MOVIE
  35. RewriteRule ^filmy-online/(.+)$ index.php?url=movie/all/$1
  36. RewriteRule ^filmy-online/$ index.php?url=movie/all [L] # ALL MOVIE
  37.  
  38. # SERIES
  39. RewriteRule ^dodaj-serial$ index.php?url=series/add [L] # ADD SERIES
  40. RewriteRule ^dodaj-odcinek$ index.php?url=series/addEpisode [L] # ADD SERIES
  41. RewriteRule ^seriale-online/$ index.php?url=series/all [L] # ALL SERIES
  42. RewriteRule ^serial/([A-Za-z0-9\-\_]+)/([0-9]+)$ index.php?url=series/show/$2 [L] # SERIES
  43. RewriteRule ^([A-Za-z0-9\-\_]+)/([A-Za-z0-9\-\_]+)/odcinek-([0-9]+)-sezon-([0-9]+)/([0-9]+)$ index.php?url=series/episode/$5 [L] # EPISODE
  44.  
  45. # RULES
  46. RewriteRule ^regulamin$ index.php?url=rules/index/ [L]
  47. # VOTE
  48. RewriteRule ^ocen/film/([0-9]+)/([0-9]+)/$ index.php?url=vote/movie/$1/$2 [L] # VOTE MOVIE
  49. # FAVOURITE
  50. RewriteRule ^ulubiony-film/([0-9]+)$ index.php?url=favourite/index/$1 [L] # FAVOURITE MOVIE
  51. # PENDING
  52. RewriteRule ^oczekujacy-film/([0-9]+)$ index.php?url=pending/index/$1 [L] # PENDING MOVIE
  53. # PENDING
  54. RewriteRule ^zglos-film/([0-9]+)$ index.php?url=report/index/$1 [L] # REPORT MOVIE
  55. # ONLINE
  56. RewriteRule ^online$ index.php?url=online/get/ [L] # GET ONLINE
  57. # SEARCH
  58. RewriteRule ^szukaj$ index.php?url=search/get/ [L] # GET RESULTS
  59.  
  60. ### ADMIN ####
  61. # ADMIN
  62. RewriteRule ^administrator/$ index.php?url=admin/index/ [L]
  63. # DELETE ALL
  64. RewriteRule ^administrator/usun/wszystko$ index.php?url=delete/all/ [L]
  65. # REPORT
  66. RewriteRule ^administrator/zgloszenia$ index.php?url=admin/report [L]
  67. # DELETE REPORT
  68. RewriteRule ^administrator/usun/zgloszenie/([0-9]+)$ index.php?url=delete/report/$1 [L]
  69. # BOTS
  70. RewriteRule ^administrator/boty$ index.php?url=bot/index/ [L]
  71. # SETTINGS
  72. RewriteRule ^administrator/ustawienia$ index.php?url=settings/index/ [L]
  73. # SLIDER
  74. RewriteRule ^administrator/slider/([0-9]+)$ index.php?url=slider/index/$1 [L]
  75. # SETTINGS
  76. RewriteRule ^administrator/ustawienia$ index.php?url=settings/index/ [L]
  77. # DELETE MOVIE
  78. RewriteRule ^administrator/usun/film/([0-9]+)$ index.php?url=delete/movie/$1 [L]
  79. # EDIT MOVIE
  80. RewriteRule ^administrator/edytuj/film/([0-9]+)$ index.php?url=movie/edit/$1 [L]
  81. # DELETE SERIES
  82. RewriteRule ^administrator/usun/serial/([0-9]+)$ index.php?url=delete/series/$1 [L]
  83. # EDIT SERIES
  84. RewriteRule ^administrator/edytuj/serial/([0-9]+)$ index.php?url=series/edit/$1 [L]
  85. # DELETE EPISODE
  86. RewriteRule ^administrator/usun/odcinek/([0-9]+)$ index.php?url=delete/episode/$1 [L]
  87. # EDIT EPISODE
  88. RewriteRule ^administrator/edytuj/odcinek/([0-9]+)$ index.php?url=series/editEpisode/$1 [L]
  89. # WAITING
  90. RewriteRule ^administrator/poczekalnia$ index.php?url=admin/waiting/ [L]
  91. # ACCEPT
  92. RewriteRule ^administrator/akceptuj/film/([0-9]+)$ index.php?url=accept/index/movie/$1 [L]
  93. RewriteRule ^administrator/akceptuj/serial/([0-9]+)$ index.php?url=accept/index/series/$1 [L]
  94. RewriteRule ^administrator/akceptuj/odcinek/([0-9]+)$ index.php?url=accept/index/episode/$1 [L]
  95. # CATEGORY
  96. RewriteRule ^administrator/kategorie$ index.php?url=category/index/ [L]
  97. # ADD CATEGORY
  98. RewriteRule ^administrator/dodaj-kategorie$ index.php?url=category/add/ [L]
  99. # EDIT CATEGORY
  100. RewriteRule ^administrator/edytuj/kategorie/([0-9]+)$ index.php?url=category/edit/$1 [L]
  101. # DELETE CATEGORY
  102. RewriteRule ^administrator/usun/kategorie/([0-9]+)$ index.php?url=delete/category/$1 [L]
  103. # EDIT RULES
  104. RewriteRule ^administrator/regulamin$ index.php?url=rules/edit/ [L]
  105.  
  106. # USER
  107. RewriteRule ^administrator/uzytkownicy$ index.php?url=user/index/ [L]
  108. # EDIT USER
  109. RewriteRule ^administrator/edytuj/uzytkownik/([0-9]+)$ index.php?url=user/edit/$1 [L]
  110. # DELETE USER
  111. RewriteRule ^administrator/usun/uzytkownik/([0-9]+)$ index.php?url=delete/user/$1 [L]
  112.  
  113. # PREMIUM
  114. RewriteRule ^premium$ index.php?url=premium/index/ [L]
  115. RewriteRule ^premium/przelew/inicjalizuj/([0-9]+) index.php?url=premium/initTransfer/$1 [L]
  116. RewriteRule ^administrator/dodaj-przelew$ index.php?url=premium/addTransfer/ [L]
  117. RewriteRule ^administrator/dodaj-sms$ index.php?url=premium/addSMS/ [L]
  118. RewriteRule ^premium/sprawdz-sms/([A-Za-z0-9]+)$ index.php?url=premium/checkSMS/$1 [L]
  119. RewriteRule ^administrator/usun/sms/([0-9]+)$ index.php?url=delete/sms/$1 [L]
  120. RewriteRule ^administrator/usun/przelew/([0-9]+)$ index.php?url=delete/transfer/$1 [L]
  121. RewriteRule ^premium/odbierz$ index.php?url=premium/getTransfer/ [L]
  122. # php -- BEGIN cPanel-generated handler, do not edit
  123. # Set the “ea-php55” package as the default “PHP” programming language.
  124. <IfModule mime_module>
  125.   AddHandler application/x-httpd-ea-php55 .php .php5 .phtml
  126. </IfModule>
  127. # php -- END cPanel-generated handler, do not edit
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top