Dear Nate, 

Thanks for checking. No, it is still not working. I tried all possible ways to 
fix it but still not working. 

Could it possible to send me your httpd.conf file for reference? 

Best, 
Huayan


On 16 May, 2012, at 3:57 AM, Nate Coraor wrote:

> On Mar 14, 2012, at 9:16 PM, Huayan Gao wrote:
> 
>> Yes, I did read the page and followed the instructions. But somehow, I keep 
>> getting the error message, "Forbidden……You don't have permission to access 
>> /galaxy/static/welcome.html…."
>> I did add +x to all files under folder /static.  
>> -rwxrwxr-x  1 galaxy galaxy  1108 Mar 15 17:19 welcome.html
>> I did change the rewrite rule path to /home/galaxy/galaxy-dist/...
>> 
>> Here is the output from error_log of apache server, 
>> (13)Permission denied: access to /galaxy/static/style/history.css denied, 
>> referer: http://server/galaxy/history
> 
> Hi Huayan,
> 
> Maybe you've already fixed this problem, but if not, you'll need to adjust 
> filesystem permissions or <Directory> directives such that the user running 
> the Apache server can access the files in  /home/galaxy/galaxy-dist.
> 
> --nate
> 
>> I run galaxy through the virtual env.
>> (galaxy_env)[galaxy@galaxy ~]$ sh galaxy-dist/run.sh
>> 
>> I could not figure it out what is wrong. Any suggestions?
>> 
>> Best, 
>> Huayan
>> 
>> 
>> On 15 Mar, 2012, at 5:49 AM, Nate Coraor wrote:
>> 
>>> On Mar 12, 2012, at 11:42 PM, Huayan Gao wrote:
>>> 
>>>> Dear Nate, 
>>>> 
>>>> I have a follow up question for you. 
>>>> 
>>>> If I move galaxy out of my DocumentRoot "/var/www/html" to 
>>>> "/home/galaxy/galaxy-dist" ,  how to set up my Apache server, that is, 
>>>> httpd.conf file so I can access the website http://server/galaxy?
>>>> I have a website http://server for something else. I've tried different 
>>>> ways but no luck. 
>>> 
>>> Hi Huayan,
>>> 
>>> The configuration for this is shown under the heading:
>>> 
>>>  Serving Galaxy at a sub directory (such as /galaxy)
>>> 
>>> On the Apache Proxy wiki page:
>>> 
>>>  http://wiki.g2.bx.psu.edu/Admin/Config/Apache%20Proxy
>>> 
>>> --nate
>>> 
>>>> 
>>>> 
>>>> Best, 
>>>> Huayan
>>>> 
>>>> 
>>>> 
>>>> On 14 Feb, 2012, at 1:21 AM, Nate Coraor wrote:
>>>> 
>>>>> On Feb 13, 2012, at 3:08 AM, Huayan Gao wrote:
>>>>> 
>>>>>> Hi Nate. 
>>>>>> 
>>>>>> I am ok now. 
>>>>>> 
>>>>>> The code I copied from wiki was using galaxy_dist, while my folder name 
>>>>>> is galaxy-dist. 
>>>>>> After I changed the path in the code, the problem solved. 
>>>>> 
>>>>> Hi Huayan,
>>>>> 
>>>>> I've updated the wiki to refer to galaxy-dist rather than galaxy_dist.  
>>>>> Sorry for the confusion.
>>>>> 
>>>>> I would suggest moving galaxy out of /var/www/html.  From the 
>>>>> documentation:
>>>>> 
>>>>> Please note that Galaxy should never be located on disk inside Apache's 
>>>>> DocumentRoot. By default, this would expose all of Galaxy (including 
>>>>> datasets) to anyone on the web.
>>>>> 
>>>>> Galaxy is a proxied application and as such, only the static content like 
>>>>> javascript and images are served directly by Apache (and this is set up 
>>>>> with the RewriteRules), everything else is passed through to the Galaxy 
>>>>> application via a proxied http connection.  Right now I could presumably 
>>>>> use the URL 
>>>>> http://server/galaxy/galaxy-dist/database/files/000/dataset_1.dat to view 
>>>>> a dataset directly.
>>>>> 
>>>>> --nate
>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> Best, 
>>>>>> Huayan
>>>>>> 
>>>>>> 
>>>>>> On 13 Feb, 2012, at 11:40 AM, Huayan Gao wrote:
>>>>>> 
>>>>>>> Hi Nate, 
>>>>>>> 
>>>>>>> I removed the proxy section in httpd file and got the following 
>>>>>>> screenshot. It seems working but not in the way we expected. 
>>>>>>> I will keep looking for the solution but do you know how to fix it?
>>>>>>> 
>>>>>>> It seems to say, "the file .../static/welcome.html is missing" or 
>>>>>>> something like that. 
>>>>>>> 
>>>>>>> Thanks, 
>>>>>>> Huayan 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> <Screen Shot 2012-02-13 at 11.37.57 AM.png>
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> On 10 Feb, 2012, at 10:28 AM, Huayan Gao wrote:
>>>>>>> 
>>>>>>>> Hi Nate, 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Yes, I did follow the instructions. But I came to the question in 
>>>>>>>> httpd.conf file. 
>>>>>>>> I put galaxy-dist under my document root which is /var/www/html/. 
>>>>>>>> When my server is up, I can access my UCSC genome browser mirror site 
>>>>>>>> through my ip address, for example, http://61.244. xxx.xxx.
>>>>>>>> Then how should I set up in httpd.conf file so I can access galaxy 
>>>>>>>> using my ip address, for example, http://61.244. xxx.xxx/galaxy?
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Thanks, 
>>>>>>>> Best, 
>>>>>>>> Huayan
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> On 10 Feb, 2012, at 1:17 AM, Nate Coraor wrote:
>>>>>>>> 
>>>>>>>>> On Feb 8, 2012, at 1:00 AM, Huayan Gao wrote:
>>>>>>>>> 
>>>>>>>>>> Dear Sir or Madam, 
>>>>>>>>>> 
>>>>>>>>>> I am installing a galaxy server on CentOS with UCSC Genome Browser 
>>>>>>>>>> mirror site. The mirror site works well. I installed the galaxy in 
>>>>>>>>>> the same server. 
>>>>>>>>>> Now my question is: how to set up httpd.conf file so I can access 
>>>>>>>>>> both websites(UCSC Genome Browser, and Galaxy) remotely? 
>>>>>>>>> 
>>>>>>>>> Hi Huayan,
>>>>>>>>> 
>>>>>>>>> Have you consulted the production server documentation?
>>>>>>>>> 
>>>>>>>>> http://usegalaxy.org/production
>>>>>>>>> 
>>>>>>>>> --nate
>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> Best, 
>>>>>>>>>> Huayan
>>>>>>>>>> ___________________________________________________________
>>>>>>>>>> Please keep all replies on the list by using "reply all"
>>>>>>>>>> in your mail client.  To manage your subscriptions to this
>>>>>>>>>> and other Galaxy lists, please use the interface at:
>>>>>>>>>> 
>>>>>>>>>> http://lists.bx.psu.edu/
>>>>>>>>> 
>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>>> 
>>> 
>> 
>> 
> 


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/

Reply via email to