You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Bernard Fay <be...@gmail.com> on 2016/10/28 19:20:11 UTC
[users@httpd] Re: Alias not working or wrong configuration
Sent by error before it is complete. :-(
So ...
I have a site for example http://www.example.com/page/. I would like to
reach /page/ while pointing my browser to http://www.example.com/. I
tried "Alias / /path/to/page" but apachectl configtest says:
[root@CTSDNS01 conf.d]# apachectl configtest
[Fri Oct 28 15:04:53.674251 2016] [alias:warn] [pid 27014] AH00671: The
Alias directive in /etc/httpd/conf.d/phpMyAdmin.conf at line 8 will
probably never match because it overlaps an earlier Alias.
[Fri Oct 28 15:04:53.674282 2016] [alias:warn] [pid 27014] AH00671: The
Alias directive in /etc/httpd/conf.d/phpMyAdmin.conf at line 9 will
probably never match because it overlaps an earlier Alias.
Syntax OK
It says Syntax OK so I did apachectl graceful then if I try to reach
http://www.example.com/ and http://www.example.com/phymyadmin it says:
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an
ErrorDocument to handle the request.
Is there a way to fix thix?
Thanks
On Fri, Oct 28, 2016 at 3:13 PM, Bernard Fay <be...@gmail.com> wrote:
> Hi,
>
> I have a site for example http://www.example.com/page/. I would to
> reach /page/ while pointing my browser to http://www.example.com/. I
> tried "Alias / /path/to/page"
>