Re: Alias not working or wrong configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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"


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux