Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have lighttpd running on a windows 7 box.

Is there a way to emulate symlink behavior?

Say my document root is at D:\www\docs. And suppose that some files I want to have in my web server's file space are at E:\data. Also assume E:\ is a FAT32 filesystem or maybe a mounted file share - in other words the NTFS hardlinks are not supported.

If a file index.html is at D:\www\docs\index.html, it'd be accessible at http://www.myexample.com/index.html. If there's a file E:\data\download.dat, I'd want to access it at http://www.myexample.com/data/download.dat. (Notice that these are on different drive letters.)

On Linux I'd just do ln -s /data /www/docs/ (well not exactly but you get the idea). Can I do this on Win32 though?

share|improve this question
2  
Why not just use a symlink? Or better yet, Linux? –  Michael Hampton Jun 11 '13 at 8:38
    
didn't know about mklink... thank you! If you post that separately I'll mark answered and vote up ;-) –  fdmillion Jun 11 '13 at 8:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.