[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] How do I create an Alias on a Raq3?
- Subject: [cobalt-users] How do I create an Alias on a Raq3?
- From: "Jonathan D. Hozeska" <jhozeska@xxxxxxxxxxx>
- Date: Sat Feb 10 10:51:03 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hello!
I am having trouble setting up an Alias for my PHP includes on a Raq3.
If I put this line in my PHP code it works:
<?php require('/home/sites/site1/includes/config.inc'); ?>
But when I change my code to read:
<?php require('/includes/config.inc'); ?>
and add the following line to my Virtual Site in httpd.conf :
Alias /includes/ /homes/sites/site1/includes/
and then restart apache it does not work.
"Fatal error: Failed opening required '/includes/config.inc'
(include_path='.:/usr/local/lib/php') in /home/sites/site1/web/test.php on
line 1"
I'm sure there is an easy fix but I can't seem to locate it. Please help!
Thank you.