Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Apache Httpd example #1909

Merged
merged 2 commits into from
Jan 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions basics/installation/advanced/httpd.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ It may be incomplete, and remember you must adapt it for your own server's needs
<VirtualHost *:80> # or 443 for SSL support

ServerName example.com
DocumentRoot /path/to/prestashop

# SSLEngine on
# SSLCertificateFile /etc/apache2/ssl/example.crt
# SSLCertificateKeyFile /etc/apache2/ssl/example.key

DocumentRoot /path/to/prestashop
<Directory /path/to/prestashop>
# enable the .htaccess rewrites
AllowOverride All
Expand Down Expand Up @@ -79,7 +79,6 @@ Don't forget to edit this configuration to make it works.
<VirtualHost *:80> # or 443 for SSL support

ServerName example.com
DocumentRoot /path/to/prestashop

# SSLEngine on
# SSLCertificateFile /etc/apache2/ssl/example.crt
Expand All @@ -95,7 +94,7 @@ Don't forget to edit this configuration to make it works.
# with mod_rewrite or mod_autoindex
<FilesMatch \.php$>
# SetHandler proxy:fcgi://127.0.0.1:9000
SetHandler proxy:unix:/var/run/php/php7.2-fpm.sock|fcgi://dummy
SetHandler proxy:unix:/var/run/php/php8.1-fpm.sock|fcgi://dummy
</FilesMatch>

DocumentRoot /path/to/prestashop
Expand Down
Loading