  | |  | another apache/php/redhat question | another apache/php/redhat question 2004-01-13 - By RedHat
Back Ok, now that I can call up local host, I am getting an error for my php includes.
I'm assuming that I need to redirect the folders somehow with a link.
The error is:
*Warning*: Failed opening '/home/lokrin/www/www/nav/header.php' for inclusion (include_path='.:/usr/share/pear') in */var/www/html/index.php* on line *6*
<?php include ("/home/lokrin/www/www/nav/header.php"); ?>
basically /home/lokrin/www/www is the root directory at my web host and /var/www/html is the root directory on my computer. I don't want to go through a few hundred pages and change everything. Instead I'd like to redirect it somehow. Along with all the subdirectories, of course.
Also, is there a file someplace that shows what hard and soft links already exist? I know I've made a few, such as to certain directories on my windows partition, so I don't have to type in the complete path to them.
Call me a dummy, but man ln and info ln don't really make a lot of sense to me.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body> Ok, now that I can call up local host, I am getting an error for my php includes. <br> <br> I'm assuming that I need to redirect the folders somehow with a link.<br> <br> The error is:<br> <br> <b>Warning</b>: Failed opening '/home/lokrin/www/www/nav/header.php' for inclusion (include_path='.:/usr/share/pear') in <b>/var/www/html/index.php< /b> on line <b>6</b><br> <br> <?php<br> include ("/home/lokrin/www/www/nav/header.php");<br> ?><br> <br> basically /home/lokrin/www/www is the root directory at my web host and /var/www/html is the root directory on my computer. I don't want to go through a few hundred pages and change everything. Instead I'd like to redirect it somehow. Along with all the subdirectories, of course.<br> <br> Also, is there a file someplace that shows what hard and soft links already exist? I know I've made a few, such as to certain directories on my windows partition, so I don't have to type in the complete path to them.<br> <br> Call me a dummy, but man ln and info ln don't really make a lot of sense to me.<br> <br> </body> </html>
Earn $52 per hosting referral at Lunarpages.
|
|
 |