Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

problem with page and alias

Posted on 2006-11-02
1
Medium Priority
?
174 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 2000 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

Independent Software Vendors: 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

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…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

618 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