0
votes
1answer
742 views

Configuring httpd.conf to handle wildcard domains with *multiple* scripts

I have a full-blown site like: http://www.example.com (uses index.php) http://www.example.com/scriptA.php http://www.example.com/scriptB.php I now want to have the possibility of setting up ...
0
votes
1answer
130 views

Subdomains from folders on Apache

I have a website on localhost, mapped in HOSTS as: 127.0.0.1 www.yorkshiretestingwebsite.com 127.0.0.1 yorkshiretestingwebsite.com However, the folder (C:/www/vhosts/yorkshiretestingwebsite.com) ...
2
votes
2answers
1k views

Nginx Subdomains and Rewrite Rules

I've been trying to configure Nginx to do what I currently have set up in Apache, but no luck so far. I would like http://$1.$2.mas.example.com (where $1 and $2 is any subdomain) to point to root ...