FollowSymLinks in Wampserver2.4
Posted by: BennyNeedsToKnow (94.102.192.---)
Date: January 25, 2014 03:03AM

Hi everyone,


I've been looking at httpd.conf in wampserver2.4 and noticed

<Directory "c:/wamp/www">

Options Indexes FollowSymLinks

AllowOverride All

# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Allow from ::1
Allow from localhost
</Directory>


What is the purpose of 'FollowSymlinks' in Windows? or why is this included in httpd.conf?


I have RTFM but I can'tfigure this one out.

Can anyone throw somelight on this?

Thanks
Benny

Options: ReplyQuote
Re: FollowSymLinks in Wampserver2.4
Posted by: RiggsFolly (---.as13285.net)
Date: January 25, 2014 05:54PM

Hi Benny,

Actually you can create symlinks in windows ever since XP. [msdn.microsoft.com]

Guess you RT Wrong FM.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: FollowSymLinks in Wampserver2.4
Posted by: Otomatic (Moderator)
Date: January 25, 2014 06:09PM

Hi,

For PHP : [fr2.php.net]
It is possible for XP SP3 with specific driver : [schinagl.priv.at]

But in ALL cases, doesn't work with FAT32, needs NTFS.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: FollowSymLinks in Wampserver2.4
Posted by: BennyNeedsToKnow (94.102.192.---)
Date: January 25, 2014 08:22PM

Thanks guys.
I did read the FM at [httpd.apache.org] but it while it mentions widnows it didn't cover how symlinks are imolemented in windows.

I see now thats its a winapi function and implemented in pho but not as a Windows user command so thanks for that.


But what I really couldn't fiure out is why, although it may be useful in certain circumstancs, for example,
I can see it would be useful in building a configuartion that would be more Windows <> *nix compatible.

I was wondering why is is explictly defined in the WAMPERVER2.4 Apache httpd.conf configuration for this wamp specific directory. My interpretation of it's meaning in context of its placement, is that if there are any symlinks in "c:/wamp/www" use them..

There aren't any, so why is it specified?

Does that definition extend to sub-directories, i.e user develeoped sites under www?

or is it just left there as a 'standard' option?

I just don't want to miss the point, if there is one.

Options: ReplyQuote
Re: FollowSymLinks in Wampserver2.4
Posted by: Otomatic (Moderator)
Date: January 26, 2014 09:49AM

BennyNeedsToKnow Wrote:
-------------------------------------------------------
> I see now thats its a winapi function and implemented in php but not as a Windows user
> command so thanks for that.

There is a Windows command line: mklink

I use many symbolic links and junctions. For example to add a external database to WampServer or to add the same virtual hosts into my second Wampserver (64 bits, only for testing purpose).

With a command windows:
- in "wamp/bin/mysql/mysql5.6.12/data/" I can type
mklink /J my_database K:\databases\my_database
to add my_database to MySQL without having to copy the files.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: FollowSymLinks in Wampserver2.4
Posted by: BennyNeedsToKnow (94.102.192.---)
Date: January 26, 2014 08:31PM

Thanks again. the more I ask the more I learn.

Options: ReplyQuote


Sorry, only registered users may post in this forum.