use apache web server / reverse proxy with matlab application

3 次查看(过去 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.
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
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
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

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by