unveiledsolectveganraspiContactLog inRegister
  • solect
  • vegan
  • raspi
  • Contact

  • Register

Raspberry Pi

  • Front Page
  • Latest pages
  • Latest comments
  1. Raspberry Pi
  2. Server 128
  3. Apache2
  4. apache2.conf
Posted on 18 Aug 2021 at 05:17 pm :: Last edit on 18/08/21 05:27 pm

apache2.conf

apache2.conf is the file apache looks to for initial instructions
In the installation I have the path is /etc/apache2/

The modification I have made to the default file are

  1. The directory for serving site changed from /var/www/html/ to /var/www/
  2. Added <virtualhost> sections to host multiple domains and sub-domains
  3. The folowing was added so that php scripts would be interpreted in htm and html files
    AddType application/x-httpd-php .php .htm .html
    AddType application/x-httpd-php-source .phps
    DirectoryIndex index.html index.php index.htm

No feedback yet


Form is loading...

Content Hierarchy

  • Desktop OS 64
  • Server 128
    • Public Access
    • Apache2
      • Apache
      • Virtual Hosts
      • HTTPS
      • apache2.conf
      • Send Mail
    • MariaDB
    • VNC Server
    • Install B2evo
    • Email Server
  • Hardware
CMS software

This collection ©2022 by roger • Contact • Help • Bootstrap back-end

Cookies are required to enable core site functionality.