rerouting directories

Problems with the Windows version of XAMPP, questions, comments, and anything related.

rerouting directories

Postby jcgamo88 » 04. August 2007 03:33

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.
jcgamo88
 
Posts: 2
Joined: 04. August 2007 03:07

Postby lyntuan » 04. August 2007 04:50

Try to use AMPstart

Edit AMPstart.ini:

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

Note: No drive letter.
See FAQ
Last edited by lyntuan on 26. December 2008 13:43, edited 1 time in total.
AMPstart :: Launch a Portable Web Server
http://ampstart.com
----------------------------------------------------------
Please read Disclaimer section carefully before downloading
lyntuan
 
Posts: 104
Joined: 08. November 2006 00:21

Postby Wiedmann » 04. August 2007 11:15

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.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby jcgamo88 » 05. August 2007 06:54

This is perfect Wiedmann. I thank you much!
jcgamo88
 
Posts: 2
Joined: 04. August 2007 03:07


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 31 guests