Solved

problem with page and alias

Posted on 2006-11-02
1
169 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

733 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