Running server off multiple harddrives??

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

Running server off multiple harddrives??

Postby mikealex2k12 » 13. June 2011 04:11

How do I make xampp run off multiple file locations?
mikealex2k12
 
Posts: 9
Joined: 06. December 2010 22:06

Re: Running server off multiple harddrives??

Postby Nobbie » 13. June 2011 10:26

Either using ALIAS Directive or VirtualHosts.

See Apache Documentation about Usage.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Running server off multiple harddrives??

Postby mikealex2k12 » 14. June 2011 23:34

I don't think its Virtual Hosts that I want, I want it so I can host files online from 2 different harddrives. Say one folder is c:/xampp/htdoc/ and another is d:/htdocs/ both serving on one IP. Please help.
mikealex2k12
 
Posts: 9
Joined: 06. December 2010 22:06

Re: Running server off multiple harddrives??

Postby Altrea » 14. June 2011 23:40

Just ask yourself one question:
Why are some of your files saved in one directory and some in the other?

Alias is the way to use if the files in the different folders belong together (are part of the same site / service / project).
If they are different, then VHosts is maybe a cleaner and better way (you can define own DocumentRoots, Logfiles, and so on).
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Running server off multiple harddrives??

Postby Nobbie » 14. June 2011 23:42

mikealex2k12 wrote:I don't think its Virtual Hosts that I want, I want it so I can host files online from 2 different harddrives.


And I dont think that you have any clue what a VirtualHost is, neither what ALIAS means, and I also dont think that you ever have looked into any documentation. I cant help you reading documentation - you have to read it on your own. I gave you proper hints, its on you to work them out.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Running server off multiple harddrives??

Postby mikealex2k12 » 14. June 2011 23:44

And I dont think that you have any clue what a VirtualHost is, neither what ALIAS means, and I also dont think that you ever have looked into any documentation. I cant help you reading documentation - you have to read it on your own. I gave you proper hints, its on you to work them out.[/quote]

Alias /d/ "D:/web/"
<Directory "D:/web/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>

that's what I needed, thanks for your help anyways...
mikealex2k12
 
Posts: 9
Joined: 06. December 2010 22:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 120 guests