Solved

problem with page and alias

Posted on 2006-11-02
1
170 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo‚Ķ
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.

707 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