Baza znanja:
Virtual host katerega root se nahaja drugje kot je to običajno
Posted by Boris Orehek on 18 October 2013 12:47 PM

Kadar želimo nastaviti "Virtual host" za kakšno internetno stran ali aplikacijo, katere glavna mapa se ne nahaja kot je to običajno v /volume1/web, si lahko pomagamo s "symbolic link".

 

Recimo, da se glavna mapa internetne strani ali aplikacije nahaja na /volume1/homes/buco/www.

 

Preko konzole (telnet ali podobno) se prijavimo kot root uporabnik in se postavimo v /volume1/web

ter ustvarimo symbolic link na mapo, kjer se nahaja željena internetna stran ali aplikacija z ukazom:

 

ln -s /volume1/homes/buco/www/ bucopersonal

 

V nastavitvah za Virtual host nato uporabimo bucopersonal navidezno mapo kot Sub-folder name.

 

 

Buco.

 

 

(0 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako servis.xenon-forte.si/index.php?