Find Jobs
Hire Freelancers

Apache Reverse Proxy- Symfony2 application - HELP

$30-250 USD

已关闭
已发布将近 9 年前

$30-250 USD

货到付款
(we do not require you to code this, just advice how to solve the problem) Hi We are having a problem integrating facebook login (app built) for a website with sub-folders and require an expert in reverse proxies. Our developer will implement your solution so all thats required is advice as to how to solve the problem. We have 2 sub folders on our site and would like to have the login work for both sub-folders as individual logins [login to view URL] [login to view URL] (in effect for them to be different sites for login purposes) (so the login for /us would not work on /in and vice versa .................. Symfony2 application on subdirectory using Apache Reverse Proxy - Login no longer works. I'm using HWIOAuthBundle with FosUserBundle on Symfony 2.3 to connect users with their facebook account. Login via FB and regular login (using just FosUserBundle) work fine with a simple webserver setup (i.e. [login to view URL]). The problem arises when I introduce a reverse proxy setup with the symfony2 app now being served on a subdirectory i.e. [login to view URL]). I've followed the implementation of HWIOAuthBundle as here [login to view URL] and I use the javascript from the official documentation to create the button to connect to Facebook. In the reverse proxy scenario, the authentication and connection dialogue with FB works as expected, but when you are returned back to the reverse proxy app, the Facebook session data can't be read by the web server behind the proxy (the app does not "see" any of the fb authentication data). An error also occurs when using the FosUserBundle authentication with the app citing that it can’t find the path for the login (it seems to look for the original url i.e. on [login to view URL] rather than [login to view URL]) My question is: is there a problem with my proxy setup (configs below) or does the app not work in this scenario without modification (as given here - [login to view URL])? Thanks in advance. The vhost config for the proxy server is <VirtualHost *:80> DocumentRoot /var/www/[login to view URL] <Directory /> Options +FollowSymLinks AllowOverride All RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*) [login to view URL] [QSA,L] </Directory> ServerName [login to view URL] ErrorLog /var/log/httpd/example.com-error_log CustomLog /var/log/httpd/example.com-access_log common ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /app/ [login to view URL] ProxyHTMLURLMap [login to view URL] /app/ <Location /app/> ProxyPassReverse / ProxyHTMLEnable On ProxyHTMLURLMap / /app/ ProxyPassReverseCookiePath /app/ / </Location> </VirtualHost> And the config for the app server is <VirtualHost *:80> DocumentRoot /var/www/[login to view URL] ServerName [login to view URL] ErrorLog /var/log/httpd/app.example.com-error_log CustomLog /var/log/httpd/app.example.com-access_log common <Directory /> Options +FollowSymLinks AllowOverride None RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*) [login to view URL] [QSA,L] </Directory> </VirtualHost>
项目 ID: 7748642

关于此项目

8提案
远程项目
活跃9 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
8威客以平均价$234 USD来参与此工作竞价
用户头像
I want to discuss this project with you further, let me know the best suitable time for you to schedule the meeting, Feel free to message me at any time, i used to be online 14 hrs in a day on this website so probably you will get a quick response from my end.
$309 USD 在10天之内
4.7 (34条评论)
6.2
6.2
用户头像
Dear Sir, You have required to solve the problem of login section. I am ready to start for the solution. I know how to do this. Regards,
$222 USD 在2天之内
4.9 (14条评论)
4.1
4.1
用户头像
I've had a lot experience in case of networking and proxies. Also I've used many tools in this case like Apache, nginx, squid. I can help you in this case and we can discuss more on the chat.
$222 USD 在1天之内
5.0 (1条评论)
2.6
2.6
用户头像
A proposal has not yet been provided
$155 USD 在3天之内
0.0 (0条评论)
0.0
0.0
用户头像
Hi I am Linux system admin and I have 8 years exp. in Linux server and security and currently I am working in web hosting industries so please give me this chance. I will give you best support and solutions
$155 USD 在3天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED KINGDOM的国旗
London, United Kingdom
0.0
0
付款方式已验证
会员自3月 6, 2013起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。