Welcome! Log In Create A New Profile

Advanced

Point to folder to page

Posted by battles 
Point to folder to page
March 15, 2016 09:37PM
I have the follow code that accesses my pages correctly:

location /echolot {
alias /home/webpage/www/echolot;
autoindex on;
}

When I go to allpingers.net/echolot/, it goes to an 'Index of /echolot/' page. Where I want allpingers.net/echolot/ to actually go to is https://allpingers.net/echolot/echolot.html. I can't simlink /echolot/ to index.html because I need the index page to remain where goes now. Does anyone know if I can somehow point allpingers.net/echolot/ to allpingers.net/echolot/echolot.html?

Thanks.
Re: Point to folder to page
March 15, 2016 09:52PM
-autoindex on;
+index echolot.html;

--
Jim Ohlstein
Re: Point to folder to page
March 15, 2016 10:00PM
WOW! It is so easy when you are a pro - thank you very much!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 203
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