Re: [galaxy-dev] Separate histories between localhost and 127.0.0.1

2011-06-02 Thread Nate Coraor
Lewis, Brian Andrew wrote:
> For some odd reason, when I try to import data using the URL 
> http://localhost:8081 or http://localhost:8081/galaxy none of my jobs will 
> even show up.  However if I go to http://127.0.0.1 or http://127.0.0.1/galaxy 
> the jobs run fine.  Here's a snip from my httpd.conf file:
> 
> RewriteEngine on
> RewriteRule ^/static/style/(.*) 
> /usr/local/galaxy-dist/static/june_2007_style/blue/$1 [L]
> RewriteRule ^/static/scripts/(.*) 
> /usr/local/galaxy-dist/static/scripts/packed/$1 [L]
> RewriteRule ^/static/(.*) /usr/local/galaxy-dist/static/$1 [L]
> RewriteRule ^/favicon.ico /usr/local/galaxy-dist/static/favicon.ico [L]
> RewriteRule ^/robots.txt /usr/local/galaxy-dist/static/robots.txt [L]
> RewriteRule ^(.*) http://localhost:8081$1 [P]
> 
> The host lines are commented out in my universe_wsgi.ini files, so I'm 
> guessing they should be set to the default "localhost."

Hi Brian,

Since localhost and 127.0.0.1 are considered different from the server
name perspective, the cookies will be different.  If you access
http://localhost or http://localhost:8081 you'll share cookies.
Likewise, if you access http://127.0.0.1 or http://127.0.0.1:8081, those
cookies will be shared.  Mixing localhost and 127.0.0.1 results in
seperate cookies being issues for both.

If you're logged in, you can view your history with the localhost URLs
by clicking "Saved histories" from the Options menu.

--nate

> 
> ~ Brian

> ___
> 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/


[galaxy-dev] Separate histories between localhost and 127.0.0.1

2011-06-02 Thread Lewis, Brian Andrew
For some odd reason, when I try to import data using the URL 
http://localhost:8081 or http://localhost:8081/galaxy none of my jobs will even 
show up.  However if I go to http://127.0.0.1 or http://127.0.0.1/galaxy the 
jobs run fine.  Here's a snip from my httpd.conf file:

RewriteEngine on
RewriteRule ^/static/style/(.*) 
/usr/local/galaxy-dist/static/june_2007_style/blue/$1 [L]
RewriteRule ^/static/scripts/(.*) 
/usr/local/galaxy-dist/static/scripts/packed/$1 [L]
RewriteRule ^/static/(.*) /usr/local/galaxy-dist/static/$1 [L]
RewriteRule ^/favicon.ico /usr/local/galaxy-dist/static/favicon.ico [L]
RewriteRule ^/robots.txt /usr/local/galaxy-dist/static/robots.txt [L]
RewriteRule ^(.*) http://localhost:8081$1 [P]

The host lines are commented out in my universe_wsgi.ini files, so I'm guessing 
they should be set to the default "localhost."

~ Brian
___
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/