Open brasilikum opened 8 years ago
Hi, I am developing a docker container.
I finished building my container with all requeriments, but it gives me this error:
[Mon Jun 20 08:18:41.438233 2016] [core:error] [pid 8] [client 172.21.0.1:45260] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace. 172.21.0.1 - - [20/Jun/2016:08:18:41 +0000] "GET / HTTP/1.1" 500 727 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36"
is it normal?
Thanks for working on the docker image! What web server are you using? Seems like a redirect loop, but it shouldn't be happening unless there's something weird going on in the webserver config and/or .htaccess.
The FROM image of my Dockerfile is using php:5.6-apache. I tried to follow all the steps, but couldn't patch because already applied. I think you should resume the steps of installation because there're a lot. I restored the database. Hadn't change any .htaccess. I edited the configuration for changing database connection settings. I think there's some missing configuration on apache in general or in path, the problem is due too many redirects because maybe is looking for another vhost hostname or path. Do you remember some similar issue?
That's my apache vhost:
<VirtualHost *:80>
DocumentRoot "/var/www/html/deskulu"
ServerName deskulu.local.com
<Directory "/var/www/html/deskulu">
Options Indexes FollowSymLinks Includes
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
And that's my Dockerfile:
FROM php:5.6-apache
WORKDIR /
COPY php.ini-production /usr/local/etc/php/php.ini
RUN apt-get update && apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
libmcrypt-dev \
libpng12-dev \
libmemcached-dev \
libcurl3 libcurl3-gnutls libcurl4-gnutls-dev libsqlite3-dev libsqlite3-0 libxml2 libxml2-dev \
&& docker-php-ext-install -j$(nproc) iconv mcrypt pdo_mysql curl json mysqli pdo_sqlite simplexml xml \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) gd \
&& pecl install memcached \
&& pecl install apc \
&& docker-php-ext-enable memcached pdo_mysql iconv mcrypt curl json mysqli pdo_sqlite simplexml xml \
&& a2enmod rewrite \
&& apt-get clean \
&& apt-get autoclean
COPY deskulu /var/www/html
COPY deskulu.conf /etc/apache2/sites-enabled
Can you give me the output of this command?
curl -I http://deskulu.local.com
If the output shows something like
HTTP/1.0 301 Moved Permanently
Location: http://www.deskulu.local.com/
then also run curl -I
on http://www.deskulu.local.com/
This project seems very awsome, but I am not familiar with Drupal, so stuff like "Make configuration meet the needs of Drupal" as one of 13 steps keeps me from even trying it out. Maybe an expert on Drupal could provide a Dockerfile so all others can try it out with ease?