This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

directory alias

Webserver service.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
ugur
NewUser
NewUser
Posts: 5
Joined: 23 Aug 2012 10:38
Status: Offline

directory alias

Post by ugur »

i need add directory alias (other drive and folder)

how to add this alias? (sorry for my bad english)

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: directory alias

Post by raulfg3 »

it's dificult to understand what you need, can you please explain why, and how do you plan to use this alias?.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

ugur
NewUser
NewUser
Posts: 5
Joined: 23 Aug 2012 10:38
Status: Offline

Re: directory alias

Post by ugur »

hello

that my purpose
there is a picture of thousands of
I want to show these pictures to computers on my network via the web service (a custom-made software available for it).

The only hard drives, but does not fit in these pictures.

I think that if I add the web service alias disks, a problem to be solved.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: directory alias

Post by raulfg3 »

still do not undestand what you want, but perhaps you are asking about "ln" to do a link between original source folder and linked folder, see BSD man of ln: http://www.unix.com/man-page/FreeBSD/1/ln/

I use it to see content into onwcloud , see this topic: viewtopic.php?f=48&t=2012
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: directory alias

Post by alexey123 »

for
/path/to/your/webserver/document/root
and
/path/to/your/pictures
comand

Code: Select all

mkdir   /path/to/your/webserver/document/root/pictures
mount_nullfs /path/to/your/pictures  /path/to/your/webserver/document/root/pictures
Manual
Or second way

Code: Select all

ln-s /path/to/your/pictures  /path/to/your/webserver/document/root/pictures
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

ugur
NewUser
NewUser
Posts: 5
Joined: 23 Aug 2012 10:38
Status: Offline

Re: directory alias

Post by ugur »

i try this.. and write result.

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: directory alias

Post by alexey123 »

Another way
Open Services|Webserver panel and add to aux parameters

Code: Select all

alias.url = ( "/pictures/" => "/path/to/your/pictures/" )
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

ugur
NewUser
NewUser
Posts: 5
Joined: 23 Aug 2012 10:38
Status: Offline

Re: directory alias

Post by ugur »

alexey123,
Both solutions work seamlessly.
Thank you for your help.

(thanks raulfg3)

(9.1.0.1 r573)
// and big thanks to n4f producers //

Post Reply

Return to “WebServer”