Questions tagged [httpd.conf]

The main configuration file of Apache HTTP Server is usually called httpd.conf

The main configuration file of Apache HTTP Server is usually called httpd.conf. The location of this file is set at compile-time but may be overridden with the -f command line flag.

2031 questions
0
votes
1 answer

What does this option do HTTPD_MODULES_STRIP for HTTPD?

Im using PHP buildpack https://github.com/cloudfoundry/php-buildpack for CloudFoundry. The app bring up a dummy HTTPD webserver directing traffic to defined endpoint. In .bp-config/options.json, i could see HTTPD_MODULES_STRIP. What does this…
0
votes
0 answers

when testing apache if running, no response from site

I'm trying to install LAMP. I followed the instructions here. I'm stuck at installing apache/httpd I've installed apache/httpd in a ssh server. When trying to check if apache is okay, which is opening a web browser and input the ip address, it…
andil01
  • 377
  • 4
  • 19
0
votes
1 answer

cpanel says httpd failed and through ssh it says running but its not working

So under cpanel server information it says httpd (2.4.27 (cPanel)) failed and when I check httpd status on ssh it says running. I restarting multiple times via whm and ssh and all successful. However htaccess does not kick in site is offline. I…
in00b
  • 99
  • 1
  • 3
  • 9
0
votes
1 answer

httpd service stop working, after i restart the service? any idea?

systemctl restart httpd.service when i execute that command httpd cannot restart systemctl status httpd.service shows [root@openstack ~]# systemctl status httpd.service â—� httpd.service - The Apache HTTP Server Loaded: loaded…
riki yudha
  • 35
  • 1
  • 7
0
votes
0 answers

AWS AMI Virtual Host showing

i have tried creating the virtual hosts via this following link Digital Ocean Virtual Host However it is using only first vhost settings. i have tried many tutorials but nothing is working. Finally i have put the vhost settings in httpd.conf…
Agam Banga
  • 2,708
  • 1
  • 11
  • 18
0
votes
1 answer

How to change a port on a server into a different IP address in centos 7

I've got a few web servers running on my local network and, I wanted to change a specific port on a web server into IP address so that I can easily proxy them over nginx and also have access to them locally via Bind. I've got a server [HTTPD] with a…
0
votes
4 answers

Failed to start httpd server: Address already in use

Surely I know that same question is already posted here. However, when I searched it, the status is different from mine and I cannot understand the answers. Therefore I post my problem here. Sorry for duplicating issues. My homepage suddenly doesn't…
martian03
  • 147
  • 1
  • 4
0
votes
1 answer

Run a few additional commands after systemctl restart httpd on CentOS

I need to copy a bunch of files into some folder every time the httpd service restarts e.g.: yes | cp ./dynamic/*.file /folder/inside/my/webapp is there a way to run some additional commands when the httpd is restarted?
0
votes
2 answers

Apache version upgrade issue

At present we are on Apache/2.2.15 (UNIX) version. To fix the vulnerabilities we are suggested to upgrade to new version. I got new version from online using "wget" command and followed steps mentioned on this link…
0
votes
0 answers

Secure communication on tclhttpd server fails

I have a tclhttpd server and I am trying to communicate it using secure server (SSL). When I start my server, I get a notification that: httpd started on port xxxx secure httpd started on SSL port yyyy When I try to access the normal HTTP…
0
votes
3 answers

Block access to a config file from external request but not internal in Apache2 Virtual Hosts

so I have a config.json file which I want to block external connections for such as people accessing it directly, It's required for my script to run on so I want to whitelist only my own server which is hosting the file and not any external…
0
votes
1 answer

Error when adding Alias to Apache2 config file

I am using Webfaction for hosting one of my Django web applications. I have been using a symbolic link app to serve my media from. Recently I have been trying to set up an .htaccess file to set expiry headers on all of my images, but the .htaccess…
TJB
  • 3,706
  • 9
  • 51
  • 102
0
votes
0 answers

HTTPD - No Path For Address

I've been banging my head against the wall for a few days on this one. Running this on Mac OSX Version 10.12.6 When I run apachectl restart I immediately see in my system.log several entires of the following: httpd[89474]: no path for address…
Xenology
  • 2,357
  • 2
  • 21
  • 39
0
votes
1 answer

Apache url rewrite for http to https across aws elb

I am trying my whole domain redirect from http to https across aws elastic load balancer. My urlrewrite.conf (Apache/2.2.15) RewriteEngine on RewriteCond %{HTTP:X-Forwarded-Proto} ^http$ RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI}…
0
votes
1 answer

How to proxy rest api calls with correct headers in Apache as it comes from that server?

How can I correctly proxy rest api call through another server as if it comes from that server ? Developers need to talk a a remote rest api on domain sub.xyz.com that is only accessible through domain xyz.com (Access-Control-Allow-Origin). So I…
edbras
  • 4,145
  • 9
  • 41
  • 78