use apache web server / reverse proxy with matlab application
5 次查看(过去 30 天)
显示 更早的评论
Hi,
I need to use our shibboleth SSO with a matlab web server application. I have matlab 2022b and the same version of matlab web server installed.
I try using this with reverse proxy but someting faild.
I follow this link: https://it.mathworks.com/matlabcentral/answers/93584-how-do-i-set-up-matlab-web-server-using-apache-as-an-httpd-server-on-windows-nt
but I have problems with this line:
3) Edit matweb.conf in $MATLAB/toolbox/webserver/wsdemos, where $MATLAB refers to the root MATLAB directory.
- Replace all instances of <MATLABSERVER_HOST_NAME> with name of the computer
- Replace all instances of $MATLAB with the actual path to where MATLAB is installed on your system (the root MATLAB directory).
can someone help me?
Thanks
1 个评论
Meet
2023-6-1
Hi,
Can you please provide some more details about the errors or problems that you are facing?
It will be helpful in understanding the problem in a better way.
回答(1 个)
Chetan
2024-1-3
It seems you're encountering difficulties while setting up a MATLAB web server application to integrate with Shibboleth SSO and configuring the reverse proxy with Apache in MATLAB 2022b.
Let's go through the steps to properly edit the `matweb.conf` file:
1. Access the `matweb.conf` File:
- Find the `matweb.conf` file within the MATLAB installation, typically located at:
$MATLAB/toolbox/webserver/wsdemos
Where `$MATLAB` is the MATLAB installation root directory.
For example, if MATLAB is installed in `C:\Program Files\MATLAB\R2022b`, the path to the `matweb.conf` file would be:
C:\Program Files\MATLAB\R2022b\toolbox\webserver\wsdemos\matweb.conf
2. Edit with Administrator Privileges:
- Use a text editor with admin rights (e.g., right-click Notepad and select "Run as administrator") to open `matweb.conf`
3. Make Necessary Replacements:
- Change `<MATLABSERVER_HOST_NAME>` to the MATLAB web server's hostname or IP.
- Update `$MATLAB` with the full MATLAB installation path, ensuring you use forward slashes. For instance:
C:/Program Files/MATLAB/R2022b
4. Follow MathWorks Documentation:
- Continue with the configuration steps as outlined in the MathWorks documentation here:
Hope it helps
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Web App Server 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!