skip to Main Content

Redirect and change URL with Apache/htaccess

I want to change/redirect URIs with http/https in this way: from: http:// or https://xyz.lastdomain.com/b/custom/any-string/456?foo=bar to: https://custom.nextdomain.com/b/any-string/456?foo=bar the custom string should be in the new URL and everything from b so as the end of the URI should be appended. I…

VIEW QUESTION

No module named pymysql – Apache

Getting a 500 internal error when attempting to create an apache/django server that runs on digital ocean. After checking the log.error i can see the error below import pymysql as db ModuleNotFoundError: No module named pymysql Within Terminal... python --version…

VIEW QUESTION

url rewrite rule for paramters – Apache

I have the following URL: https://www.mydomain.de/termin_cancel=c502b486-e8ad-490a-a615-80307a515fc8 Original url: https://www.mydomain.de/index.php?termin_cancel=c502b486-e8ad-490a-a615-80307a515fc8 rewrite rule: RewriteRule ^termin_cancel=([w-]+)/?$ index.php?termin_cancel=$1 [L,NC,QSA] This works ! But now I have a problem with the next situation: The url should be: https://www.mydomain.de/termin_change=XXX&serviceID=XXX&firstname=XXX&lastname=XXX&email=XXX original url: https://www.mydomain.de/index.php?termin_change=XXX&serviceID=XXX&firstname=XXX&lastname=XXX&email=XXX I don't know which…

VIEW QUESTION
Back To Top
Search