[vz-dev] 'php-apc' has no installation candidate

Andreas Goetz cpuidle at gmail.com
Mon Oct 2 11:35:38 CEST 2017


Moin,

> On 2. Oct 2017, at 11:31, Frank Richter <frank.richter83 at gmail.com> wrote:
> 
> Moin Udo,
> 
> möglicherweise musst du als DocumentRoot weiterhin /var/www/... angeben und dort per Symlink nach /home/pi weiterleiten. Daniel hatte das glaub ich schon vorbereitet.

Bei mir sieht das so aus:

<VirtualHost *:443>
    ServerAdmin cpuidle at gmx.de
    ServerName domain

    DocumentRoot /var/www/volkszaehler.org/htdocs
    <Directory />
       Options FollowSymLinks
       AllowOverride None
    </Directory>

    <Directory /var/www/>
       Options Indexes FollowSymLinks MultiViews
       AllowOverride FileInfo Limit Options=All,MultiViews- Indexes Authconfig
       Order allow,deny
       allow from all
    </Directory>

    <Location "/ws">
      ProxyPass ws://localhost:8082
    </Location>

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

SSLCertificateFile /etc/letsencrypt/live/domain/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/domain/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>

Es ist also nicht notwendig die DocumentRoot unter /var/www zu lassen- das macht allerdings massiv Sinn falls auch PHPMyAdmin mit in das Image rein soll, sonst gibts dafür ja keine Heimat mehr.

Viele Grüße, Andreas

> 
> Grüße
> Frank
> 
> Am 02.10.2017 11:17 schrieb "Udo1" <udo1 at gmx.net <mailto:udo1 at gmx.net>>:
> Am 02.10.2017 <tel:02.10.2017> um 10:59 schrieb Udo1:
> Hat aber funktioniert:
> 
> Nicht ganz. Nach dem Ausführen der install.sh habe ich die apache2/sites-enabled/000-default.conf editiert.
> Hinter DocumentRoot habe ich /home/pi/volkszaehler.org/htdocs/ <http://volkszaehler.org/htdocs/> eingefügt.
> Nach restart von apache2 bekomme ich im Webbrowser:
> 
> Forbidden
> 
> You don't have permission to access / on this server.
> Apache/2.4.25 (Raspbian) Server at 192.168.178.116 Port 80
> 
> 
> Was habe ich falsch gemacht?
> 
> Gruß
> Udo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-dev/attachments/20171002/ea652b74/attachment.html>


More information about the volkszaehler-dev mailing list