-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What if I want to install NAF inside a folder that is within an apache2 website #356
Comments
Hi, you can have your site on |
You have two path to handle
|
Hi, thanks, it wasn't difficult after all. vrodos-multiplaying.conf -> replace with [yourdomain].conf Below is vhost conf file located at etc/apache2/sites-available/vrodos-multiplaying.conf
|
Hi, I'm glad you found a solution. Thanks for sharing the apache config. |
Follow up answer to the one @jimver04 posted, we picked up from where he left of :) First of all, the above doesnt work correctly with a https domain (we used certbot for ssl certs), and NAF defaults to long polling. With https we can also support VR headsets. So in order for web sockets to work, you need changes in both plain and ssl Virtual Servers like below.
and
Hope it helps anyone that searches. |
Hi Vincent,
let us assume that I have
site1 which is an apache2 website: http://127.0.0.1:80/site1/index.php looking at c:\xampp8\htdocs\site1\index.php
and I want at
http://127.0.0.1:8080/site1/naf/index.html to have the NAF website that looks at c:\xampp8\htdocs\site1\naf\index.html.
The justification is that NAF is a part of my website, and although it is not technically related to site1 server, I want to have it within it due to code maintenance and deployment convenience issues. I want to have just one Phpstorm project instead of two.
Is it possible to configure NAF node.js server to look at a subfolder instead of root? e.g. http://127.0.0.1:8080/site1/naf/
I will try to find this out today and let you know.
Best,
Dimitrios
The text was updated successfully, but these errors were encountered: