Questions tagged [documentroot]
97 questions
0
votes
0 answers
Apache2 alias loading from document root instead of alias directory
I have problem with apache2.
I'm new to it and I'm trying to solve some problems.
I have a server running debian with apache2.4 installed and 3 web-site running. A Shiny Server, a django website and a static website. The three sites are located…

MarkPT
- 1
- 1
0
votes
2 answers
Limit documentroot on SFTP with SSHD
I use proFTPD on debian 8. For some reasons i need users that can only access to their documentroot. I already configured this and it works but only when i connect in FTP.
If the user connect on SFTP, he will be able to access at the entire FTP.
How…

Matancy
- 105
- 3
-1
votes
1 answer
-1
votes
2 answers
nginx 1.8.0 ssl configuration root location behaving unexpectedly
I bump into this problem. I recently install nginx 1.8+ on a centos 6.7 along with PHP-FPM (5.3+). The installation was fine and setting up the virtual host was okay too but when I create a secure site and forward my http to https here comes the…

Edang Jeorlie
- 101
- 1
-1
votes
3 answers
Is there a DocumentRoot naming convention and why do some suggest /var/www/example.com over /var/www/example
As the title suggest, I was wondering if there is a technical reason behind naming a web application's documentroot with the domain name? From my limited experience, it seems that including the domain name would be useful only in circumstances where…

Michael Markieta
- 101
- 2
-2
votes
2 answers
How to whitelist a directory in apache
Files that I want to serve via browser are located at /root/my_folder (ubuntu 14.04). I changed a path from /var/www/html to /root/my_folder in /etc/apache2/sites-available/000-default.conf, after that I get forbidden error when I try to access it…

qwaz
- 105
- 1
- 1
- 3
-4
votes
2 answers
how can i access a directory from network in apache using httpd.conf
I want apache to access a location which is in network that means instead of specifying a DocumentRoot from withing the server(mine is centos) i want the apache to access a directory which is on diffrent machine in my case it is a windows machine. I…

user216476
- 1
- 1