|
![]() |
Overclock.net - Overclocking.net > Specialty Builds > Servers | |
symbolic links in webserver
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||||
|
New to Overclock.net
|
I just recently finished setting up my webserver using Apache, but my problem is that i want to go to folders outside my document root. In the Apache config file it mentioned using symbolic links to achieve this goal. Unfortunately i have been unable to find how to create these "symbolic links" in windows xp(the os Apache is running on). If you could tell me how to create symbolic links or if there is a better way to achieve what i am try to do i would be most appreciative.
__________________
|
|||||||||
|
|
|
|
|
#2 (permalink) | |||||||||
|
makin' the big noise
![]() |
I'm honestly not sure if there is an equivalent to the symbolic link in Windows - its predominantly a linux/unix thing.
__________________
There are two muffins in an oven. One muffin says, "Wow! Its getting hot in here!" The other muffin yells, "Ahhh! A talking muffin!!"
Like cars? Check out http://www.carforum.net! || Like dogs? Check out http://www.dogforum.org! I get a lot of private messages - I will get back to you, I promise!
|
|||||||||
|
|
|
|
#3 (permalink) | |||||||||
|
New to Overclock.net
|
Hmm, well if i cant use symbolic links then i guess i could try to solve the problem that caused me to have to resort to symbolic links.
__________________When i initially configured Apache i was under the impression that i could have more than one document root, so i attempted to set my document root to something like this. Code:
DocumentRoot "D:\" DocumentRoot "f:\" Code:
DocumentRoot "D:\" Code:
DocumentRoot "D:WebsiteLocalHost"
|
|||||||||
|
|
|
|
|
#4 (permalink) | ||||||||||||||
|
New to Overclock.net
|
ok firstly in windows you need to use a "/" in your paths instead of a "\" so D:/ instead of D:\ . Next windows cant do the symlink thing. The next best thing is to use mod_alias.
__________________Heres a link on how to configure mod_alias. http://httpd.apache.org/docs/2.0/mod/mod_alias.html Here's the basic configuration though. Quote:
You may or may not need the Directory directive depending on your situation.
|
||||||||||||||
|
|
|
|
|
#5 (permalink) | |||||||||
|
Unix Evangelist
![]() |
There is Windows Services for UNIX: http://technet.microsoft.com/en-us/i.../bb380242.aspx
Install it and execute 'ln -s original_folder symlink', might work.
__________________
C'e solo l'Inter
|
|||||||||
|
|
|
|
|
#6 (permalink) | |||||||||
|
New to Overclock.net
|
Problem solved, thanks
__________________![]() +rep
|
|||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|