httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernard Fay <bernard....@gmail.com>
Subject [users@httpd] Re: Alias not working or wrong configuration
Date Fri, 28 Oct 2016 19:20:11 GMT
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 <bernard.fay@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"
>

Mime
View raw message