User Tools

Site Tools


apache2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
apache2 [2025/02/26 00:11] – [/etc/apache2/mods-enabled/dir.conf] jianwuapache2 [2025/03/13 12:22] (current) – [Ubuntu 24.04 LTS + Apache2 + PHP installarion and setting] jianwu
Line 1: Line 1:
-[[https://pctresearch.com/|{{:banner_image.jpg?nolink&800|}}]]+[[https://pctresearch.com/|{{:wiki_banner.jpg?nolink&800|}}]]
 ===== Ubuntu 24.04 LTS + Apache2 + PHP installarion and setting ===== ===== Ubuntu 24.04 LTS + Apache2 + PHP installarion and setting =====
 ^OS|Ubuntu 24.04.2 LTS| ^OS|Ubuntu 24.04.2 LTS|
 ^apache2|2.4.58-1ubuntu8.5| ^apache2|2.4.58-1ubuntu8.5|
 ^PHP|PHP 8.3.6| ^PHP|PHP 8.3.6|
-;!: The PHP and the apache2 version may have changed since this article was written.+:!: The PHP and the apache2 version may have changed since this article was written.
  
  
Line 387: Line 387:
 </code> </code>
  
-==== Creating self-signed SSL certificates ====+===== Creating self-signed SSL certificates =====
 <code Bash> <code Bash>
 $ apt list --installed 2>/dev/null | grep -i ssl-cert $ apt list --installed 2>/dev/null | grep -i ssl-cert
Line 476: Line 476:
 ^--force-overwrite|Always create a new certificate, even if the file already exists. | ^--force-overwrite|Always create a new certificate, even if the file already exists. |
 So, So,
-<code Bash>+<code Text>
 $ sudo make-ssl-cert --force-overwrite /usr/share/ssl-cert/ssleay_wweb.cnf /etc/ssl/private/wweb_cert-file.crt $ sudo make-ssl-cert --force-overwrite /usr/share/ssl-cert/ssleay_wweb.cnf /etc/ssl/private/wweb_cert-file.crt
 Package configuration Package configuration
-┌────────┤ Configure an SSL Certificate. ├───────────┐+─────────────────┤ Configure an SSL Certificate. ├───────────────────────┐
 │ Please enter the host name to use in the SSL certificate.               │ │ Please enter the host name to use in the SSL certificate.               │
 │                                                                         │ │                                                                         │
Line 489: Line 489:
 │                                                                         │ │                                                                         │
 │                   <Ok>                       <Cancel>                   │ │                   <Ok>                       <Cancel>                   │
-└────────────────────────────────────┘+─────────────────────────────────────────────────────────────────────────┘
  
-┌────────────────┤ Configure an SSL Certificate. ├──────────────────────┐+──────────────────────────────┤ Configure an SSL Certificate. ├────────────────────────────────────────────────┐
 │ Please enter any additional names to use in the SSL certificate.                                              │ │ Please enter any additional names to use in the SSL certificate.                                              │
 │                                                                                                               │ │                                                                                                               │
Line 511: Line 511:
 │                                <Ok>                                    <Cancel>                               │ │                                <Ok>                                    <Cancel>                               │
 │                                                                                                               │ │                                                                                                               │
-└───────────────────────────────────────────────────────┘+───────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
 </code> </code>
 <code Bash> <code Bash>
apache2.1740496299.txt.gz · Last modified: 2025/02/26 00:11 by jianwu