DocumentRoot as My Documents on Windows XP
Posted by: PrettyCool (---.plateautel.net)
Date: June 15, 2007 05:52PM

I'm new to WAMP, but so far, it's great. However, I haven't figured out how to set the DocumentRoot of Apache to "My Documents". If I include the spaces in the filespec, as in:

DocumentRoot "C:/Documents and Settings/James/My Documents”

Apache will fail upon restart.

If the spaces are url-encoded, as in:

DocumentRoot "C:/Documents%20and%20Settings/James/My%20Documents”

Apache will not file, but will not find index.php in My Documents. (Unable to connect message from Firefox).

note: I am changing both DocumentRoot and Directory configuration settings.

If I set DocumentRoot and Directory to something like:

"C:/www/my dir"

it works.

Has anyone encountered the same problem and figured it out?

Options: ReplyQuote
Re: DocumentRoot as My Documents on Windows XP
Posted by: CyberSpatium (71.237.217.---)
Date: June 15, 2007 10:51PM

try this:
"C:/DOCUME~1/James/MYDOCU~1"


CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!


Cellular Phone Deals - The Best on the Net! - FREE PHONES! Take your pick from our featured cellular phone deals by Cingular, Verizon, T-Mobile, Sprint PCS, Nextel, and more! Most of our cellular phone offers include a FREE cellular phone with FREE shipping!


Web Development for Newbie's Blog - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.


Mortgage and Home Loan Advice:
Clarify Loans

Options: ReplyQuote
Re: DocumentRoot as My Documents on Windows XP
Posted by: PrettyCool (---.plateautel.net)
Date: June 15, 2007 11:03PM

Thanks, CyberSpatium, that did it!

PrettyCool

Options: ReplyQuote


Sorry, only registered users may post in this forum.