Ja weil es so in einer Anleitung stand da dachte ich mir probiere ich es gleich mal aus.
also ja die datei is enabled habe mir das auch schon alles durchgelesen und immer sachen geändert aber es hat leider nichts zu einem erfolg geführt.
Hier die Vhost datei
<VirtualHost *:8080>
ServerAdmin it@testsite
ServerName testsite
ServerAlias testsitecom
DocumentRoot /media/testsite/0dbdf565-b02e-4a4e-93d0-668d5f35613d/vol_testsite_data_nfs_main/www.testsite.com
<Directory /media/testsite/0dbdf565-b02e-4a4e-93d0-668d5f35613d/vol_testsite_data_nfs_main/www.testsite.com>
Require all granted
</Directory>
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
Hier die Apache2 conf
#
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
#
Mutex file:${APACHE_LOCK_DIR} default
#
# PidFile: The file in which the server should record its process
# identification number when it starts.
# This needs to be set in /etc/apache2/envvars
#
PidFile ${APACHE_PID_FILE}
#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300
#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On
#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100
#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 5
# These need to be set in /etc/apache2/envvars
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
HostnameLookups: Log the names of clients or just their IP addresses
HostnameLookups Off
#
ErrorLog ${APACHE_LOG_DIR}/error.log
LogLevel warn
# Include module configuration:
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf
# Include list of ports to listen on
Include ports.conf
<Directory />
Options FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<Directory /usr/share>
AllowOverride None
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
Directory /media/testsite/0dbdf565-b02e-4a4e-93d0-668d5f35613d/vol_testsite_data_nfs_main/www.testsite.com>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives. See also the AllowOverride
# directive.
#
AccessFileName .htaccess
#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<FilesMatch "^\.ht">
Require all denied
</FilesMatch>
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
# Include generic snippets of statements
IncludeOptional conf-enabled/*.conf
# Include the virtual host configurations:
IncludeOptional sites-enabled/*.conf
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
ServerName 127.0.0.1
Include /etc/phpmyadmin/apache.conf
Das www-data verstehe ich jetzt gerade nicht ob er da lesen darf.
Das steht im Errorlog
Fri Feb 17 15:18:03.107787 2017] [core:error] [pid 6258] (13)Permission denied: [client 127.0.0.1:37886] AH00035: access to /index.php denied (filesystem path '/media/testsite/0dbdf565-b02e-4a4e-93d0-668d5f35613d') because search permissions are missing on a component of the path