HelioHost Posted May 8, 2017 Posted May 8, 2017 I have a web page called aboutus.html (Project called 'Kalnterimi'). I would like when a user type http://portfoliozervas.heliohost.org/kalnterimi/ to get redirected to aboutus.html and not see my files . how can I do that ? thank you-- ?? ????????, ???????? ??????
bdistler Posted May 8, 2017 Posted May 8, 2017 rename the file [ aboutus.html ] in folder [ kalnterimi ] to [ index.html ] - you might need to redo links at top of that Web page
HelioHost Posted May 8, 2017 Author Posted May 8, 2017 I need to keep the name of the file to aboutus.html. is it possible or I will have to rename it?2017-05-08 22:21 GMT+03:00 Heliohost Support <support@heliohost.org>:rename the file [ aboutus.html ] in folder [ kalnterimi ] to [ index.html ] - you might need to redo links at top of that Web page You may view the status of your ticket by visiting: http://www.helionet.org/index/index.php?showtopic=28044 Thank you, Heliohost support http://www.heliohost.org/ http://www.helionet.org/ -- ?? ????????, ???????? ??????
bdistler Posted May 8, 2017 Posted May 8, 2017 I need to keep the name of the file to aboutus.html-add this line in and near the top of the file [ .htaccess ] in folder [ kalnterimi ]-DirectoryIndex index.html aboutus.html -that line tell the Apache Web Server to display the [ index.html ] file - if that file is not available then display [ aboutus.html ]###
HelioHost Posted May 8, 2017 Author Posted May 8, 2017 can you give me more details ? Do I have to create a new file ? if so , what line of code will I have to include ?2017-05-08 23:25 GMT+03:00 Heliohost Support <support@heliohost.org>:-add this line near the top of the file [ .htaccess ] in folder [ kalnterimi ]- DirectoryIndex index.html aboutus.html -that line tell the Apache Web Server to display the [ index.html ] file - if that file is not available then display [ aboutus.html ]### You may view the status of your ticket by visiting: http://www.helionet.org/index/index.php?showtopic=28044 Thank you, Heliohost support http://www.heliohost.org/ http://www.helionet.org/ -- ?? ????????, ???????? ??????
Krydos Posted May 8, 2017 Posted May 8, 2017 In public_html/kalnterimi/ create a new file named: .htaccess Then inside this new file put the code DirectoryIndex index.html aboutus.html
bdistler Posted May 8, 2017 Posted May 8, 2017 can you give me more details ?- IF there is no file named [ .htaccess ] in folder [ kalnterimi ] - you need to make one in that folder (note the name has a dot in the front of it) put this line in that file [ DirectoryIndex index.html aboutus.html ] - without the brackets ###
HelioHost Posted May 8, 2017 Author Posted May 8, 2017 Ok I did it . Thank you. I have a question . I have left it for several days as it was before . Now I did it.My question is : Is it possible for a user to download a file or the whole site if you don't have .htaccess and have aboutus.html for example ( it was my case. I have left it for a week more or less )2017-05-09 0:06 GMT+03:00 Heliohost Support <support@heliohost.org>:can you give me more details ?-IF there is no file named [ .htaccess ] in folder [ kalnterimi ] - you need to make one in that folder (note the name has a dot in the front of it)put this line in that file [ DirectoryIndex index.html aboutus.html ] - without the brackets### You may view the status of your ticket by visiting: http://www.helionet.org/index/index.php?showtopic=28044 Thank you, Heliohost support http://www.heliohost.org/ http://www.helionet.org/ -- ?? ????????, ???????? ?????? Ok I did it . Thank you. I have a question . I have left it for several days as it was before . Now I did it.My question is : Is it possible for a user to download a file or the whole site if you don't have .htaccess and have aboutus.html for example ( it was my case. I have left it for a week more or less ) 2017-05-09 0:44 GMT+03:00 Heliohost Support <support@heliohost.org>:Ok I did it . Thank you. I have a question . I have left it for several days as it was before . Now I did it. My question is : Is it possible for a user to download a file or the whole site if you don't have .htaccess and have aboutus.html for example ( it was my case. I have left it for a week more or less ) 2017-05-09 0:06 GMT+03:00 Heliohost Support <support@heliohost.org>: can you give me more details ?-IF there is no file named [ .htaccess ] in folder [ kalnterimi ] - you need to make one in that folder (note the name has a dot in the front of it)put this line in that file [ DirectoryIndex index.html aboutus.html ] - without the brackets### You may view the status of your ticket by visiting: http://www.helionet.org/index/index.php?showtopic=28044 Thank you, Heliohost support http://www.heliohost.org/ http://www.helionet.org/ -- ?? ????????, ???????? ?????? You may view the status of your ticket by visiting: http://www.helionet.org/index/index.php?showtopic=28044 Thank you, Heliohost support http://www.heliohost.org/ http://www.helionet.org/ -- ?? ????????, ???????? ??????
bdistler Posted May 8, 2017 Posted May 8, 2017 My question is : Is it possible for a user to download a file or the whole site if you don't have .htaccess and have aboutus.html for example ( it was my case. I have left it for a week more or less )- IF your Web page has "Index OF /" and a list of files and folders - any visitor can download those files - if you have no other controls on your site ###
HelioHost Posted May 8, 2017 Author Posted May 8, 2017 ohh . so My web site might have been copied and edited . because I sent the link of my site to two recipients to evaluate it .thank you for your response .2017-05-09 1:11 GMT+03:00 Heliohost Support <support@heliohost.org>:My question is : Is it possible for a user to download a file or the whole site if you don't have .htaccess and have aboutus.html for example ( it was my case. I have left it for a week more or less )-IF your Web page has "Index OF /" and a list of files and folders - any visitor can download those files - if you have no other controls on your site### You may view the status of your ticket by visiting: http://www.helionet.org/index/index.php?showtopic=28044 Thank you, Heliohost support http://www.heliohost.org/ http://www.helionet.org/ -- ?? ????????, ???????? ??????
Recommended Posts