Forum

internal redirection to directory

Fred
17 November 2016, 13:30
Hi Hugo,

I want to setup owncloud on my server but without to set a subdomin..
I have created and alias
Alias = /owncloud:/usr/local/www/httpdocs/owncloud

So when I type mydomain.com/owncloud i get access to the site but I would like the setting for owncloud to be defferent than the main VirtualHost{} that its sitting on top of..

Could you please tell me if what I want to do is achievable in any way?

Thank you
Hugo Leisink
18 November 2016, 08:07
I don't know what setting you are looking for, but you can have several per-directory settings via the Directory{} section.
VirtualHost {
...
UseDirectory = owncloud
}

Directory {
DirectoryID = owncloud
Path = /owncloud
...
}
This topic has been closed.