Very Simple Project
(MODIFICATION 1)
1. I need to hide the contents of my directories.. There are many files in these folders and i need them hidden. We also run a crontab in these folders as well.
public_html/flv
public_html/mp3
public_html/mp4
(MODIFICATION 2)
2. We have 2 dedicated servers that we use for our video site (youtube like)
* Server 1 is our main website, we use it as our front server
* server 2 is our backend server, we use this to host all of our videos, etc.
* Server 1 does a lot of iframe, from server 2..
(what we need)
1. we don't want to allow people to view (server 2) web pages directly,
2. if they visit (server 2) web pages directly, we want to forward them back to server 1
3. But only if the user tries to access (server 2) web page directly
3. They will be forward back to server 1, but with the same url ending
[login to view URL] id
forward to
[login to view URL] id
example:
1. if a visitor visits page
[login to view URL];tag=love%20song%20taylor%20swift
they will be forward to page:
[login to view URL];tag=love%20song%20taylor%20swift
* remember we use iframe, so we cant have any errors with this..
* I attached 2 snapshots to help get a better understanding