[Eisfair_dev] Zugriff auf Dateisystem aus Apache VHost

Tom Schulz tom_strike at gmx.de
So Okt 4 12:04:00 CEST 2015


Hallo Marcus,

> Hilft es das gewünschte "externe" Verzeichnis
> in /etc/apache2/mods-available/rompr.conf der Zeile

Das war der entscheidende Hinweis :-)

Ich hatte die Verzeichnisse in der VHost Konfiguration unter 
/etc/apache2/vhost.

Mit folgender rompr.conf unter /etc/apache2/mods-available funktioniert 
es jetzt:

<Directory /var/lib/rompr/rompr>
	Options Indexes FollowSymLinks Includes ExecCGI
	DirectoryIndex index.php
	AllowOverride All
	Require all granted
	ErrorDocument 404 /rompr/404.php
	AddType image/x-icon .ico

	<IfModule mod_php5.c>
		AddType application/x-httpd-php .php
		php_flag magic_quotes_gpc Off
		php_flag track_vars On
		php_flag register_globals Off
		php_admin_flag allow_url_fopen On
		php_value include_path .
		php_admin_value upload_tmp_dir /var/lib/rompr/rompr/prefs
		php_admin_value open_basedir none
         php_admin_value post_max_size 32M
     	php_admin_value memory_limit 256M
         php_admin_value upload_max_filesize 32M
	</IfModule>

</Directory>

<Directory /var/lib/rompr/rompr/albumart/small>
     Header Set Cache-Control "max-age=0, no-store"
     Header Set Cache-Control "no-cache, must-revalidate"
</Directory>

<Directory /var/lib/rompr/rompr/albumart/asdownloaded>
     Header Set Cache-Control "max-age=0, no-store"
     Header Set Cache-Control "no-cache, must-revalidate"
</Directory>

Vielen Dank und Gruss,

Tom


Mehr Informationen über die Mailingliste Eisfair_dev