Answer the question
In order to leave comments, you need to log in
Multiple DirectoryIndex (for different alias domains in the directory) in htaccess maybe?
Essence, in one directory there are several domains, aliases.
Each should be given a separate index file.
This is real?
This is how something does not work, only the first one works:
RewriteCond %{HTTP_HOST} ^domen1\.ru$ [NC]
DirectoryIndex 1.html
RewriteCond %{HTTP_HOST} ^domen2\.ru$ [NC]
DirectoryIndex 2.html
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question