ciao11 Posted October 25, 2020 Share Posted October 25, 2020 Hello, I need to fix this rewrite rule problem in NGIX. I have a config file that generates automatic subdomain. Send attached file ////////////////////////////////////////////////// ////////////////////////////////// 1. Subdomain doesn't recognize php but only html http://subdomain1.ubeama.it/hello.php?id_tradus=1 Php file download it ////////////////////////////////////////////////// ////////////////////////////////// 2. Instead of : http://subdomain1.ubeama.it/hello.php?id_tradus=1 I need to have : http://subdomain1.ubeama.it/ttt/1 REGARDS Cristi Quote Link to comment https://forums.phpfreaks.com/topic/311641-rewrite-rule-problem-in-ngix/ Share on other sites More sharing options...
requinix Posted October 25, 2020 Share Posted October 25, 2020 If you want those subdomains to behave a certain way then you have to write the configuration to do it. Quote Link to comment https://forums.phpfreaks.com/topic/311641-rewrite-rule-problem-in-ngix/#findComment-1582064 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.