tcms alt out redirect problems

Post all bugs here
thesios
Posts: 54
Joined: Thu Sep 05, 2013 7:12 pm

tcms alt out redirect problems

Post by thesios »

I have a new tcms install Build 201412080920

When I add an external trade script in alt out

/te3/out.php?u={url}

the generate url is
/hegre-art/alex-and-flora-portraits-with-penis-1/index.html

which fails but if the full page location is used
http://theartofporn.sexy/hegre-art/alex ... JBilivF98E

Note the addition of teh id and the token
admin
Site Admin
Posts: 37197
Joined: Wed Sep 10, 2008 11:43 am

Re: tcms alt out redirect problems

Post by admin »

/hegre-art/alex-and-flora-portraits-with-penis-1/index.html

which fails
Why and how exactly it fails ?
Don't forget to run script update
thesios
Posts: 54
Joined: Thu Sep 05, 2013 7:12 pm

Re: tcms alt out redirect problems

Post by thesios »

I changed to alt url

olease check it out

http://www.theartofporn.sexy/
admin
Site Admin
Posts: 37197
Joined: Wed Sep 10, 2008 11:43 am

Re: tcms alt out redirect problems

Post by admin »

Hm, can you plz send me access to admin area ?
Don't forget to run script update
thesios
Posts: 54
Joined: Thu Sep 05, 2013 7:12 pm

Re: tcms alt out redirect problems

Post by thesios »

Submitted via pm
thesios
Posts: 54
Joined: Thu Sep 05, 2013 7:12 pm

Re: tcms alt out redirect problems

Post by thesios »

RewriteEngine On

RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]{2})/(.*)$ $2?force_lng=$1&%{QUERY_STRING} [L]

#ewriteRule ^/te3/out.php$ /te3/out.php?%{QUERY_STRING} [L]ING} [L]

#RewriteRule ^/te3/out.php$ /te3/out.php?%{QUERY_STRING} [L]

RewriteRule ^category/([^/]+)/$ /scj/cgi/out.php?url=content&p=100&dont_count_in_trade=true&skip_sell=true&group_name=$1&order=ctr&%{QUERY_STRING} [L]
RewriteRule ^category/([^/]+)/([^/]+)/([^/]+)/$ /scj/cgi/out.php?url=content&p=100&dont_count_in_trade=true&skip_sell=true&group_name=$1&order=$2&page=$3&%{QUERY_STRING} [L]

#slug galleries
RewriteRule ^metart/([^/]+)/index.html$ /scj/cgi/out.php?url=content&slug=$1&%{QUERY_STRING} [L]
RewriteRule ^metart/([^/]+)/([0-9]{1,2}).html$ /scj/cgi/out.php?url=content&slug=$1&item_id=$2&%{QUERY_STRING} [L]

#tags
RewriteRule ^tag/([^/]+)/([^/]+)/([^/]+)/$ /scj/tube/index.php?tag=$1&page=$3&order=$2&%{QUERY_STRING} [L]
RewriteRule ^tag/([^/]+)/([^/]+)/$ /scj/tube/index.php?tag=$1&page=$2&%{QUERY_STRING} [L]
RewriteRule ^tag/([^/]+)/$ /scj/tube/index.php?tag=$1&%{QUERY_STRING} [L]

#model galleries
RewriteRule ^model_galleries/([^/]+)/$ /scj/tube/?model_slug=$1&force_template=model_galleries [L]
RewriteRule ^model_galleries/([^/]+)/([^/]+)/$ /scj/tube/?model_slug=$1&page=$2&force_template=model_galleries [L]

RewriteRule ^model/([^/]+)/$ /scj/tube/?model_slug=$1&force_template=model_galleries&%{QUERY_STRING} [L]
RewriteRule ^model/([^/]+)/([^/]+)/([^/]+)/$ /scj/tube/?model_slug=$1&force_template=model_galleries&order=$2&page=$3&%{QUERY_STRING} [L]

RewriteRule ^search/([^/]+)/([^/]+)/$ /scj/tube/index.php?search=$1&page=$2&%{QUERY_STRING} [L]
RewriteRule ^search/([^/]+)/([^/]+)/([^/]+)/$ /scj/tube/index.php?search=$1&order=$2&page=$3&%{QUERY_STRING} [L]

RewriteRule ^movies/$ /scj/tube/index.php?force_template=movies&%{QUERY_STRING} [L]
RewriteRule ^categories/$ /scj/tube/index.php?force_template=categories&%{QUERY_STRING} [L]

RewriteRule ^recent/$ /scj/tube/index.php?order=date&%{QUERY_STRING} [L]
RewriteRule ^recent/([0-9]+)/$ /scj/tube/index.php?order=date&page=$1&%{QUERY_STRING}

RewriteRule ^sponsor/(.*)/$ /scj/tube/?sponsor_slug=$1&force_template=sponsor_page [L]
RewriteRule ^sponsor_galleries/(.*)/(.*)/$ /scj/tube/?sponsor_slug=$1&page=$2&force_template=sponsor_list [L]

#slug galleries
#RewriteCond %{QUERY_STRING} ^(.+)$
#RewriteRule ^gallery/([^/]+)/index.html$ /scj/cgi/out.php?link=images/%{QUERY_STRING}&url=content&slug=$1 [L]
#RewriteRule ^gallery/([^/]+)/index.html$ /scj/tube/?slug=$1 [L]
#RewriteRule ^gallery/([^/]+)/$ /scj/tube/?slug=$1 [L]
#RewriteRule ^gallery/([^/]+)/([0-9]{1,2}).html$ /scj/tube/?slug=$1&item_id=$2 [L]

#slug galleries
#RewriteRule ^gallery/([^/]+)/index.html$ /scj/cgi/out.php?url=content&slug=$1&%{QUERY_STRING} [L]
#RewriteRule ^gallery/([^/]+)/([0-9]{1,2}).html$ /scj/cgi/out.php?url=content&slug=$1&item_id=$2&%{QUERY_STRING} [L]

#new slug galleries
RewriteRule ^(.*)/([^/]+)/index.html$ /scj/cgi/out.php?url=content&slug=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)/([^/]+)/([0-9]{1,2}).html$ /scj/cgi/out.php?url=content&slug=$2&item_id=$3&%{QUERY_STRING} [L]
admin
Site Admin
Posts: 37197
Joined: Wed Sep 10, 2008 11:43 am

Re: tcms alt out redirect problems

Post by admin »

Did you try to update the script there ?
Don't forget to run script update
thesios
Posts: 54
Joined: Thu Sep 05, 2013 7:12 pm

Re: tcms alt out redirect problems

Post by thesios »

I did took update 1 when it was first installed

Do I have to do it again ?
admin
Site Admin
Posts: 37197
Joined: Wed Sep 10, 2008 11:43 am

Re: tcms alt out redirect problems

Post by admin »

What build version do you have there ?
I think it's a couple of month old
Don't forget to run script update
thesios
Posts: 54
Joined: Thu Sep 05, 2013 7:12 pm

Re: tcms alt out redirect problems

Post by thesios »

Build 201412080920
Post Reply