.htaccess sous-domaines
Question
Bonjour à tous.
Je veux créer un fichier .htaccess si je tape subdomain.domain.com puis-je utiliser (sous-domaine) comme chaîne de requête et domain.com comme domaine.
puis-je obtenir de l'aide pour cela? :)
- chars
La solution
Si quelqu'un visite hello.example.com, vous souhaitez le rediriger vers example.com/?domain=hello.
Veuillez consulter http://httpd.apache.org/ docs / 1.3 / misc / rewriteguide.html , section Hôtes d’utilisateurs virtuels.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow