Python combines two scripts into one if/else
10 USDOne script makes 301 redirect
The second script performs the proxy of the server (rotating on a public domain)
Public domain where the proxy script is test.com for example
You need to take the 301 redirect code and put it in the top of the proxy file and check that if the proxy script comes not from the test.com domain but for example e.r.test.com/r.test.com/mama.test.com (clean examples no more) - then fill out the 301 redirect to the test.com domain
All the code is available you just need to add the host check and enter the already ready code.
Есть два скрипта на питоне.
Один скрипт делает 301 редирект
Второй скрипт выполняет проксирование сервера (крутится на публичном домене)
Публичный домен где стоит скрипт проксирования test.com к примеру
Нужно взять код 301 редирект и вставить его в вверх файла проксирования и дописать проверку что если на скрипт проксирования заходят не с домена test.com а к примеру e.r.test.com/r.test.com/mama.test.com (чисто примеры не более) - то выоплнять 301 редирект на домен test.com
Весь код имеется вам нужно только добавить проверку по хосту и вставить уже готовый код.
Client's feedback on cooperation with Viktor Cherednichenko
Python combines two scripts into one if/elseA Suitable Specialist. Without any extra questions. The project was delayed but the man was always in contact and did not ask stupid questions trying to find out himself.
I recommend it.
-
1514 55 0 Good Morning, Nikita
I am a web development specialist.
Ready to take work
Make it fast and cheap.
Write, we will discuss details.
Добрый день, Никита
Я специалист Веб-разработки.
Готов взяться за работу
Сделаю быстро и недорого
Пишите, обсудим детали.
-
380 23 0 1 I will write the right condition, I will do it right now.
I take on right now.
Допишу нужное условие, займусь прямо сейчас
займусь прямо сейчас
-
Приложите сами скрипты в задание
-
Можно в лс скрипты и немного описание, чтобы понять логику?
-
Current freelance projects in the category Web programming
Adding new functionality to an existing project (ReactJS)Good time of the day! We are looking for a ReactJS developer to help us add new functionality to an existing platform. It is necessary to layout new pages and integrate them with the API. You can familiarize yourself with the design of the new pages at the link HERE. The API… JavaScript, Web programming ∙ 9 proposals |
Write an extension for Google Chrome
22 USD
Extension is needed for Google Chrome (fake forecast of the next number or color for the casino) Need to remember the last entered numbers and when the button is pressed, a random number is displayed Also need to remember the entered color and when the button is pressed, show a… JavaScript, Web programming ∙ 4 proposals |
Parse the website and upload it to OpenCart
13 USD
Good evening, we need to parse and download products from one online store to ours. Offer your options, or we can install the SimplePars module for this. Anything else? Web programming, Data parsing ∙ 4 proposals |
Fix the landing page for Google Ads, clean up compromised linksSpecialist needed to clean compromised links from the website https://armadom.com.ua/ (landing was done on webflow) Google support writes: clean compromised links added below: cdnmetric[.]com/ Write if you have experience with this and know how to fix it to pass the appeal in… JavaScript, Web programming |
Need software for sending messages on Telegram or Viber.
637 USD
There is a database of phone numbers for which it is necessary to send messages in Viber or Telegram (it doesn't matter where, the main thing is that the software works and does not crash). No prepayments, payment either step by step or based on results. We are a large… Python, Web programming ∙ 9 proposals |