Найдите исполнителя для вашего проекта прямо сейчас!
Разместите заказ на фриланс-бирже и предложения поступят уже через несколько минут.

не работает NGNIX PHP+FPM по причине отсутствия настроек:

                                              

# Show ad                                                                                                                                     

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/posts/([0-9]+)([-_][^/]*)?/([0-9]+)([-_][^/]*)?/([0-9]+)([-_][^/]*)?\.html        /index.php?view=showad&adid=$7&cityid=$1 [QSA]

        

# ADULT ALERT

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/posts/([0-9]+)([-_][^/]*)?/alert.html    /index.php?view=alert&catid=$3&cityid=$1 [QSA]

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/posts/([0-9]+)([-_][^/]*)?/([0-9]+)([-_][^/]*)?/alert.html    /index.php?view=alert&catid=$3&subcatid=$5&cityid=$1 [QSA]

                                                                                                                                      

# Ads                                                                                                                                         

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/posts/([0-9]+)([-_][^/]*)?/([0-9]+)([-_][^/]*)?/page([0-9]*)\.html            /index.php?view=ads&catid=$3&subcatid=$5&cityid=$1&page=$7 [QSA]

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/posts/([0-9]+)([-_][^/]*)?/([0-9]+)([-_][^/]*)?/([a-zA-Z0-9]*)-sort/?page([0-9]*)\.html            /index.php?view=ads&catid=$3&subcatid=$5&cityid=$1&page=$8&sort=$7 [QSA]

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/posts/([0-9]+)([-_][^/]*)?/([0-9]+)([-_][^/]*)?                    /index.php?view=ads&catid=$3&subcatid=$5&cityid=$1 [QSA]

                                                                                                                                              

## Begin Version 5.2 - Pagination bug fix + Uniform page links ##

# Ads by cat    

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/posts/([0-9]+)([-_][^/]*)?/([a-zA-Z0-9]*)-sort/?page([0-9]*)\.html            /index.php?view=ads&catid=$3&subcatid=0&&cityid=$1&page=$6&sort=$5 [QSA]

                                                                                                                              

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/posts/([0-9]+)([-_][^/]*)?/page([0-9]*)\.html            /index.php?view=ads&catid=$3&subcatid=0&&cityid=$1&page=$5 [L,QSA]

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/posts/([0-9]+)([-_][^/]*)?                                /index.php?view=ads&catid=$3&cityid=$1 [QSA]

## End Version 5.2 - Pagination bug fix + Uniform page links ##

                                                                                                                               

# Show event                                                                                                                                  

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/events(/(([0-9]+)-([0-9]+)-([0-9]+)))?/([0-9]+)([-_][^/]*)?\.html            /index.php?view=showevent&date=$4&adid=$8&cityid=$1 [QSA]

                                                                                                                                              

# Events on date                                                                                                                              

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/events/(([0-9]+)-([0-9]+)-([0-9]+))/page([0-9]*)\.html                /index.php?view=events&date=$3&cityid=$1&page=$7 [QSA]

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/events/(([0-9]+)-([0-9]+)-([0-9]+))                            /index.php?view=events&date=$3&cityid=$1 [QSA]

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/events                                        /index.php?view=events&cityid=$1 [QSA]

                                                                                                                                              

# Show image                                                                                                                                  

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/images/([^/]+)/([0-9]+)([-_][^/]*)?\.html                        /index.php?view=showimg&posterenc=$3&imgid=$4&cityid=$1 [QSA]

                                                                                                                                             

# Images by user, paged                                                                                                                       

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/images/([^/]+)/page([0-9]+)\.html                            /index.php?view=imgs&posterenc=$3&cityid=$1&page=$4 [QSA]

                                                                                                                                              

# Top Images, paged                                                                                                                           

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/images/page([0-9]+)\.html                                /index.php?view=imgs&cityid=$1&page=$3 [QSA]

                                                                                                                                              

# Images by user                                                                                                                              

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/images/([^/]+)                                    /index.php?view=imgs&posterenc=$3&cityid=$1 [QSA]

                                                                                                                                              

# Top Images                                                                                                                                  

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/images                                        /index.php?view=imgs&cityid=$1 [QSA]

                                                                                                                                              

# Quick ad/event/image                                                                                                                        

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/showpost/([0-9]+)([-_][^/]*)?\.html                            /index.php?view=showad&adid=$3&cityid=$1 [QSA]

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/showevent/([0-9]+)([-_][^/]*)?\.html                            /index.php?view=showevent&adid=$3&cityid=$1 [QSA]

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/showimage/([0-9]+)([-_][^/]*)?\.html                            /index.php?view=showimg&imgid=$3&cityid=$1 [QSA]

                                                                                                                                              

# City/Region                                                                                                                                 

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?                                            /index.php?view=main&cityid=$1 [QSA]

RewriteRule ^([-]?[0-9]+)([-_][^/]*)?                                            /index.php?view=main&cityid=$1 [QSA]

RewriteRule ^keyword_(.*)_([-0-9]+).html$ /index.php?keyword=keyword&search=$1&cityid=$2&view=ads

## Begin Version 5.0 ##

# RSS URLs

RewriteRule ^feed/posts                                                                               /rss.php?view=ads&cityid=0 [QSA]

RewriteRule ^feed/events                                                                               /rss.php?view=events&cityid=0 [QSA]

RewriteRule ^feed/([-]?[0-9]+)([-_][^/]*)?/posts/([0-9]+)([-_][^/]*)?/([0-9]+)([-_][^/]*)?            /rss.php?view=ads&catid=$3&subcatid=$5&cityid=$1 [QSA]

RewriteRule ^feed/([-]?[0-9]+)([-_][^/]*)?/posts/([0-9]+)([-_][^/]*)?                                /rss.php?view=ads&catid=$3&cityid=$1 [QSA]

RewriteRule ^feed/([-]?[0-9]+)([-_][^/]*)?/posts                                                    /rss.php?view=ads&cityid=$1 [QSA]

RewriteRule ^feed/([-]?[0-9]+)([-_][^/]*)?/events/(([0-9]+)-([0-9]+)-([0-9]+))                        /rss.php?view=events&date=$3&cityid=$1 [QSA]

RewriteRule ^feed/([-]?[0-9]+)([-_][^/]*)?/events                                                    /rss.php?view=events&cityid=$1 [QSA]

## End Version 5.0 ##

# SHARED RULES

RewriteRule ^login.html /index.php?view=login [QSA]

RewriteRule ^login_help.html /index.php?view=login_help [QSA]

RewriteRule ^register.html /index.php?view=register [QSA]

RewriteRule ^forgotpass.html /index.php?view=forgotpass [QSA]

RewriteRule ^edit_email.html /index.php?view=changemail [QSA]

RewriteRule ^edit_pass.html /index.php?view=changepass [QSA]

RewriteRule ^edit_profile.html /index.php?view=editpro [QSA]

# ACCOUNT RULES

RewriteRule ^account.html /index.php?view=account [QSA]

RewriteRule ^account/edit/pass.html /index.php?view=changepass [QSA]

RewriteRule ^account/edit/email.html /index.php?view=changemail [QSA]

RewriteRule ^account/edit/profile.html /index.php?view=editpro [QSA]

RewriteRule ^account/ads.html /index.php?view=account&sort=ads [QSA]

RewriteRule ^account/events.html /index.php?view=account&sort=events [QSA]

# ACCOUNT PAGER RULES

RewriteRule ^account/ads/page([0-9]+)\.html /index.php?view=account&sort=ads&page=$1 [QSA]

RewriteRule ^account/events/page([0-9]+)\.html /index.php?view=account&sort=events&page=$1 [QSA]

RewriteRule ^account/images/page([0-9]+)\.html /index.php?view=account&sort=images&page=$1 [QSA]

# ACCOUNT PAGER RULES

RewriteRule ^resend.html /resend.php [QSA]

RewriteRule ^partner.html /partner.php [QSA]

# FuN XML Sitemap rewrite

RewriteRule sitemap-(.*)-(.*)\.xml$ /sitemap.php?type=$1&id=$2

RewriteRule ^sitemap.xml$ /sitemap.php [L]

RewriteRule ^flag.html /index.php?view=flag [QSA] 

Запись в NGNIX

location / {                try_files $uri $uri/ /index.php;        }

  -вопрос не решает:

6 лет назад
haubau
39 летУкраина
12 лет в сервисе
Был
3 года назад
19 отзывов