• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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