D
D
Denis2022-04-17 15:17:02
Apache HTTP Server
Denis, 2022-04-17 15:17:02

How to set up apache pages?

Good time. Several questions emerged.
1. Where is the standard apache 2 page stored?
Let me explain the point. Let's say the standard path on the server is var/www/. If we put index.html there, then in the browser we will see the site from this index. And if we put a folder with files along this path, then in the browser we will see the folder and the files in it, respectively. And we see a standard, as it were, stub site. So, where is this page located? I want to tweak this page a little.
2. From the first question, how to change the title in this page? I just don't need it to be in the title Index of/ I want to name it differently instead. And for example, attach your footer to this standard stub page.
Immediately I ask you not to say create a site and there will be happiness. I need it exactly the way it is. For example, there is a site linserv.ru to him and I want to change the title, add my footer.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2022-04-17
@sergey-gornostaev

It is not stored anywhere, it does not exist at all. The HTML code for autoindex is generated by the mod_autoindex module. To make the changes you need, you need to set the appropriate setting in the configuration.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question