Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos
Commits
5d540364
Commit
5d540364
authored
Mar 28, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update apache-php recipe to work with Apache-2.4
parent
ceec5275
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
slapos/recipe/apachephp/template/apache.in
slapos/recipe/apachephp/template/apache.in
+5
-5
No files found.
slapos/recipe/apachephp/template/apache.in
View file @
5d540364
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
# Basic server configuration
# Basic server configuration
PidFile "%(pid_file)s"
PidFile "%(pid_file)s"
LockFile "%(lock_file)s"
Listen %(ip)s:%(port)s
Listen %(ip)s:%(port)s
PHPINIDir %(php_ini_dir)s
PHPINIDir %(php_ini_dir)s
ServerAdmin someone@email
ServerAdmin someone@email
...
@@ -25,20 +24,21 @@ CustomLog "%(access_log)s" common
...
@@ -25,20 +24,21 @@ CustomLog "%(access_log)s" common
<Directory />
<Directory />
Options FollowSymLinks
Options FollowSymLinks
AllowOverride None
AllowOverride None
Order deny,allow
Require all denied
Deny from all
</Directory>
</Directory>
<Directory %(document_root)s>
<Directory %(document_root)s>
Options FollowSymLinks
Options FollowSymLinks
AllowOverride All
AllowOverride All
Order allow,deny
Require all granted
Allow from all
</Directory>
</Directory>
DocumentRoot %(document_root)s
DocumentRoot %(document_root)s
DirectoryIndex index.html index.php
DirectoryIndex index.html index.php
# List of modules
# List of modules
LoadModule unixd_module modules/mod_unixd.so
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule setenvif_module modules/mod_setenvif.so
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment