• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forbidden access for /var/www/html?

Azurel

Silver Pleskian
Hi,

I have installed "Multi Router Traffic Grapher" and want now access to my MRTG reports. :)
MRTG reports are located here: /var/www/html/mrtg/index.html

I have set at the bottom of /etc/httpd/conf/httpd.conf:

Alias /mrtg "/var/www/html/mrtg"
<Location /mrtg>
Order allow,deny
Allow from all
AuthType Basic
AuthUserFile /var/www/vhosts/.htpasswd
AuthName "Statistics“
require user xxx
</Location>

Now I get:
[root~]# /etc/init.d/httpd configtest
[Wed May 29 00:06:39 2013] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 1014 will probably never match because it overlaps an earlier Alias.
Syntax OK

Line 1014: Alias /mrtg "/var/www/html/mrtg"

After reload configs I run:http://www.domain.tld/mrtg
I get my AuthType, after Login I get only a FORBIDDEN (You do not have permission to access this document.)



SOLVED

Rename from
Alias /mrtg ...
to
Alias /traffic ...
helps and I see now ALL, but where is this another "/mrtg" alias? Not in httpd.conf. Why is /mrtg forbidden to access?
 
Last edited:
Now I get:

[root~]# /etc/init.d/httpd configtest
[Wed May 29 00:06:39 2013] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 1014 will probably never match because it overlaps an earlier Alias.
Syntax OK

# grep -iRne "Alias /mrtg" /etc/httpd/
/etc/httpd/conf.d/mrtg.conf:6:Alias /mrtg /var/www/mrtg
/etc/httpd/conf/httpd.conf:1014:Alias /mrtg "/var/www/html/mrtg"
 
Back
Top