Welcome! Log In Create A New Profile

Advanced

Re: index directive not taking effect in case of alias

Maxim Dounin
August 22, 2012 07:36AM
Hello!

On Wed, Aug 22, 2012 at 07:07:42AM -0400, yashgt wrote:

> I would like the pnp4nagios app to be accessed as:
> http://server/pnp4nagios/. With this URL it gives a 403 Forbidden error. It
> works when I give: http://server/pnp4nagios/index.php.
> What might be wrong?
>
> Here is the pnp4nagios location config:
>
> location ~ /pnp4nagios {
> alias $pnp4nagiosbase/share;

- location ~ /pnp4nagios {
+ location /pnp4nagios {

[...]

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

index directive not taking effect in case of alias

yashgt August 22, 2012 07:07AM

Re: index directive not taking effect in case of alias

Maxim Dounin August 22, 2012 07:36AM

Re: index directive not taking effect in case of alias

kustodian August 24, 2012 09:19AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 236
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready