Re: [git-users] clone into Windows system file fails. How to provide permission?

2014-04-11 Thread Andy Hardy
On 10/04/2014 01:46, Michael Laird wrote:
 Andy,
 Thanks for your response.
 Messing with Apache fills me with questions.
 If I put  newProject in another new directory, do I have to call it htdocs

You can call it anything as long a DocumentRoot points to it.

 Can I have newProject and existingProject in the same new directory,
 whether it is named htdocs or newDirectory
 Are we talking about VirtualHosts here, and is this documentation right
 -  apache.org/docs/2.2/vhosts/examples.html

No, we're simply moving the place that Apache looks for HTML files.
http://httpd.apache.org/docs/current/mod/core.html#documentroot.

You *can* set up Apache so that you have virtualhosts and each has a
different DocumentRoot, but this isn't necessary for the problem that
you reported - being unable to write into the current htdocs folder
because it is within the 'Programs' hierarchy.

-- 
Andy

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] clone into Windows system file fails. How to provide permission?

2014-04-11 Thread Michael Laird
Andy,
Thanks for your help.
I got Apache working serving pages from C:/User/userName directories with 
just a small edit to httpd/conf

If others have the same problem, this apache docs page gets right to the 
point about DocumentRoot
http://httpd.apache.org/docs/2.2/urlmapping.html

thanks again,

On Friday, April 11, 2014 2:13:03 AM UTC-4, Andy wrote:

 On 10/04/2014 01:46, Michael Laird wrote: 
  Andy, 
  Thanks for your response. 
  Messing with Apache fills me with questions. 
  If I put  newProject in another new directory, do I have to call it 
 htdocs 

 You can call it anything as long a DocumentRoot points to it. 

  Can I have newProject and existingProject in the same new directory, 
  whether it is named htdocs or newDirectory 
  Are we talking about VirtualHosts here, and is this documentation right 
  -  apache.org/docs/2.2/vhosts/examples.html 

 No, we're simply moving the place that Apache looks for HTML files. 
 http://httpd.apache.org/docs/current/mod/core.html#documentroot. 

 You *can* set up Apache so that you have virtualhosts and each has a 
 different DocumentRoot, but this isn't necessary for the problem that 
 you reported - being unable to write into the current htdocs folder 
 because it is within the 'Programs' hierarchy. 

 -- 
 Andy 


-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] clone into Windows system file fails. How to provide permission?

2014-04-11 Thread Michael Laird
As a last bit of advice to anyone else with this problem, when you change 
apache's DocumentRoot, you (probably) also have to change the Directory 
section just below it to keep the two working together. In a localhost 
development system, like mine, the DocumentRoot and the Directory have to 
be the same, else, you'll get a '403 Permission denied to access' message. 
Just copy out the existing Directory spec and enter the same Windows path 
that is used for DocumentRoot.

On Friday, April 11, 2014 1:41:47 PM UTC-4, Michael Laird wrote:

 Andy,
 Thanks for your help.
 I got Apache working serving pages from C:/User/userName directories with 
 just a small edit to httpd/conf

 If others have the same problem, this apache docs page gets right to the 
 point about DocumentRoot
 http://httpd.apache.org/docs/2.2/urlmapping.html

 thanks again,

 On Friday, April 11, 2014 2:13:03 AM UTC-4, Andy wrote:

 On 10/04/2014 01:46, Michael Laird wrote: 
  Andy, 
  Thanks for your response. 
  Messing with Apache fills me with questions. 
  If I put  newProject in another new directory, do I have to call it 
 htdocs 

 You can call it anything as long a DocumentRoot points to it. 

  Can I have newProject and existingProject in the same new directory, 
  whether it is named htdocs or newDirectory 
  Are we talking about VirtualHosts here, and is this documentation right 
  -  apache.org/docs/2.2/vhosts/examples.html 

 No, we're simply moving the place that Apache looks for HTML files. 
 http://httpd.apache.org/docs/current/mod/core.html#documentroot. 

 You *can* set up Apache so that you have virtualhosts and each has a 
 different DocumentRoot, but this isn't necessary for the problem that 
 you reported - being unable to write into the current htdocs folder 
 because it is within the 'Programs' hierarchy. 

 -- 
 Andy 



-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] clone into Windows system file fails. How to provide permission?

2014-04-09 Thread Andy



 On 9 Apr 2014, at 20:38, Michael Laird michael.w.la...@gmail.com wrote:
 
 What other alternatives do I have to get the contents of angular-seed into a 
 new directory in htdocs? 

Easiest thing would be to move the htdocs directory out of the Programs folder 
structure and then modify your httpd.conf file to refer to the new location 
(through the DocumentRoot directive).
-- 
Andy

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] clone into Windows system file fails. How to provide permission?

2014-04-09 Thread Michael Laird
Andy,
Thanks for your response.
Messing with Apache fills me with questions.
If I put  newProject in another new directory, do I have to call it htdocs
Can I have newProject and existingProject in the same new directory, 
whether it is named htdocs or newDirectory
Are we talking about VirtualHosts here, and is this documentation right -  
apache.org/docs/2.2/vhosts/examples.html
I'm doing localhost development, so I presume - several name-based sites on 
a single IP -  is the capability I want

Any tips would be appreciated.

On Wednesday, April 9, 2014 3:51:20 PM UTC-4, Andy wrote:




 On 9 Apr 2014, at 20:38, Michael Laird michael...@gmail.com javascript: 
 wrote:

 What other alternatives do I have to get the contents of angular-seed into 
 a new directory in htdocs? 


 Easiest thing would be to move the htdocs directory out of the Programs 
 folder structure and then modify your httpd.conf file to refer to the new 
 location (through the DocumentRoot directive).
 -- 
 Andy

  

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.