use apache web server / reverse proxy with matlab application
4 views (last 30 days)
Show older comments
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 Comment
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.
Answers (1)
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
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!