Questions tagged [apache-httpd]

The Apache HTTP Server is a free and open-source cross-platform web server software, released under the terms of Apache License 2.0.

16 questions
13
votes
2 answers

Load balancing Nexus artifact repository

Load balancing Nexus is currently not supported by Sonatype, except by putting a Nexus instance in front of two with smart-proxying enabled or via a newer feature. Still, I gave it a shot, by sharing the filesystem with GlusterFS for the /storage,…
ᴳᵁᴵᴰᴼ
  • 1,173
  • 10
  • 22
12
votes
2 answers

What is the purpose of running PHP-FPM in its own container instead in the same container as apache2/nginx?

I'm fairly new to Docker so excuse any obvious ignorance or misunderstandings. That said, I've been coding and configuring web applications for a long time now. I have recently been dabbling with some more sophisticated (Docker and "traditional")…
CoolElectricity
  • 195
  • 1
  • 9
4
votes
1 answer

How to give value in runtime for chef

I got stuck with a scenario where I need to provide runtime value while restarting/starting httpd service using Chef. I installed SSL certs where it asks password for every reload or start. I tried giving: service 'httpd' do supports restart:…
pandey
  • 949
  • 2
  • 9
  • 18
3
votes
2 answers

Install apache on awa ec2 from locally installed ansible server on my laptop

I would like to install apache2 remotely on aws ec2 instance from my locally installed ansible server on my laptop. I have also the. pem key of the instance. Now what Ip need to put in /etc/ansible/hosts file inorder to connect ec2 instance from my…
Rajesh k
  • 41
  • 2
2
votes
1 answer

Automating the creation of an Apache virtual-host file specifically

When I create new web applications on my up-2-date Ubuntu-LAMP with Apache 2.4.x environment, I create their virtual-host files this way: s_a="/etc/apache2/sites-available/" s_e="/etc/apache2/sites-enabled/" read -p "Have you created db credentials…
user5176
1
vote
1 answer

Deploy dist file in docker file

How to write a docker file to deploy a dist file of an Angular Application In a server. I see most of them have used nginx as a server. Why is it so? Is there any specific reason I want it to be deployed in Apache using alpine as a base image
Madan
  • 111
  • 1
  • 2
  • 5
1
vote
1 answer

Apache container cant access php files mounted in /var/www/ - 403 error

I want to run my php website in a container with apache and php7 I am using this docker image : https://hub.docker.com/r/nimmis/apache-php7/ I run Fedora so I enter the example command given in docker hub in my terminal. docker run -d -p 8080:80 -v…
pievalentin
  • 21
  • 1
  • 3
1
vote
1 answer

What is a standard way to quickly deploy a LAMP installation with a virtual host and certbot?

Say I rent an IaaS environment and want to quickly deploy a LAMP installation with a virtual host and SSL certificate by Bash alone (no programs such as Ansible would be used). Is there some standard way to do so?
beltazzar
  • 11
  • 1
1
vote
1 answer

How can I get client IP on apache insted of Docker container IP?

I've deployed a Matomo application using the official docker image. I'm trying to activate geolocalization (using a plugin) and it's not working. I can see that Matomo (apache) only gets the docker container IP, instead of client's IP. I can't…
Gigs
  • 111
  • 1
  • 3
1
vote
1 answer

GitLab pipeline stop at the stage of pulling an image from Docker hub

Description: I have created a test project to serve a simple HTML page with httpd:alpine image. The following are the parts of the repository: index.html: Rostami test…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/gitlab" class="post-tag grid--cell" title="show questions tagged 'gitlab'" rel="tag">gitlab</a> <a href="../../questions/tagged/gitlab-ci-runner" class="post-tag grid--cell" title="show questions tagged 'gitlab-ci-runner'" rel="tag">gitlab-ci-runner</a> <a href="../../questions/tagged/apache-httpd" class="post-tag grid--cell" title="show questions tagged 'apache-httpd'" rel="tag">apache-httpd</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Aug 18 '20 at 06:53">asked Aug 18 '20 at 06:53</time> <a href="../../users/20194/mohi-rostami" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/20194.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Mohi Rostami" /> </a> <div class="s-user-card--info"> <a href="../../users/20194/mohi-rostami" class="s-user-card--link">Mohi Rostami</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">113</li> <li class="s-award-bling s-award-bling__bronze" title="6 bronze badges">6</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-10878"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/10878/jenkins-deploy-static-web-with-apache2" class="question-hyperlink">Jenkins deploy static web with Apache2</a></h3> <div class="excerpt">I have a static website that I would like to deploy to my Apache2 server using Jenkins. I think of 2 solutions: Should I change the workspace dir of Jenkins to /var/www/? Or should I copy all files in workspace to /var/www in post build? </div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/jenkins" class="post-tag grid--cell" title="show questions tagged 'jenkins'" rel="tag">jenkins</a> <a href="../../questions/tagged/apache-httpd" class="post-tag grid--cell" title="show questions tagged 'apache-httpd'" rel="tag">apache-httpd</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 22 '20 at 14:42">asked Feb 22 '20 at 14:42</time> <a href="../../users/19834/black2910" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/19834.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Black2910" /> </a> <div class="s-user-card--info"> <a href="../../users/19834/black2910" class="s-user-card--link">Black2910</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">11</li> <li class="s-award-bling s-award-bling__bronze" title="2 bronze badges">2</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-5630"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/5630/what-is-the-common-term-for-apache-virtual-hosts-or-nginx-block-systems" class="question-hyperlink">What is the common term for Apache virtual hosts or Nginx block systems?</a></h3> <div class="excerpt">A webserver environment as with Apache or Nginx includes a type of file (or a file system) that I can call a webserver substrate; In Apache it is called a Virtual host and in Nginx I can call it a "Block system", mainly comprised of a server{}…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/terminology" class="post-tag grid--cell" title="show questions tagged 'terminology'" rel="tag">terminology</a> <a href="../../questions/tagged/linux" class="post-tag grid--cell" title="show questions tagged 'linux'" rel="tag">linux</a> <a href="../../questions/tagged/nginx" class="post-tag grid--cell" title="show questions tagged 'nginx'" rel="tag">nginx</a> <a href="../../questions/tagged/apache-httpd" class="post-tag grid--cell" title="show questions tagged 'apache-httpd'" rel="tag">apache-httpd</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card__deleted"> <time class="s-user-card--time" datetime="asked Dec 06 '18 at 12:49">asked Dec 06 '18 at 12:49</time> <div class="s-avatar s-avatar__32 s-user-card--avatar"> </div> <div class="s-user-card--info">user5176</div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-19726"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/19726/error-logs-is-not-printing-int-the-var-log-apache2-logs" class="question-hyperlink">Error logs is Not printing int the /var/log/apache2/logs</a></h3> <div class="excerpt">My Webapplication is running in the docker container and apache2 is not in docker and running in host im using proxy and docker ip to redirect the request to docker it is working fine but the if my application gives any error it is not printing in…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/networking" class="post-tag grid--cell" title="show questions tagged 'networking'" rel="tag">networking</a> <a href="../../questions/tagged/configuration" class="post-tag grid--cell" title="show questions tagged 'configuration'" rel="tag">configuration</a> <a href="../../questions/tagged/ssl" class="post-tag grid--cell" title="show questions tagged 'ssl'" rel="tag">ssl</a> <a href="../../questions/tagged/apache-httpd" class="post-tag grid--cell" title="show questions tagged 'apache-httpd'" rel="tag">apache-httpd</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Sep 11 '24 at 05:18">asked Sep 11 '24 at 05:18</time> <a href="../../users/47159/naveen-prasath" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/47159.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Naveen Prasath" /> </a> <div class="s-user-card--info"> <a href="../../users/47159/naveen-prasath" class="s-user-card--link">Naveen Prasath</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-17854"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/17854/set-the-base-path-of-an-apache-proxy-handler" class="question-hyperlink">Set the base path of an Apache proxy handler</a></h3> <div class="excerpt">I'm developing my application with 2 containers: apache and php-fpm. Apache serves requests, and delegates PHP execution to the php-fpm container in its vhost: <FilesMatch .php$> SetHandler "proxy:fcgi://myapp-php-fpm:9000" …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/docker" class="post-tag grid--cell" title="show questions tagged 'docker'" rel="tag">docker</a> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/apache-httpd" class="post-tag grid--cell" title="show questions tagged 'apache-httpd'" rel="tag">apache-httpd</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 19 '23 at 21:28">asked May 19 '23 at 21:28</time> <a href="../../users/39978/amacrobert" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/39978.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="amacrobert" /> </a> <div class="s-user-card--info"> <a href="../../users/39978/amacrobert" class="s-user-card--link">amacrobert</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">103</li> <li class="s-award-bling s-award-bling__bronze" title="2 bronze badges">2</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-5474"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>-1</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/5474/vad-vagrant-ansible-docker-stack-for-ubuntu-and-apache" class="question-hyperlink">VAD (Vagrant-Ansible-Docker) stack for Ubuntu and Apache</a></h3> <div class="excerpt">I'm having trouble establishing a Ubuntu-LAMP environment with continuous integration - I feel lost from the different solutions out there and time and again I fear that my vanilla-Bash Ubuntu-LAMP establishment-program of four different scripts…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/docker" class="post-tag grid--cell" title="show questions tagged 'docker'" rel="tag">docker</a> <a href="../../questions/tagged/ansible" class="post-tag grid--cell" title="show questions tagged 'ansible'" rel="tag">ansible</a> <a href="../../questions/tagged/continuous-integration" class="post-tag grid--cell" title="show questions tagged 'continuous-integration'" rel="tag">continuous-integration</a> <a href="../../questions/tagged/vagrant" class="post-tag grid--cell" title="show questions tagged 'vagrant'" rel="tag">vagrant</a> <a href="../../questions/tagged/apache-httpd" class="post-tag grid--cell" title="show questions tagged 'apache-httpd'" rel="tag">apache-httpd</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card__deleted"> <time class="s-user-card--time" datetime="asked Nov 18 '18 at 03:43">asked Nov 18 '18 at 03:43</time> <div class="s-avatar s-avatar__32 s-user-card--avatar"> </div> <div class="s-user-card--info">user5176</div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <div class="s-pagination--item is-selected">1</div> <a class="s-pagination--item" href="../../questions/tagged/apache-httpd_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/apache-httpd_page=2" rel="next" title="Go to page 2"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>