[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] How do I create an Alias on a Raq3?
- Subject: Re: [cobalt-users] How do I create an Alias on a Raq3?
- From: Pierre Chopot <pierre@xxxxxxxxxxx>
- Date: Sat Feb 10 16:10:05 2001
- Organization: Zapilou
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hello List,
Saturday, February 10, 2001, 7:26:12 PM, you wrote:
JDH> Hello!
JDH> I am having trouble setting up an Alias for my PHP includes on a Raq3.
JDH> If I put this line in my PHP code it works:
JDH> <?php require('/home/sites/site1/includes/config.inc'); ?>
JDH> But when I change my code to read:
JDH> <?php require('/includes/config.inc'); ?>
JDH> and add the following line to my Virtual Site in httpd.conf :
JDH> Alias /includes/ /homes/sites/site1/includes/
Just 2 ideas:
1/ removing the trailing slashes ??
2/ I guess it's a mistyping but you used home and then homes. If
you did a copy/paste, then there is an error somewhere !
JDH> and then restart apache it does not work.
JDH> "Fatal error: Failed opening required '/includes/config.inc'
JDH> (include_path='.:/usr/local/lib/php') in /home/sites/site1/web/test.php on
JDH> line 1"
JDH> I'm sure there is an easy fix but I can't seem to locate it. Please help!
JDH> Thank you.
--
Regards,
Pierre
pierre@xxxxxxxxxxx