[galaxy-dev] Put Galaxy behind an index.php page

2014-02-06 Thread Jingchao Zhang
Hi Galaxy support,


Currently we are using Apache proxy to Galaxy and followed the instructions on 
this webpage: https://wiki.galaxyproject.org/Admin/Config/Apache%20Proxy 
https://wiki.galaxyproject.org/Admin/Config/Apache%20Proxy. Now I am trying to 
put Galaxy behind a index.php webpage.

The scenario would be: 1. user input the Galaxy URL; 2.directed to the php page 
and then verify their identity; 3. if approved, redirect to Galaxy.

Does anyone knows how to configure this in Apache?


The reason I am doing this is because the index.php page contains our 
two-factor authentication API. Any help is appreciated. Thanks.


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

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Re: [galaxy-dev] Put Galaxy behind an index.php page

2014-02-06 Thread Eric Rasche

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Jing,

I have never used this method of authenticating before, and have no
experience with it, but it sounds like you're looking for

http://httpd.apache.org/docs/current/mod/mod_auth_form.html

I would imagine that apache will set a REMOTE_USER header which can then
be used by galaxy but again, I do not know as I've never used it.
Additionally, you'll have to configure REMOTE_USER=true in galaxy's
universe_wsgi.ini.

If you get this worked out, would you mind replying with your
configuration information, so we can add that to the wiki?

Cheers,
Eric


On 02/06/2014 10:01 AM, Jingchao Zhang wrote:
 Hi Galaxy support,


 Currently we are using Apache proxy to Galaxy and followed the
instructions on this webpage:
https://wiki.galaxyproject.org/Admin/Config/Apache%20Proxy
https://wiki.galaxyproject.org/Admin/Config/Apache%20Proxy. Now I am
trying to put Galaxy behind a index.php webpage.

 The scenario would be: 1. user input the Galaxy URL; 2.directed to the
php page and then verify their identity; 3. if approved, redirect to Galaxy.

 Does anyone knows how to configure this in Apache?


 The reason I am doing this is because the index.php page contains our
two-factor authentication API. Any help is appreciated. Thanks.


 -Jing



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

 To search Galaxy mailing lists use the unified search at:
   http://galaxyproject.org/search/mailinglists/

- -- 
Eric Rasche
Programmer II
Center for Phage Technology
Texas AM University
College Station, TX 77843
404-692-2048 tel:4046922048
e...@tamu.edu mailto:e...@tamu.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJS87mSAAoJEMqDXdrsMcpVQPoP/3Ydbp9roIQ3M0dzfX22lOlg
9JX4D2g2ENVi7nlOY4/xxUqAK6jYSq/3y75hV5nAE4Mnb/GrbgKh4z9w232XIQL3
XLguNOpVfOJRvEcC7HeFfONz9aeRpO2igrAOGZwSjsqToJbPwyCl5zaiSjo1Ueyb
YMXJIhoc2XX/967tlnvBSSgPhtsjNA6MSTdrBQfmqLWuml2Nz8saKzbYNm1iPXYy
XzPdkC4UV+a4sX/Pk+uEwBOAMzjKldbmThG9VmN04KnG55oD4Z2+OjSDcowzOXfP
Swx0NhhyDC5VePrYVLbc3PnZDJtnqcO5KGRakyCragcv9I7UiDhMJ1E2+u9hcox/
p/PdN7CTB0jgfBETC2KmJFzTyJg+Sgy2UXw73Z+kLlV2D9nJFAuaQFpEpPzI5WZW
B9EMwQHPCkX5AspBUDQ1cIih4fFfSCWuXIpPpZvLUHaqne1Q7xXx0oQQOVgriZDv
9bh7fx1vZp+QRNXWqLl0J89lijnwizJHnttG5VaRDMJmlWyrMnCO+L6glaBmRkZp
CV8QQ4BMlKdLT/Vk94mERjjFOrL2qYMbZWCW9aXz/laxJi6RVkaDwnpiZMxTe4By
K619Qe7ZAPRqRDch8ezRSh5bodsF74Jmxbw41g4zTH+CQ4WrVY02hgQm5CxBGuRZ
/kgejBhDOpvTh0jhkj5W
=J8QL
-END PGP SIGNATURE-

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

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/