Re: Ensuring all links go to index.php [SOLVED]
| From: | Dave M G | Date: | Mon, 23 Oct 2006 11:47:06 +0000 |
| Subject: | Re: Ensuring all links go to index.php [SOLVED] | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-243467@lists.php.net to get a copy of this message | ||
Edward, Roman, Jochem, Lowell, Kreme,
Thank you for your explanations.
Based on what was said here, I understand that the issue was setting up my local computer's Apache server to treat my directory hierarchies as they would behave on my hosting service.
With the help of my local Linux user's group, I was able to edit my local Apache configuration files to get the right setup.
As was mentioned here, it's not a PHP issue per se, but now I can, in PHP, get to my root web directory by simply preceeding any relative link with a forward slash.
Thanks for your time and advice.
--
Dave M G
Ubuntu 6.06 LTS
Kernel 2.6.17.7
Pentium D Dual Core Processor
PHP 5, MySQL 5, Apache 2