0
votes
1answer
1k views

Best way to handle PHP sessions across Apache vhost wildcard domains

I'm currently running a site that allows users to use custom domains (i.e. so instead of mysite.com/myaccount, they could have myaccount.com). They just change the A record of their domain and we then ...
0
votes
1answer
198 views

Apache Wildcard Vhost not working

I can't seem to get a wildcard vhost working on my local apache installation. My vhosts file currently has the contents below. After I edit it, I'm making sure to restart the server but have still had ...
1
vote
2answers
318 views

Apache conf: how to specify subdomain in <Directory /path/to/subdomain> when using mod_vhost_alias for wildcard virtual hosts

To start with, we wanted a request to *.example.com to be handled by a corresponding /var/www/*/ directory, and we have got this working by using mod_vhost_alias with VirtualDocumentRoot, as follows: ...