• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Plesk 12.5 Debian 8

UweP

Regular Pleskian
Hi. I'm currently having two problems with apache2.4 on deb8 and plesk 12.5. I have the following:

#Alias /owncloud "/var/www/owncloud/"

<Directory "/var/www/owncloud">
Options +FollowSymLinks
AllowOverride All

<IfModule mod_dav.c>
Dav off
</IfModule>

Require all granted

SetEnv HOME /var/www/owncloud
SetEnv HTTP_HOME /var/www/owncloud
</Directory>

<Directory "/var/www/owncloud/data/">
# just in case if .htaccess gets disabled
Require all denied
</Directory>

and

<VirtualHost 176.9.83.139:80>
ServerName cloud.freakyonline.de
DocumentRoot /var/www/owncloud
Redirect permanent / https://cloud.freakyonline.de/

<Directory /var/www/owncloud/>
Require all granted
</Directory>

</VirtualHost>

<VirtualHost 176.9.83.139:443>
ServerName cloud.freakyonline.de
DocumentRoot /var/www/owncloud/
Header always add Strict-Transport-Security "max-age=15768000"

<Directory /var/www/owncloud/>
Require all granted
</Directory>

</VirtualHost>

Now when I try to go to http://cloud.freakyonline.de it redirects me to the plesk default domain. when i go to https://cloud.freakyonline.de it works but .. still my desktop owncloud client cant sync because it says status.php not found ... but if i go to http://cloud.freakyonline.de/status.php it gives me output?
i want the https redirect to work and the client.

-------------------------------------

second problem:
I have:

# phpMyAdmin default Apache configuration

Alias /phpmyadmin /usr/share/phpmyadmin

<Directory /usr/share/phpmyadmin>
Options FollowSymLinks
DirectoryIndex index.php

Require ip 127.0.0.1 10.0.0.0/24

<IfModule mod_php5.c>
<IfModule mod_mime.c>
AddType application/x-httpd-php .php
</IfModule>
<FilesMatch ".+\.php$">
SetHandler application/x-httpd-php
</FilesMatch>

php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals Off
php_admin_flag allow_url_fopen Off
php_value include_path .
php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp
php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/
</IfModule>

Require all granted

</Directory>

# Authorize for setup
<Directory /usr/share/phpmyadmin/setup>
<IfModule mod_authz_core.c>
<IfModule mod_authn_file.c>
AuthType Basic
AuthName "phpMyAdmin Setup"
AuthUserFile /etc/phpmyadmin/htpasswd.setup
</IfModule>
Require valid-user
</IfModule>
</Directory>

# Disallow web access to directories that don't need it
<Directory /usr/share/phpmyadmin/libraries>
Require all denied
</Directory>
<Directory /usr/share/phpmyadmin/setup/lib>
Require all denied
</Directory>


But if I go to https/http://freakyonline.de/phpmyadmin it just tells me: File not found.
I want to reach the phpmyadmin installation (apt-get install phpmyadmin). the /usr/share/phpmyadmin/ directory is there and a index.php also.


thank you very much.

freaky.
 
Back
Top