[SOLVED] How do I place www directory on a different disk?
Posted by: waitz (---.multikabel.nl)
Date: September 28, 2008 11:23AM

I need to place www directory on a different hard drive disk than c:\wamp.

How do I do that?



Edited 2 time(s). Last edit at 12/17/2008 07:47PM by waitz.

Options: ReplyQuote
Re: How do I place www directory on a different disk?
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: October 01, 2008 11:53AM

in the httpd.conf file . please note the drive need to be physically connected to the pc,

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: How do I place www directory on a different disk?
Posted by: waitz (---.multikabel.nl)
Date: October 01, 2008 04:55PM

It was a start, but I get an error when trying to open Localhost through the wamp server icon:

Unable to open WampServer's config file, please change path in index.php file


Is there more to change than just the httpd.conf file?

Rajan

Options: ReplyQuote
Re: How do I place www directory on a different disk?
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: October 02, 2008 12:22AM

no but u do need to chaneg the document root in here too

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: How do I place www directory on a different disk?
Posted by: waitz (---.multikabel.nl)
Date: October 02, 2008 02:07PM

I don't find a reference to the document root in wamp\www\index.php

Would you be open to describe in detail what and where to change?

Thanks for help!

Options: ReplyQuote
Re: How do I place www directory on a different disk?
Posted by: wildmtsky (---.dn72.umontana.edu)
Date: October 02, 2008 11:16PM

I am trying to do a similar thing by installing wamp on an external drive to transfer between laptop and desktop. I think that my problem is that my laptop is 64bit and is saving to Program Files (x86). This may be the confusion. But I don't know how to solve it. I have installed and deleted wamp as directed from another post. But each time I do that it doesn't work on the other machine. I now have a static drive assigned so that is not the issue.

Please any help would be greatly appreciated!
SARAH

Options: ReplyQuote
Re: How do I place www directory on a different disk?
Posted by: wildmtsky (---.dn72.umontana.edu)
Date: October 02, 2008 11:23PM

Correction:

I can access the localhost address if I type it into firefox but I can't access any internet related menu items in the tray. This is definately this issue (the x86 "thing"winking smiley. Where should I be looking to change these paths? And is there a better way that to have one version for each computer and have enable/disable depending on the computer?

Options: ReplyQuote
Re: How do I place www directory on a different disk?
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: October 03, 2008 08:43AM

hi sorry for y short answers , i was extremly busy

open c:/wamp/bin/apache/apache2.x.x/conf/httpd.conf

find therse two lines andset them to the appropriate values


DocumentRoot "C:/wamp/www/"


<Directory "c:/wamp/www/">




PLEASE NOTE THIS DISK MUST BE PHYISCALLY CONNESCTED THE THE PC USING A CABLE. NETWORKED (CABLED OR WIRELESS) CANNOT BE CONNECT. THIS IS A LIMITATION WITH APACHES NOTATION

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 1 time(s). Last edit at 10/03/2008 08:46AM by stevenmartin99.

Options: ReplyQuote
Re: How do I place www directory on a different disk?
Posted by: t_eivind (120.28.223.---)
Date: October 04, 2008 02:51AM

Hi.
I have done the same thing as you have described over. Not to a new disk, only changed the documentroot and directory from "D:/wamp\www" to "D:/myweb" in httpd.conf. The "Restart All Services", but it won't work.
I get the same error msg. "Unable to open WampServer's config file, please change path in index.php file ".
I have installed wamp on D:, which is connected to my PC via USB.
Something wrong in the Wampserver original configuration?

Options: ReplyQuote
Re: How do I place www directory on a different disk?
Posted by: t_eivind (120.28.223.---)
Date: October 04, 2008 04:14AM

I found out. I hadn't copied the index.php from D:/wamp/www to d:/myweb. When I did that and changed the two sentences in the index.php to:

$wampConfFile = 'd:/wamp/wampmanager.conf';
$aliasDir = 'd:/wamp/alias/';

oh-la-la, it all worked!

En passent : I have read that the Apacheserver cannot be on a network drive. My domain is on siteground.com. When I use the CPanel and stuff, I see that I am really at Localhost. So it does make some sense, I guess. Wonder why the Apache project hasn't figured that out. Maybe I'll send a mail to them.



Edited 1 time(s). Last edit at 10/04/2008 04:15AM by t_eivind.

Options: ReplyQuote
Re: How do I place www directory on a different disk?
Posted by: yfastud (Moderator)
Date: October 04, 2008 07:07AM

figure what out? I've been using wamp on my 2 network drives connect to my router for years w/o any problem as seen here, under router and modem

[jlbn.net]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: How do I place www directory on a different disk?
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: October 04, 2008 08:07AM

yfastud there is no notation to connect a netoworked drive in apcahe. for example u have 2 pcs both with a c drive. wamp runs on one pc but u want the www folder on te other pc.

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
[SOLVED] Re: How do I place www directory on a different disk?
Posted by: waitz (---.multikabel.nl)
Date: December 17, 2008 07:46PM

It took a while before I got to do this, but now I'm back on the case, and with the changes in httpd.conf and index.php, everything worked very well. Wamp is on c: and www on d:

Thanx



Edited 1 time(s). Last edit at 12/17/2008 07:48PM by waitz.

Options: ReplyQuote
Re: [SOLVED] How do I place www directory on a different disk?
Posted by: yfastud (Moderator)
Date: December 17, 2008 08:34PM

Quote

yfastud there is no notation to connect a netoworked drive in apcahe. for example u have 2 pcs both with a c drive. wamp runs on one pc but u want the www folder on te other pc.
the way I setup is the hard drive for server only 40gb but 10k rpm and www is on 500gb portable network drive and db is on another 500gb portable network drive so when our group has meeting, I just take both 500gb portable network drives and hook them up in friend's server so we can discuss and work on them ;-)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Unable to open WampServer's config file, please change path in index.php file
Posted by: eselwyn (---.240.164.122.airtelbroadband.in)
Date: September 11, 2012 02:56PM

Unable to open WampServer's config file, please change path in index.php file

i don't know how to remove this error.....help me...

Options: ReplyQuote
Re: [SOLVED] How do I place www directory on a different disk?
Posted by: RiggsFolly (---.as13285.net)
Date: September 11, 2012 03:25PM

eselwyn,

Start a new thread!
Give a little more information as to what OS, Wamp server version, etc.

Also what you messed with to get this error or did it happen out-of-the-box.

Options: ReplyQuote


Sorry, only registered users may post in this forum.