Questions tagged [httpd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
114 views

How do I source an external script in /etc/sysconfig/httpd?

Let's say I have set EnvironmentFile in /usr/lib/systemd/system/httpd.service as follows: … [Service] .. EnvironmentFile=/etc/sysconfig/httpd I then put the following in /etc/sysconfig/httpd: ...
H M's user avatar
  • 3
0 votes
0 answers
4k views

Homebrew installed HTTPD somehow cannot be started

After upgrading my macOS to Monterey, I am unable to start apache. When I run the sudo brew services start httpd command, httpd looks like started: Warning: Taking root:admin ownership of some httpd ...
Madame Green Pea's user avatar
1 vote
0 answers
257 views

httpd on OpenBSD: How to Redirect URLs Ending In '.php'?

I am running an httpd(8) web server on OpenBSD. php-8.1.9 is used to serve php. In /etc/httpd.conf I have the following (example.com is a placeholder for the actual domain): server "example.com&...
Matthew Carlson's user avatar
0 votes
1 answer
606 views

How to read Origin HTTP Header and send response 404 in apache httpd

I have a penetration test finding that needs to block request from client if its 'Origin' Header didn't meet the criteria, for example it must be '192.168.2.123:8888'. If the Header was 'Host', I have ...
danisupr4's user avatar
  • 101
0 votes
2 answers
767 views

Httpd Directory read permissions issue

In my scenario ,I need the 'httpd' directory in '/var/log/' to be readable by the users in 'devs' group (Amazon Linux 2) Could anyone guide me how to accomplish this? We have a few developers who ...
samtech's user avatar
  • 11
0 votes
0 answers
979 views

http://localhost doesn't work after installing apache

After installing Apache I tried running httpd using the following command httpd -k start and it gave me the following error message: AH00558: httpd: Could not reliably determine the server's fully ...
Jimit Dholakia's user avatar
0 votes
1 answer
1k views

How to add basic HTTP auth in HTTPD docker container?

I have been able to add simple HTTP auth on a server running Apache2 as a service using this https://www.digitalocean.com/community/tutorials/how-to-set-up-password-authentication-with-apache-on-...
Saki Osive's user avatar
1 vote
0 answers
31 views

Has anybody ever heard of "deadlinkchecker" crashing httpd?

Earlier today, we had a strange occurrence: it seems that an employee used something called "deadlinkchecker.com" on our web site (running Apache httpd on an Amazon Linux EC2 instance), and ...
hbquikcomjamesl's user avatar
2 votes
1 answer
159 views

Cant start apache on mac like i did on windows

I have very simple task to do, since i am not expert in this field i am asking for a help. Right now i am trying to run apache on my mac, i have windows working script and i need basically to do the ...
Sahbaz's user avatar
  • 71
0 votes
1 answer
3k views

How do I reinstall the HTTPD?

I have a problem with my server CentOs7. I installed httpd, it works fine, but I reinstalled for some reason, but after that it never works and throws error. Is there any way I can remove all httpd ...
Ariya's user avatar
  • 3
1 vote
0 answers
71 views

How to have separate log files for every balancer member in load balancer?

I am using proxyPass in my Apache v2.2 along with load balancing and have 3 load balancer members. How can I get separate log files for each access made through the balancer member? For example 3 ...
Nirbhay Narkhede's user avatar
0 votes
0 answers
224 views

httpd https/ssl not sending certificate chain

I'm attempting to configure a Centos 8 (8.1.1911) VM running httpd (apache?) (2.4.37-21) for HTTPS/SSL on a website I am hosting internal to my lab. My lab consists of an offline root (windows) and ...
Kane Charles's user avatar
1 vote
2 answers
5k views

How to block access to localhost from the Internet in Xampp?

In my Apache config file httpd.conf I have: ... <Directory /> AllowOverride none Require all denied </Directory> ... <Directory "D:/xampp/htdocs"> Require ...
drake035's user avatar
  • 1,147
0 votes
0 answers
126 views

Virtual Host Overriding Hello World On Another Server

For some reason, the content of 0rcan0mic.com on my main server is overriding constantcounselling.com on another server. I want to get hello world on constantcounselling.com instead of the contents of ...
mister mcdoogle's user avatar
0 votes
1 answer
665 views

Issues Accessing Apache Server Hosted Over Mobile Data Network

I have an Apache server configured to serve files which works fine when I set Apache to listen on 127.0.0.1:* or 0.0.0.0:*. I can access the site from the local machines browser either with localhost ...
DevJoe's user avatar
  • 1
0 votes
0 answers
404 views

Apache server on centos 8 not serving http pages

I have a CentOS 8 computer running an httpd server I was serving both http and https pages properly before I installed the live chat helper web based chat software using the instructions here: ...
user13267's user avatar
  • 1,641
0 votes
1 answer
340 views

Apache: Remove index.php from url after Query Params

I want to remove index.php from my URL after Query Params. This is My Url: http://127.0.0.1/user/report?user=USERNAME I have removed Query Params and convert it into Pretty Url using: ...
akshaypjoshi's user avatar
1 vote
1 answer
856 views

httpd - SSLCertificateFile: file '/var/certs/domain.cert' does not exist

maybe i just can't search in internet but i stuck with that: I have Fedora Server 31 with httpd installed. I added small vhosts config: Listen 3000 <VirtualHost *:3000> DocumentRoot "/var/...
Mykola Kikets's user avatar
1 vote
1 answer
1k views

Best practice for Apache exec user and document root permission

My Apache installation is launched by user www-data in group www-data by default. For example, if I have this directory under the /var/www/html. /var/www/html/myPhpProject This directory owner is ...
whitebear's user avatar
  • 705
0 votes
2 answers
698 views

Websites Aren't Loading

The power went out at my house last night. I didn't have a surge protector. My server went down. I restarted my router and machine. I can get an internet connection but my websites and crm are not ...
mister mcdoogle's user avatar
1 vote
1 answer
311 views

Difference between httpd and tomcat

What is the generic difference between the two processes on a linux box ? I always thought they are the same thing, basically a web server so the users have some ui where they can make requests.
Cueisa's user avatar
  • 31
5 votes
0 answers
1k views

After last windows 10 update httpd.exe can't start

On Monday I updated windows 10, and then, on Tuesday I tried to start Apache from xampp, but it failed. xampp told me to see Windows Event Viewer Windows-> application Bad application name: httpd....
Евгений Шалаев's user avatar
0 votes
1 answer
965 views

[httpd]; make build/rules.mk:75: the rule for goal "all-recursive" failed

I try to install httpd from apche. Therefor I have to install pcre with the following command: in directory: pcre-8.39 ./configure --prefix=/usr/local/pcre make make install This worked quite nice. ...
ofner01's user avatar
0 votes
1 answer
3k views

PermissionError: [Errno 13] Permission denied gets thrown when starting the script in CGI, but not in bash

I have a python script on my HTTP server(CentOS 7) responsible for responding to the client browser, it works fine in bash, but when I try to access it via cgi, it just throws an error. It works fine ...
Xyz's user avatar
  • 101
0 votes
0 answers
50 views

SSL on httpd 1.3

I am using an iBook PowerPC OS 10.4 with Apache 1.3.4. There's a mod_ssl module in the config file. I just can't seem to get it to work. So far I've enabled the module, added SSLProtocol all ...
Ate Somebits's user avatar
1 vote
0 answers
295 views

You don't have permission to access /{local} on this server even though allowed from all

I'm trying to set up a local repository on my cluster but when I try to access to the defined directory with curl "http://$(hostname -f):80/local_HDP/" , the error messages shown <html><...
Banthita Limwilai's user avatar
2 votes
1 answer
8k views

how to give permission to specific folder in amazon ec2 server

I updated my php version 5 to 7 in the aws ec2 server. After I have updated my root folder permission, it has been changed to drwxr-sr-x when I try to change permission I got error like chmod: ...
Srinivas Rao's user avatar
16 votes
1 answer
18k views

What is the difference between Apache Web Server and Apache HTTPD?

I am doing some application monitoring and my requirement is to see what differentiates an Apache Web Server and Apache HTTPD. I know Apache Web Server is a "server" and Apache httpd is a "program". ...
techbum's user avatar
  • 171
0 votes
1 answer
1k views

File upload results with connection reset

I am experiencing an issue on an EC2 instance. When trying to upload a file I get different behaviours : file size about 1.5mb : file is correctly sent to the server and processed by the backend file ...
nessb's user avatar
  • 1
0 votes
1 answer
54 views

Access httpd on virtual centos

I am running a centos7 instance using Virtualbox. The host machine is running Debian 9. My centos machine is running fine and using one host only network, I am able to ping it or ssh into it from the ...
MortenSickel's user avatar
2 votes
1 answer
13k views

httpd commands in cmd not working with Apache

Everyone says you install Apache as a service by running: httpd.exe -n "servicenameherexd" But cmd outputs this: 'httpd.exe' is not recognized as an internal or external command, operable program ...
oggy333's user avatar
  • 23
1 vote
1 answer
3k views

Can’t get HTTPD to start due to server port configuration issue

My httpd.conf shows it's listening on port 80. I think I am supposed to change the IP to IP of my machine, but I am not sure and wisely hesitant. #Listen 12.34.56.78:80 Listen 80 However my virtual ...
mister mcdoogle's user avatar
0 votes
1 answer
115 views

How to config static VM with DHCP service started?

everyone. I am newbie on Unix. Here I set up a VM in VMware.At first it can go on web with static IP and default NAT DHCP which provided by VMware. And then I seted up cobbler to install system, so ...
张绍峰's user avatar
  • 101
0 votes
0 answers
217 views

Where do I find linux commandline httpd exit codes?

I am building an api through ssh and it relies on the exit codes of all individual commands. I've found all exit status codes and their meaning for commands like: useradd, userdel, mkdir and others, ...
Skid Kadda's user avatar
0 votes
0 answers
647 views

Certbot Apache Augeas installation error

I have a Centos7 server with apache 2 and certbot installed. I ran an update that may have broken the configuration. I keep getting an error when trying to renew my cert. It says: Saving debug ...
user1868414's user avatar
3 votes
1 answer
4k views

How to enable Apache as proxy to Docker container?

I need to set up Apache as the web server and have it proxy http requests to a Docker container with its own web server. I'm starting with the Docker image httpd:2.4. What modules do I need to ...
ryang's user avatar
  • 41
1 vote
0 answers
2k views

Cannot change php.ini settings without restart of machine

I finally found out that I need to the restart my machine to take over some php.ini configuration changes. But I'm wondering why I cannot just restart httpd. What do I have to do that I don't need to ...
robsch's user avatar
  • 113
1 vote
0 answers
914 views

setting up the ~sites folder on apache (Mac 12.10

I am a complete newbie with Apache, PHP and MySql. I am attempting to set up PHPmyAdmin but I am having problems. I am following this guide. I have been googling forums for hours trying to get a ...
Sean B's user avatar
  • 11
0 votes
1 answer
147 views

New Linux install, can't get ssh or http connections working, connections are made but drop?

So, I / we have brand new Fedora Core 28 installation we've been trying to bring online. The installation went perfectly so far as we could tell. It has two network cards, one for an internal net, one ...
Richard T's user avatar
  • 477
1 vote
0 answers
402 views

Website: Error 403 on Symlinks Pointing Outside of Webroot

I am trying to create a website in the latest version of Fedora Linux. I want the website to point to something in my home directory. After doing some Googling, I can acheive this with a SymLink. The ...
user21303's user avatar
0 votes
2 answers
2k views

H00035: access to "file.php" denied, how to properly setup SELinux?

I have been struggling for the last days with this issue and so far I am not able to find any solution. The issue in a few words is (error message): H00035: access to index.php denied because ...
ReynierPM's user avatar
  • 365
2 votes
0 answers
625 views

lots of /usr/local/apache/bin/httpd -DSSL process but there's no file in that path

I'm having issue with 100% CPU usage caused by suspicious processes. One of them is /usr/local/apache/bin/httpd -DSSL, and running as www-data user process. But what's interesting is there's no ...
Todd's user avatar
  • 21
0 votes
0 answers
2k views

localhost and 127.0.0.1 are redirecting - how?

On macOS High Sierra 10.13.3 - I switched from using built in apachectl/httpd, to using Homebrew installed version. For some reason, 127.0.0.1 and localhost both redirect to a local.dev hostname, ...
wrydere's user avatar
  • 101
0 votes
1 answer
48 views

How to set up a http website and a https website on single-ip server in Apache?

I want to set up a http website:http://example1.com, and a https website:https://example2.com using the following configuration: Listen 80 Listen 443 NameVirtualHost *:80 NameVirtualHost *:443 <...
peter's user avatar
  • 393
2 votes
1 answer
520 views

Configuring SSL on Apache HTTPd installed on VMWare VM : bad certificate

I am building a Reverse Proxy server with Apache HTTPd 2.4.6, under CentOS 7 (freshly installed) running on a VMWare VM. I also followed recommandations of https://wiki.apache.org/httpd/...
cactuschibre's user avatar
1 vote
2 answers
1k views

Configure apache vhost running multiple servers

I want to run a Python 3.* and PHP 7.* server running right next to each other using the following: php.localhost py.localhost My /etc/httpd/conf/httpd.conf: # Dynamic Shared Object (DSO) Support ...
Xorifelse's user avatar
0 votes
1 answer
1k views

can't connect to webserver over http outside LAN

I ran into a problem when working on my webserver. Before I chaged anything connecting to http://my.domain/ sent me to the proper index.php page. When I started to work on this server, running ...
KoneLinx's user avatar
1 vote
1 answer
123 views

Can I script an Apache http shutdown or use AutoIT to make a tool that restarts it for me?

I do cross-platform development for Linux and Windows 10. I would like a nice way to restart Apache http with Windows 10. I use the Apache Lounge version for Windows. Everything works but I restart ...
Niklas Rosencrantz's user avatar
0 votes
1 answer
136 views

httpd linux security and user root

On my httpd.conf I use port 8089 and user group apache I have also changed 443 port https to 4444 but I see a process belong to root,for security reason I want only apache user process.. ps said ...
elbarna's user avatar
  • 348
0 votes
1 answer
419 views

Localhost/server IP redirect?

I have Apache HTTPD installed on my webserver. There are two websites with two different domains. Let's say example1.com and example2.com. There are couple of redirects like: http:// -> https:// http:...
Krystian's user avatar
  • 133