Connecting Tech Pros Worldwide Forums | Help | Site Map

Error changing documentroot (probably simple, I'm new to this)

Newbie
 
Join Date: Aug 2009
Posts: 2
#1: Aug 16 '09
Okay, I've recently installed apache to my laptop (Windows Vista). This is the first time I've tried anything like this and I don't have much knowledge with apache or computers overall, however I'm doing this to learn.

When setting it up I followed the installation process and as I tried to change the documentroot through the httpd file it won't work. It says "Cannot create C:\Program Files\Apache Software Foundation\Apache 2.2\conf\httpd.conf file. Make sure that the file path and name are correct."

What am I doing wrong?
Dormilich's Avatar
Moderator
 
Join Date: Aug 2008
Location: Leipzig, Germany
Posts: 3,644
#2: Aug 16 '09

re: Error changing documentroot (probably simple, I'm new to this)


Quote:

Originally Posted by Donohujs View Post

When setting it up I followed the installation process and as I tried to change the documentroot through the httpd file it won't work. It says "Cannot create C:\Program Files\Apache Software Foundation\Apache 2.2\conf\httpd.conf file. Make sure that the file path and name are correct."

guessing from unix I think you need admin/root priviledge to change that file.
Newbie
 
Join Date: Aug 2009
Posts: 2
#3: Aug 16 '09

re: Error changing documentroot (probably simple, I'm new to this)


How can I change the settings to get the right privillages, if that's the issue?
Dormilich's Avatar
Moderator
 
Join Date: Aug 2008
Location: Leipzig, Germany
Posts: 3,644
#4: Aug 16 '09

re: Error changing documentroot (probably simple, I'm new to this)


unfortunately I have no idea how to do that in Vista. (I’m using Mac)
numberwhun's Avatar
Site Moderator
 
Join Date: May 2007
Location: New Hampshire
Posts: 2,569
#5: Aug 16 '09

re: Error changing documentroot (probably simple, I'm new to this)


Quote:

Originally Posted by Donohujs View Post

Okay, I've recently installed apache to my laptop (Windows Vista). This is the first time I've tried anything like this and I don't have much knowledge with apache or computers overall, however I'm doing this to learn.

When setting it up I followed the installation process and as I tried to change the documentroot through the httpd file it won't work. It says "Cannot create C:\Program Files\Apache Software Foundation\Apache 2.2\conf\httpd.conf file. Make sure that the file path and name are correct."

What am I doing wrong?

I guess my first question would be, do you have Vista 64 bit or 32? If its 64 bit, make sure that the apache structure referenced is under "Program Files" as it shows here. I say this as mine is 64 bit and its under "Program Files (x86)" because its a 32 bit program.

Regards,

Jeff
Reply