Try the fastest and simplest way to install ONLYOFFICE

Apache Help

Issues during installation and related to database

Apache Help

Postby RobbieBott » Wed Jun 14, 2017 11:48 am

Can anyone help with Apache? My server (a VPS through Digital Ocean) currently houses our Wordpress site and I want to put OnlyOffice on a subdomain such as office.domain.com. Can anyone tell me what I need to add to get this accomplished?
Here is my current config file:

NameVirtualHost *:80
<VirtualHost *:80>
ServerName domain.com
Redirect permanent / https://domain.com/
DocumentRoot /var/www/wordpress
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
Require all granted
</Directory>

</VirtualHost>

<VirtualHost *:443>
ServerName domain.com

<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
Require all granted
</Directory>

ServerAdmin hidden@domain.com
DocumentRoot /var/www/wordpress

#SSL Settings

SSLEngine on
SSLCertificateFile /etc/apache2/ssl/cert/domain_com.crt
SSLCertificateKeyFile /etc/apache2/ssl/key/domain_com.key
SSLCACertificateFile /etc/apache2/ssl/cacert/domain_com.cer

SSLProtocol ALL -SSLv2 -SSLv3
SSLHonorCipherOrder On
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS

#HSTS "Header Strict Transport Security"
#Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains"

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
RobbieBott
 
Posts: 1
Joined: Wed Jun 14, 2017 11:38 am

Re: Apache Help

Postby Maxim » Fri Jun 16, 2017 8:48 am

Hello RobbieBott!
Sorry but there is nothing we can advise you. Onlyoffice works with nginx, maybe this will help you somehow.
Maxim
 
Posts: 1062
Joined: Tue Oct 11, 2016 2:34 pm


Return to Installation issues

Who is online

Users browsing this forum: No registered users and 1 guest