mod rewrite - Reaching files outside od the documentroot scope -


I am writing a script to create a dynamic website, the website has been created by loading external components.

The element is located on the place / directory / site / website / components located in DocumentRoot / sites / website / public

I rely on the url requested to access the data directory of each component Does.

For example:

url:

file / site / website / components / random image / data / demo / swan04090044_small Should get. Jpg

How can I get it?

Thanks

  Nickname / random / rewrite sites / website / components / random image ^ component - (. *) / "Post-text" itemprop = "text"> 

(Maybe in .htaccess

You may also use Symlinks with:

  option + followSymLinks  

and Link dynamically from component - * / randommimage / * to / site / website / components / random image / * / * /


Comments

Popular posts from this blog

MySql variables and php -

c# - How can I find out if there are windows above a control? -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -