Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Hi,
I tried to setup backlight + pages on a new centos installation (nethserver).
I did the following:
1. setup a virtualhost for backlight with the settings below
<VirtualHost *:443>
DocumentRoot "/var/lib/nethserver/vhost/fotovisionen"
ServerName xxx
# use php-fpm with mod_proxy_fcgi by socket
# from Remi repository instead of the default PHP
<FilesMatch .php$>
SetHandler "proxy:unix:/var/run/php70-php-fpm/fotovisionen-php70.sock|fcgi://localhost/"
</FilesMatch>
# 20forcessl_redirect enabled
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule (.*) https://%{SERVER_NAME}$1 [R,L]
#
# 20ssl_engine
#
SSLEngine on
SSLCertificateFile xxx
SSLCertificateKeyFile xxx
SSLCertificateChainFile xxx
#25IndexesOption
<LocationMatch "^/">
Options +Indexes
</LocationMatch>
# 30directory -- basic directory setup
<Directory /var/lib/nethserver/vhost/fotovisionen>
AllowOverride All
Options None
Options +Indexes
Options +Includes
<RequireAll>
# access public
Require all granted
# authentication disabled
</RequireAll>
</Directory>
</VirtualHost>
2. Unziped the contents of the downloaded zip-file directly to the www-root folder
3. set the permissions apache:apache recursively for all files and folders
4. set the backlight data dir world writable
5. .htaccess exists also in the web root folder
6. disabled selinux
7. nothing else copied to the document root folder and no files changed
I still get
"You don´t have permission to access /backlight on this server"
Error Log in the apache logfile:
80.187.114.212 - - [06/Sep/2018:21:24:16 +0200] "GET /backlight HTTP/1.1" 403 211 "-" "Mozilla/5.0 (iPad; CPU OS 11_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1"
Do you have any suggestions to solve this issue?
Best regards,
Joachim
Offline
5. .htaccess exists also in the web root folder
Is this the .htaccess file from the zip file or another one?
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
I'm not sure that this would be the cause, but have you allowed index.php files to operate as index files? The DirectoryIndex directive should allow this.
Offline
Hi Daniel, hi Ben
thank you for the reply.
The reason was the line „Options none“. Apache seems to ignore the following option lines...
Thank you again.
Regards,
Joachim
Last edited by schweidj (2018-09-07 14:16:12)
Offline