Clear Filters
Clear Filters

use apache web server / reverse proxy with matlab application

3 views (last 30 days)
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 Comment
Meet
Meet on 1 Jun 2023
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.

Sign in to comment.

Answers (1)

Chetan
Chetan on 3 Jan 2024
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

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!