Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: FollowSymlink problem on Windows |
|
Author |
|
tkorsdal
Joined: 28 Jul 2006 Posts: 2
|
Posted: Fri 28 Jul '06 13:42 Post subject: FollowSymlink problem on Windows |
|
|
I have installed XAMPP as to have a local php development environment on my WinXP box. Apache and PHP seems to work fine.
In the document root I have defined a shortcut to my php development directory.
Apache won't follow this shortcut. I haven't changed anything in the httpd.conf.
It works fine on my linux server. What am I missing?
Thx in adv.
Tage |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Fri 28 Jul '06 14:31 Post subject: |
|
|
Windows does not support Symlinks! Here is Windows the issue!
If you need a shortcut. Create a folder with the shortcut name and into it create a index.php
index.php
Code: |
<?php
$host = $_SERVER['HTTP_HOST'];
$uri = rtrim(dirname($_SERVER['PHP_SELF']), '/\\');
$extra = 'path/to/your/folder/';
header("Location: http://$host$uri/$extra");
exit;
?>
|
or something like that... |
|
Back to top |
|
tkorsdal
Joined: 28 Jul 2006 Posts: 2
|
Posted: Thu 03 Aug '06 18:24 Post subject: |
|
|
Aaa I see!
Thanx alot! |
|
Back to top |
|
|
|
|
|
|