problem with page and alias

hello,
I added this line to my httpd.conf
Alias /galleries/ "/home/virtual/domain1.com/var/www/html/galleries/"

when I go to
domain1.com/galleries
domain2.com/galleries
domain3.com/galleries

I see the galleries and thats what I want!

In each of those galleries this is what I have

<? include("../main/header.php"); ?>
my content
<? include("../main/footer.php"); ?>

I also added main dir to domain2 and 3
to match the template and pics
but if I go to domain2 or 3 it show the main dir
from domain1... how can I fix this?
SabrinAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
HackneyCabConnect With a Mentor Commented:
The Alias directive is sending all requests for /galleries/ to the galleries for domain1.com. Is that what you intended?
0
All Courses

From novice to tech pro — start learning today.