Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Specialty Builds > Servers

Reply
 
LinkBack Thread Tools
Old 07-08-08   #1 (permalink)
New to Overclock.net
 
Child_OD's Avatar
 
intel nvidia

Join Date: Jan 2007
Posts: 32

Rep: 0 Child_OD Unknown
Unique Rep: 0
Trader Rating: 0
Default symbolic links in webserver

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.
__________________
System: The Computer
CPU
E8400 3.8Ghz
Motherboard
Gigibyte Ga-EP35-DS3L
Memory
2gb (2x 1Gb)
Graphics Card
Evga 7600Gt
Power Supply
400W Enermax
Case
Powerspec
OS
Windows Xp
Monitor
19" Viewsonic Lcd 17" Compaq CRT
Child_OD is offline   Reply With Quote
Old 07-08-08   #2 (permalink)
makin' the big noise
 
Chipp's Avatar
 
intel nvidia

Join Date: Dec 2004
Location: Miami
Posts: 17,068
Blog Entries: 29

FAQs Submitted: 18
Hardware Reviews: 3
Trader Rating: 12
Default

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!

System: Precision M4400
CPU
2.4ghz P8600
Motherboard
Dell
Memory
2x2gb DDR2 800
Graphics Card
Quadro FX770M
Hard Drive
160gb 7200 RPM
Sound Card
E-Mu 0404 USB
OS
Windows 7
Monitor
Dell P2210H 22" 1080p LCD
Chipp is offline Overclocked Account Chipp's Gallery   Reply With Quote
Old 07-08-08   #3 (permalink)
New to Overclock.net
 
Child_OD's Avatar
 
intel nvidia

Join Date: Jan 2007
Posts: 32

Rep: 0 Child_OD Unknown
Unique Rep: 0
Trader Rating: 0
Default

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:\"
This was unsuccessful, so my next step was to reduce it down to one document root.
Code:
DocumentRoot "D:\"
When that didn't work i tried reinstalling Apache, at which point i receved a error messege which said something along the lines of you must have your document root point to a folder. I found it peculiar, but when i change my document root to this
Code:
DocumentRoot "D:WebsiteLocalHost"
Finaly it was working. Now is there any way to set my document root to the root directory, ie "D:\"?
__________________
System: The Computer
CPU
E8400 3.8Ghz
Motherboard
Gigibyte Ga-EP35-DS3L
Memory
2gb (2x 1Gb)
Graphics Card
Evga 7600Gt
Power Supply
400W Enermax
Case
Powerspec
OS
Windows Xp
Monitor
19" Viewsonic Lcd 17" Compaq CRT
Child_OD is offline   Reply With Quote
Old 07-08-08   #4 (permalink)
New to Overclock.net
 
Hersha's Avatar
 
intel nvidia

Join Date: May 2008
Posts: 129

Rep: 18 Hersha Unknown
Unique Rep: 13
Trader Rating: 0
Default

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:
Alias /image /ftp/pub/image
<Directory /ftp/pub/image>
Order allow,deny
Allow from all
</Directory>
(/image is the url and /ftp/pub/image is the folder you are aliasing.)
You may or may not need the Directory directive depending on your situation.
__________________
System: My Baby
CPU
Q6600 G0
Motherboard
EVGA 680i 122-CK-NF68-A1
Memory
2x2GB Corsair Dominator 1066 CM2X2048-8C500C5D
Graphics Card
EVGA GeForce 8800 GTS 640MB SLI
Hard Drive
WD SATA 1.5Gbps Raptor 74GB
Sound Card
Soundblader XFI Platinum Fatal1ty
Power Supply
Silverstone Strider 750W
Case
Lian Li Something or other
CPU cooling
Stock
GPU cooling
Stock
OS
XP SP3
Monitor
Dell 2407WFP
Hersha is offline   Reply With Quote
Old 07-08-08   #5 (permalink)
Unix Evangelist
 
mkdir's Avatar
 
intel

Join Date: May 2008
Location: /dev/null
Posts: 258

Rep: 40 mkdir is acknowledged by some
Unique Rep: 32
Trader Rating: 0
Default

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

System: Laptop
CPU
Intel T2060
Motherboard
Acer Grapevine
Memory
2GB Corsair 667MHz
Graphics Card
Intel GMA950
Hard Drive
80GB Toshiba
Sound Card
Intel HDA
OS
FreeBSD 7.2
Monitor
15.4"
mkdir is offline   Reply With Quote
Old 07-08-08   #6 (permalink)
New to Overclock.net
 
Child_OD's Avatar
 
intel nvidia

Join Date: Jan 2007
Posts: 32

Rep: 0 Child_OD Unknown
Unique Rep: 0
Trader Rating: 0
Default

Problem solved, thanks
+rep
__________________
System: The Computer
CPU
E8400 3.8Ghz
Motherboard
Gigibyte Ga-EP35-DS3L
Memory
2gb (2x 1Gb)
Graphics Card
Evga 7600Gt
Power Supply
400W Enermax
Case
Powerspec
OS
Windows Xp
Monitor
19" Viewsonic Lcd 17" Compaq CRT
Child_OD is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 08:29 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2010 Shogun Interactive Development. Most rights reserved.
Page generated in 0.16104 seconds with 8 queries