What is $HOME in the Apache context?

-David

On Fri, Dec 12, 2014 at 7:10 PM Jian Yuan <imyuanj...@gmail.com> wrote:

> Hi David,
>
> Thanks. Following your suggestion I tried the following steps:
>
> I changed Apache's user and group as follows:
>
> foresightyj@foresightyj-VirtualBox:~$ cat /etc/apache2/envvars | grep
> foresightyj
> export APACHE_RUN_USER=foresightyj
> export APACHE_RUN_GROUP=foresightyj
>
> Then I rebooted the server and check:
>
> foresightyj@foresightyj-VirtualBox:~$ ps -ef | grep apache
> root      1217     1  0 10:44 ?        00:00:00 /usr/sbin/apache2 -k start
> foresig+  1220  1217  0 10:44 ?        00:00:05 /usr/sbin/apache2 -k start
> foresig+  1221  1217  0 10:44 ?        00:00:06 /usr/sbin/apache2 -k start
> foresig+  2143  1454  0 11:00 pts/7    00:00:00 grep --color=auto apache
> foresightyj@foresightyj-VirtualBox:~$ svn ls https://
> 192.168.0.110/svn/FHT360
> .reviewboardrc
> Enterprise SNS Project/
> FHT360/
>
> Since Apache is run under my user id and I can manually access SVN, that
> should work right? But it still doesn't.
>
> Yuan Jian
>
> On Saturday, December 13, 2014 7:41:21 AM UTC+8, David Trowbridge wrote:
>
>> When you run 'sudo svn list ...' it saves the certificate to root's home
>> directory. You'll need to do this as whichever user your web server runs as.
>>
>> -David
>>
>
>> On Thu, Dec 11, 2014 at 10:46 PM, Jian Yuan <imyua...@gmail.com> wrote:
>>
>>> Hi David,
>>>
>>> I am experiencing a similar problem where the error message is:
>>>
>>> Unable to connect to a repository at URL 'https://192.168.0.110/svn/
>>> FHT360' Server SSL certificate verification failed: certificate issued
>>> for a different hostname, issuer is not trusted
>>>
>>> I already tried logging to the server computer and type:
>>>
>>>     sudo svn list https://192.168.0.110/svn/FHT360
>>>
>>> and then type p to permanently accept this certificate anyway and it is
>>> able to list all folders in the repo.
>>>
>>> But when I go back to Review Board, the problem is still there.  You
>>> mentioned in your reply that "copy the relevant file from ~/.subversion
>>> into the web server user home directory". In my case, I installed
>>> Reviewboard using the same user I did the sudo svn list
>>> https://192.168.0.110/svn/FHT360. So I guess I don't have to do
>>> anything. I even tried to reboot my computer but it didn't help.
>>>
>>> Can you give me some hints? Thanks a lot.
>>>
>>> Yuan Jian
>>>
>>>
>>>
>>>
>>> On Thursday, October 23, 2014 6:14:04 AM UTC+8, David Trowbridge wrote:
>>>>
>>>> If you run the following command as your web server user, it should
>>>> offer to save the certificate permanently:
>>>>
>>>> svn list https://your.repository.url
>>>>
>>>> You could also do this as a normal user and then copy the relevant file
>>>> from ~/.subversion into the web server user home directory.
>>>>
>>>> -David
>>>>
>>>>
>>>> On Wed, Oct 15, 2014 at 5:37 AM, <testin...@gmail.com> wrote:
>>>>
>>>>> Hi David,
>>>>>
>>>>> Can you please point me to some links where I can get some help in
>>>>> resolving this issue. I am really pitching my company to buy cloud from
>>>>> review board, but this can only be done once i am able to give a live demo
>>>>> on our own code working with review board.
>>>>>
>>>>> Thanks
>>>>>
>>>>> On Wednesday, October 8, 2014 9:45:23 PM UTC+5:30, David Trowbridge
>>>>> wrote:
>>>>>>
>>>>>> It looks like you have an invalid SSL certificate on your SVN server.
>>>>>> I believe that you can add something to the ~/.subversion directory on 
>>>>>> your
>>>>>> review board host (within the home directory of the httpd user) to trust
>>>>>> this certificate, but I'm not sure what that is. Perhaps check the 
>>>>>> contents
>>>>>> of a normal user's .subversion directory who is able to use this 
>>>>>> repository.
>>>>>>
>>>>>> -David
>>>>>>
>>>>>>
>>>>>> On Tue, Oct 7, 2014 at 11:08 PM, <testin...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Any update?
>>>>>>>
>>>>>>>
>>>>>>> On Tuesday, October 7, 2014 11:38:37 AM UTC+5:30,
>>>>>>> testin...@gmail.com wrote:
>>>>>>>>
>>>>>>>> Hi David,
>>>>>>>>
>>>>>>>> I am still stuck at above mentioned problem. Please provide me with
>>>>>>>> a resolution
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>> On Wednesday, October 1, 2014 12:36:42 PM UTC+5:30,
>>>>>>>> testin...@gmail.com wrote:
>>>>>>>>>
>>>>>>>>> Hi David,
>>>>>>>>>
>>>>>>>>> I have removed subvertpy and installed pysvn. Now on adding URL to
>>>>>>>>> "add repository" page i am getting below mentioned error:
>>>>>>>>>
>>>>>>>>>  Unable to connect to a repository at URL '<Loacl machine SVN
>>>>>>>>> server URL>' Server SSL certificate verification failed: issuer is not
>>>>>>>>> trusted
>>>>>>>>>
>>>>>>>>> Please tell what next can I do.
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>> On Wednesday, October 1, 2014 12:09:24 PM UTC+5:30,
>>>>>>>>> testin...@gmail.com wrote:
>>>>>>>>>>
>>>>>>>>>> Sure,
>>>>>>>>>> I will revert back after removing subvertpy and installing pysvn
>>>>>>>>>>
>>>>>>>>>> On Wednesday, October 1, 2014 11:55:09 AM UTC+5:30, David
>>>>>>>>>> Trowbridge wrote:
>>>>>>>>>>>
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> We've seen some people having trouble with subvertpy. Can you
>>>>>>>>>>> try with pysvn?
>>>>>>>>>>>
>>>>>>>>>>> -David
>>>>>>>>>>>
>>>>>>>>>>> On Tue, Sep 30, 2014 at 11:01 PM, <testin...@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi David,
>>>>>>>>>>>>
>>>>>>>>>>>> I am using reviewboard 2.0.8 . It is deployed on Ubuntu 14.04.1
>>>>>>>>>>>> LTS ... I am using subvertpy.
>>>>>>>>>>>> I am working as per installation documentation provided on
>>>>>>>>>>>> https://www.reviewboard.org/docs/manual/2.0/admin/installati
>>>>>>>>>>>> on/linux
>>>>>>>>>>>>
>>>>>>>>>>>> Please help me resolve this issue.
>>>>>>>>>>>> Thanks
>>>>>>>>>>>> On Wednesday, October 1, 2014 1:14:21 AM UTC+5:30, David
>>>>>>>>>>>> Trowbridge wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> What version of Review Board? What OS have you deployed Review
>>>>>>>>>>>>> Board on? Are you using the pysvn or subvertpy backend?
>>>>>>>>>>>>>
>>>>>>>>>>>>> -David
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Tue, Sep 30, 2014 at 2:27 AM, <testin...@gmail.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I have a SVN server deployed on Windows 7. I am adding the
>>>>>>>>>>>>>> url of the repository to "Add repository" page with username and 
>>>>>>>>>>>>>> password.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I am getting below mentioned error:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Unable to connect to a repository at URL '<URL of
>>>>>>>>>>>>>> Repository>'", 230001
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Please look into the issue.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Get the Review Board Power Pack at
>>>>>>>>>>>>>> http://www.reviewboard.org/powerpack/
>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>> Sign up for Review Board hosting at RBCommons:
>>>>>>>>>>>>>> https://rbcommons.com/
>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>>>>>> Google Groups "reviewboard" group.
>>>>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from
>>>>>>>>>>>>>> it, send an email to reviewboard...@googlegroups.com.
>>>>>>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>  --
>>>>>>>>>>>> Get the Review Board Power Pack at http://www.reviewboard.org/
>>>>>>>>>>>> powerpack/
>>>>>>>>>>>> ---
>>>>>>>>>>>> Sign up for Review Board hosting at RBCommons:
>>>>>>>>>>>> https://rbcommons.com/
>>>>>>>>>>>> ---
>>>>>>>>>>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>>>>>>>>>>> ---
>>>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>>>> Google Groups "reviewboard" group.
>>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from
>>>>>>>>>>>> it, send an email to reviewboard...@googlegroups.com.
>>>>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>  --
>>>>>>> Get the Review Board Power Pack at http://www.reviewboard.org/pow
>>>>>>> erpack/
>>>>>>> ---
>>>>>>> Sign up for Review Board hosting at RBCommons:
>>>>>>> https://rbcommons.com/
>>>>>>> ---
>>>>>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>>>>>> ---
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "reviewboard" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>> send an email to reviewboard...@googlegroups.com.
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>
>>>>>>
>>>>>>  --
>>>>> Get the Review Board Power Pack at http://www.reviewboard.org/pow
>>>>> erpack/
>>>>> ---
>>>>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>>>>> ---
>>>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "reviewboard" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to reviewboard...@googlegroups.com.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>  --
>>> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
>>> ---
>>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>>> ---
>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "reviewboard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to reviewboard...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to