Page 1 of 1

rerouting directories

PostPosted: 04. August 2007 03:33
by jcgamo88
Is there anyway to reference a file in a directory outside of the xampp htdocs directory?

I have xampp on E:\xampp\htdocs and I'd like to be able to have someone able to directory browse E:\folder or E:\documents and settings\user\Desktop\Folder

Would i be able to use Windows specific paths like %appdata% etc? I've tried using http://ip.ip.ip.ip/file:////e|/folder and similar variants to no avail.

PostPosted: 04. August 2007 04:50
by lyntuan
Try to use AMPstart

Edit AMPstart.ini:

[WEBSITE]
website=\folder
;or \documents and settings\user\Desktop\Folder

Note: No drive letter.
See FAQ

PostPosted: 04. August 2007 11:15
by Wiedmann
Is there anyway to reference a file in a directory outside of the xampp htdocs directory?

http://httpd.apache.org/docs/2.2/mod/mo ... html#alias

(Or you could make some symlinks.)

Would i be able to use Windows specific paths like %appdata% etc?

No.

PostPosted: 05. August 2007 06:54
by jcgamo88
This is perfect Wiedmann. I thank you much!