Welcome! Log In Create A New Profile

Advanced

Re: DocumentRoot should end up on specific file !

August 31, 2015 10:36AM
Hello!

On 08/31/2015 09:29 PM, shahzaib shahzaib wrote:
> Hi,
>
> We want nginx vhost to access the file audo_portal.php without
> specifying it,i.e instead of using
> URL http://domain.com/audio_portal.php , can we access it with
> http://domain.com ? So it'll directly access audio_portal.php just like
> index.php ?

Yes you can use index on http, location, and server. See
http://nginx.org/en/docs/http/ngx_http_index_module.html

>
> Regards.
> Shahzaib
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>

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

DocumentRoot should end up on specific file !

shahzaib1232 August 31, 2015 10:30AM

Re: DocumentRoot should end up on specific file !

dewanggaba August 31, 2015 10:36AM

Re: DocumentRoot should end up on specific file !

shahzaib1232 August 31, 2015 11:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 152
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready