Where is apache index.html located




















Linux - Networking This forum is for any issue related to networks or networking. Routing, network cards, OSI, etc. Anything is fair game. Apache index file Location I have set up apache web server. View Public Profile. View Review Entries. Find More Posts by avoll. Find More Posts by nephilim. Find More Posts by soob. Find More Posts by holycow Posting Rules. Similar Threads. Apache problem - cannot get index.

Apache 2. Red Hat Linux 8 Apache index. Apache Index Files. Main Menu. The names or locations of these sub-files are not magical, and may vary greatly from one installation to another. Arrange and subdivide these files as makes the most sense to you. If the file arrangement you have by default doesn't make sense to you, feel free to rearrange it. The server is configured by placing configuration directives in these configuration files.

A directive is a keyword followed by one or more arguments that set its value. The question of " Where should I put that directive? See the Configuration Sections document for further discussion of these sections. In addition to the main configuration files, certain directives may go in. You can read more about. Web site content can take many different forms, but may be broadly divided into static and dynamic content. The DocumentRoot directive specifies where in your filesystem you should place these files.

This directive is either set globally, or per virtual host. Look in your configuration file s to determine how this is set for your server. Typically, a document called index. Dynamic content is anything that is generated at request time, and may change from one request to another. There are numerous ways that dynamic content may be generated. Various handlers are available to generate content. CGI programs may be written to generate content for your site.

Many third-party applications, written using a variety of languages and tools, are available for download and installation on your Apache HTTP Server. Support of these third-party things is beyond the scope of this documentation, and you should find their documentation or other support forums to answer your questions about them.

As an Apache HTTP Server administrator, your most valuable assets are the log files, and, in particular, the error log. Then restart your apache server. Technically you only need to reload, but I restart just because I feel safer with a full refresh like that. Once that is done, your site should be reading from your. A side note, if you have a sub-directory that runs a site like an admin section or something and you want to have a different "home page" for that directory, you can just plop another.

I had a similar problem. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How do I change the default index page in Apache? Ask Question. Asked 8 years, 1 month ago. Active 2 months ago. Viewed k times. I'm also running Ubuntu Improve this question. Tyler Montney. Tyler Montney Tyler Montney 1, 1 1 gold badge 14 14 silver badges 23 23 bronze badges.

By default, DirectoryIndex is index. Just create index. Add a comment. Active Oldest Votes. I recommend using. You only need to add: DirectoryIndex home. EDIT : basic htaccess tutorial. Improve this answer.



0コメント

  • 1000 / 1000