Solved

problem with page and alias

Posted on 2006-11-02
1
167 Views
Last Modified: 2006-11-18
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?
0
Comment
Question by:Sabrin
1 Comment
 
LVL 16

Accepted Solution

by:
HackneyCab earned 500 total points
ID: 17863397
The Alias directive is sending all requests for /galleries/ to the galleries for domain1.com. Is that what you intended?
0

Featured Post

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question