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: How to emulate Linux path in windows? |
|
Author |
|
drawgas
Joined: 24 Jan 2006 Posts: 6 Location: Lithuania, Vilnius
|
Posted: Tue 24 Jan '06 18:56 Post subject: How to emulate Linux path in windows? |
|
|
Hi, i've got a project. It runs on a Linux machine.
Some of the scripts uses paths like /home/username/some_dir, or
/home/username/public__html/some_dir.
Im also working on this project on my Windows machine. Of course the
paths dont work.
Is there any way i could make Apache think, that
C:\wwwroot\home\username is same as /home/username ?
This would not be a problem if would not use a Subversion.. I could make a config and change the path depending on what machine i'm running the project, but i dont wanna change one or two files everytime i want to Comit my work to Subversion.. |
|
Back to top |
|
drawgas
Joined: 24 Jan 2006 Posts: 6 Location: Lithuania, Vilnius
|
Posted: Wed 25 Jan '06 10:46 Post subject: |
|
|
i've solved the problem with a help of one person.
i just needed to put all my files not to C:\wwwroot\home .... but directly to C:\home
so the path /home/ worked.. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
drawgas
Joined: 24 Jan 2006 Posts: 6 Location: Lithuania, Vilnius
|
Posted: Sun 05 Feb '06 13:51 Post subject: |
|
|
i've tried, but Alias dont help The problem is solved as written above |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sun 05 Feb '06 14:44 Post subject: |
|
|
Ok, i misunterstood that. Sorry. Of cause you can emulate Linux on Windows http://www.cygwin.com/ |
|
Back to top |
|
|
|
|
|
|