![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
STP URL rewrite for nginx?
Tried to using automated htaccess to nginx rewrite converter but it still does not working, getting either
html file downloaded or 404 error. Any ideas? Here is htaccess code: Code:
RewriteEngine on <IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> <IfModule mod_headers.c> <FilesMatch ".(eot|otf|svg|ttf|woff|woff2)$"> Header set Access-Control-Allow-Origin "*" </FilesMatch> </IfModule> RewriteRule ^get/([0-9]+)/([a-zA-Z0-9]+)/([a-zA-Z0-9]+)/([0-9]+)/([0-9]+)/([a-zA-Z0-9\.]+)$ stp/flv.php?storage_id=$1&hash=$2&time=$3&subdir=$4&id=$5&file=$6&%{QUERY_STRING} [L] RewriteRule ^click/(video|gallery)/([a-zA-Z0-9]+)/([a-zA-Z0-9-]+)$ stp/stp.php?type=$1&id=$2&title=$3%{QUERY_STRING} [L] RewriteRule ^click/([0-9-]+)/(video|gallery)/([a-zA-Z0-9-]+)-([a-zA-Z0-9]+)\.html$ stp/stp.php?&page=$1&type=$2&id=$4&title=$3&popular=1%{QUERY_STRING} [L] RewriteRule ^video/([a-zA-Z0-9-]+)-([a-zA-Z0-9]+)\.html$ index.php?view=video&v=$2&%{QUERY_STRING} [L] RewriteRule ^gallery/([a-zA-Z0-9-]+)-([a-zA-Z0-9]+)\.html$ index.php?view=gallery&g=$2&%{QUERY_STRING} [L] RewriteRule ^ranked/$ index.php?view=ranked_media&%{QUERY_STRING} [L] RewriteRule ^embed/([a-zA-Z0-9]+) stp/embed.php?v=$1&%{QUERY_STRING} [L] RewriteRule ^playlist/([a-zA-Z0-9]+)/([0-9-]+)/([a-zA-Z0-9]+)/([a-zA-Z0-9-]+)\.html$ index.php?view=video&v=$3&playlist=$1&p=$2&%{QUERY_STRING} [L] RewriteRule ^playlist/([a-zA-Z0-9]+)/([a-zA-Z0-9]+)/([a-zA-Z0-9-]+)\.html$ index.php?view=video&v=$2&playlist=$1&%{QUERY_STRING} [L] RewriteRule ^playlist/([a-zA-Z0-9-]+)/([0-9]+)/$ index.php?view=playlist&playlist=$1&p=$2 [L] RewriteRule ^playlist/([a-zA-Z0-9-]+)/$ index.php?view=playlist&playlist=$1 [L] RewriteRule ^(videos|galleries)/$ index.php?view=categories&type=$1&%{QUERY_STRING} [L] RewriteRule ^(videos|galleries)/([a-zA-Z0-9_-]+)-(recent|view|rate|length|vip|popular|popular_all)\.html$ index.php?view=categories&type=$1&main_cat=$2&sort=$3&%{QUERY_STRING} [L] RewriteRule ^(videos|galleries)/([a-zA-Z0-9_-]+)-(recent|view|rate|length|vip|popular|popular_all)-([0-9]+)\.html$ index.php?view=categories&type=$1&main_cat=$2&sort=$3&p=$4&%{QUERY_STRING} [L] RewriteRule ^(videos|galleries)/([a-zA-Z0-9-]+)/$ index.php?view=categories&type=$1&main_cat=$2&%{QUERY_STRING} [L] RewriteRule ^(videos|galleries)/([a-zA-Z0-9-]+)/([a-zA-Z0-9_-]+)-[^-]*(recent|view|rate|length|vip|popular|popular_all)\.html$ index.php?view=categories&type=$1&main_cat=$2&sub_cat=$3&sort=$4&%{QUERY_STRING} [L] RewriteRule ^(videos|galleries)/([a-zA-Z0-9-]+)/([a-zA-Z0-9_-]+)-[^-]*(recent|view|rate|length|vip|popular|popular_all)-([0-9]+)\.html$ index.php?view=categories&type=$1&main_cat=$2&sub_cat=$3&sort=$4&p=$5&%{QUERY_STRING} [L] RewriteRule ^group/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)\.html$ index.php?view=group&group=$1&%{QUERY_STRING} [L] RewriteRule ^group/([a-zA-Z0-9-]+)/forum/$ index.php?view=group_forum&group=$1 [L] RewriteRule ^group/([a-zA-Z0-9-]+)/videos/$ index.php?view=group_videos&group=$1 [L] RewriteRule ^group/([a-zA-Z0-9-]+)/galleries/$ index.php?view=group_galleries&group=$1 [L] RewriteRule ^group/([a-zA-Z0-9-]+)/members/$ index.php?view=group_members&group=$1 [L] RewriteRule ^groups/$ index.php?view=groups&%{QUERY_STRING} [L] RewriteRule ^groups/([a-zA-Z0-9-]+)/(([0-9]+)/)?(.*)$ index.php?view=groups&category=$1&p=$3&%{QUERY_STRING} [L] RewriteRule ^members/(([0-9]+)/)?(.*)$ index.php?view=memberlist&avatar_required=0&content_required=0&p=$2&%{QUERY_STRING} [L] RewriteRule ^widgets/$ index.php?view=widgets&%{QUERY_STRING} [L] RewriteRule ^blogs/$ index.php?view=blogs&%{QUERY_STRING} [L] RewriteRule ^blogs/(([0-9]+)/)?(.*)$ index.php?view=blogs&p=$2&%{QUERY_STRING} [L] RewriteRule ^profile/([a-zA-Z0-9]+)/$ index.php?view=profile&user=$1 [L] RewriteRule ^profile/([a-zA-Z0-9]+)/blog/([a-zA-Z0-9-]+)-([a-zA-Z0-9]+)\.html$ index.php?view=profile&page=profile_blog_post&post=$3&user=$1 [L] RewriteRule ^profile/([a-zA-Z0-9]+)/blog/$ index.php?view=profile&page=profile_blogs&user=$1 [L] RewriteRule ^profile/([a-zA-Z0-9]+)/blog/([0-9]+)/$ index.php?view=profile&page=profile_blogs&user=$1&p=$2 [L] RewriteRule ^profile/([a-zA-Z0-9]+)/videos/$ index.php?view=profile&page=profile_videos&user=$1 [L] RewriteRule ^profile/([a-zA-Z0-9]+)/videos/([0-9]+)/$ index.php?view=profile&page=profile_videos&user=$1&p=$2 [L] RewriteRule ^profile/([a-zA-Z0-9]+)/galleries/$ index.php?view=profile&page=profile_galleries&user=$1 [L] RewriteRule ^profile/([a-zA-Z0-9]+)/galleries/([0-9]+)/$ index.php?view=profile&page=profile_galleries&user=$1&p=$2 [L] RewriteRule ^profile/([a-zA-Z0-9]+)/favorite-videos/$ index.php?view=profile&page=profile_favorite_videos&user=$1 [L] RewriteRule ^profile/([a-zA-Z0-9]+)/favorite-videos/([0-9]+)/$ index.php?view=profile&page=profile_favorite_videos&user=$1&p=$2 [L] RewriteRule ^profile/([a-zA-Z0-9]+)/favorite-galleries/$ index.php?view=profile&page=profile_favorite_galleries&user=$1 [L] RewriteRule ^profile/([a-zA-Z0-9]+)/favorite-galleries/([0-9]+)/$ index.php?view=profile&page=profile_favorite_galleries&user=$1&p=$2 [L] RewriteRule ^profile/([a-zA-Z0-9]+)/playlists/$ index.php?view=profile&page=profile_playlist&user=$1 [L] RewriteRule ^profile/([a-zA-Z0-9]+)/playlists/([0-9]+)/$ index.php?view=profile&page=profile_playlist&user=$1&p=$2 [L] RewriteRule ^profile/([a-zA-Z0-9]+)/friends/$ index.php?view=profile&page=profile_friends&user=$1 [L] RewriteRule ^profile/([a-zA-Z0-9]+)/friends/([0-9]+)/$ index.php?view=profile&page=profile_friends&user=$1&p=$2 [L] RewriteRule ^profile/([a-zA-Z0-9]+)/groups/$ index.php?view=profile&page=profile_groups&user=$1 [L] RewriteRule ^profile/([a-zA-Z0-9]+)/groups/([0-9]+)/$ index.php?view=profile&page=profile_groups&user=$1&p=$2 [L] RewriteRule ^profile/([a-zA-Z0-9]+)/comments/$ index.php?view=profile&page=profile_comments&user=$1 [L] RewriteRule ^profile/([a-zA-Z0-9]+)/comments/([0-9]+)/$ index.php?view=profile&page=profile_comments&user=$1&p=$2 [L] RewriteRule ^categories/((videos|galleries)/)?(.*)$ index.php?view=categories_pick&type=$2&%{QUERY_STRING} [L] RewriteRule ^categories_list/$ index.php?view=categories_list&%{QUERY_STRING} [L] RewriteRule ^search/$ index.php?view=search&%{QUERY_STRING} [L] RewriteRule ^search/([a-zA-Z0-9-]+)/(.*[^/])$ index.php?view=search&search_type=$1&search=$2&%{QUERY_STRING} [L] RewriteRule ^search/([a-zA-Z0-9-]+)/(.*[^/])/([0-9-]+)/$ index.php?view=search&search_type=$1&search=$2&p=$3&%{QUERY_STRING} [L] RewriteRule ^feed/([a-zA-Z0-9-]+)/(videos|galleries)/(recent|view|rate|length|vip|featured)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)/$ stp/feed.php?view=feed&format=$1&type=$2&sort=$3&main_cat=$4&sub_cat=$5&user=$6&time=$7 [L] RewriteRule ^feed/([a-zA-Z0-9-]+)/(all|videos|galleries)/deleted/([a-zA-Z0-9_]+)/$ stp/feed.php?view=feed&format=$1&type=$2&type2=deleted&time=$3 [L] RewriteRule ^callback/billthephone/([0-9]+)/$ stp/payment/callback.php?stp_api=billthephone&stp_method_id=$1&%{QUERY_STRING} [L] RewriteRule ^callback/([a-zA-Z0-9_-]+)/([a-zA-Z0-9]+)/$ stp/payment/callback.php?stp_api=$1&stp_callback_password=$2&%{QUERY_STRING} [L] RewriteRule ^callback/([a-zA-Z0-9_-]+)/$ stp/payment/callback.php?stp_api=$1&%{QUERY_STRING} [L] RewriteRule ^video-comments/([a-zA-Z0-9-]+)/$ index.php?view=comments_video&v=$1 [L] RewriteRule ^gallery-comments/([a-zA-Z0-9-]+)/$ index.php?view=comments_gallery&g=$1 [L] RewriteRule ^signup/$ index.php?view=signup [L] RewriteRule ^login/$ index.php?view=login&%{QUERY_STRING} [L] RewriteRule ^submit/$ index.php?view=submit [L] RewriteRule ^terms/$ index.php?view=terms_of_service [L] RewriteRule ^privacy/$ index.php?view=privacy_policy [L] RewriteRule ^dmca/$ index.php?view=dmca_policy [L] RewriteRule ^report-abuse/$ index.php?view=report_abuse [L] RewriteRule ^contact-us/$ index.php?view=contact_us [L] RewriteRule ^advertisement/$ index.php?view=advertisement [L] RewriteRule ^forgot-password/$ index.php?view=forgot_password [L] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Mar 2015
Posts: 142
|
Online tools to convert .htacces to NGINX don't work. Already tried with KVS with no luck.
Ask your host to convert it for you. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
So Fucking Banned
Join Date: Jun 2005
Posts: 3,770
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
Also contacted support guy, and seems he does not know solution, he claim how auto-converted regex should be fine but obviously it's not. I think i had similar problem with other tube script but cant remember where i asked for help and how i solved it then lol
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Industry Role:
Join Date: Mar 2015
Posts: 142
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
So Fucking Banned
Industry Role:
Join Date: Sep 2017
Posts: 353
|
Industry related threads are not allowed on this forum, delete this.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Industry Role:
Join Date: Mar 2015
Posts: 142
|
Ask the host. Bepe and Goodwill are good guys but these days probably they sell 2 licenses monthly ...so they don't care much.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
Solved by using auto converter tool which i used before. Crazy how none of other tools actually bothered to check does their tool working properly or not. Now need to see is STP good or bad script.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Industry Role:
Join Date: Mar 2015
Posts: 142
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() |
|||||||
|
|||||||
Bookmarks |
Thread Tools | |