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.
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.