Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
roundcube
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
certo
roundcube
Commits
6bbc55a2
Commit
6bbc55a2
authored
Aug 15, 2022
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Load Apache modules needed for .htaccess
parent
6288ecad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
Makefile
Makefile
+12
-1
No files found.
Makefile
View file @
6bbc55a2
all
:
httpd-conf
all
:
httpd-conf
httpd-modules
tar
xf roundcubemail-1.4.8-complete.tar.gz
-C
/srv/www
--strip-components
=
1
rm
/srv/www/index.html
install
-v
-Dm644
config.inc.php /srv/www/config
...
...
@@ -6,6 +6,7 @@ all: httpd-conf
rm
-rf
/srv/www/installer
install
-v
-m755
-o
apache
-g
apache
-d
/var/lib/roundcube
@
echo
"
$$
HTTPD_CONF"
>
/etc/httpd/conf/DirectoryIndex.conf
@
echo
"
$$
HTTPD_MODULES"
>
/etc/httpd/conf/roundcube.conf
sed
-i
's/^\([[:blank:]]*AllowOverride[[:blank:]]\).*/\1All/g'
/etc/httpd/conf/DocumentRoot.conf
chown
-v
-R
apache:apache /srv/www
patch
-Np1
-d
/srv/www < roundcubemail-1.4.8-chgsaslpasswd_fix.patch
...
...
@@ -25,3 +26,13 @@ define HTTPD_CONF
#
endef
export
HTTPD_CONF
httpd-modules
:
define
HTTPD_MODULES
LoadModule
rewrite_module
/usr/lib/httpd/modules/mod_rewrite.so
LoadModule
deflate_module
/usr/lib/httpd/modules/mod_deflate.so
LoadModule
expires_module
/usr/lib/httpd/modules/mod_expires.so
LoadModule
autoindex_module
/usr/lib/httpd/modules/mod_autoindex.so
LoadModule
headers_module
/usr/lib/httpd/modules/mod_headers.so
endef
export
HTTPD_MODULES
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