I'm kinda new to apache and I have the following situation, which I need help with .
I have a vps, on which I have set the following:
WordPress Site A, has it's own VirtualHost and domain
WordPress Site B, has it's own VirtualHost and domain
Canvas LMS (not connected to a domain).
Canvas LMS can add multiple accounts, which may (or may not) be accessed individually using a URL that looks as follows:
{canvas_root}/accounts/{account_id}/
For example:
I need to add a link to each of WP sites, which points to each site's account on Canvas, such that it appears as .../learning/ folder
For example:
which actually represents
which in turn represents
respectively
Noticing the following:
I do not want the users to see the /account/4/ , just /learning/
I also want to prevent accessing
Canvas LMS is located beyond the website's DocumentRoot
I want this to work with both HTTP and HTTPS
That's a lot I know , but I really appreciate your help
Thanks guys!
I have a vps, on which I have set the following:
WordPress Site A, has it's own VirtualHost and domain
WordPress Site B, has it's own VirtualHost and domain
Canvas LMS (not connected to a domain).
Canvas LMS can add multiple accounts, which may (or may not) be accessed individually using a URL that looks as follows:
{canvas_root}/accounts/{account_id}/
For example:
I need to add a link to each of WP sites, which points to each site's account on Canvas, such that it appears as .../learning/ folder
For example:
Code:
[URL unfurl="true"]http://WPSiteA/learning/[/URL]
[URL unfurl="true"]http://WPSiteB/learning/[/URL]
Code:
[URL unfurl="true"]http://WPSiteA/accounts/4/[/URL]
[URL unfurl="true"]http://WPSiteB/accounts/5/[/URL]
Code:
[URL unfurl="true"]http://{my_vps_ip}/accounts/4/[/URL]
[URL unfurl="true"]http://{my_vps_ip}/accounts/5/[/URL]
Noticing the following:
I do not want the users to see the /account/4/ , just /learning/
I also want to prevent accessing
Canvas LMS is located beyond the website's DocumentRoot
I want this to work with both HTTP and HTTPS
That's a lot I know , but I really appreciate your help
Thanks guys!