Questions tagged [httpd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 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 ...
user avatar
  • 101
0 votes
2 answers
80 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 ...
user avatar
0 votes
0 answers
31 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 ...
user avatar
0 votes
0 answers
143 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-...
user avatar
1 vote
0 answers
23 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 ...
user avatar
2 votes
1 answer
99 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 ...
user avatar
  • 71
0 votes
1 answer
547 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 ...
user avatar
  • 3
1 vote
0 answers
32 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 ...
user avatar
0 votes
0 answers
103 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 ...
user avatar
1 vote
2 answers
3k 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 ...
user avatar
  • 1,017
0 votes
0 answers
117 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 ...
user avatar
0 votes
1 answer
314 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 ...
user avatar
  • 1
0 votes
0 answers
113 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: ...
user avatar
  • 1,225
0 votes
1 answer
112 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: ...
user avatar
1 vote
1 answer
174 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/...
user avatar
1 vote
1 answer
714 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 ...
user avatar
  • 457
0 votes
2 answers
132 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 ...
user avatar
1 vote
1 answer
182 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.
user avatar
  • 31
5 votes
0 answers
911 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....
user avatar
0 votes
1 answer
539 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. ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
  • 101
0 votes
0 answers
49 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 ...
user avatar
1 vote
0 answers
61 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><...
user avatar
2 votes
1 answer
2k 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: ...
user avatar
11 votes
1 answer
13k 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". ...
user avatar
  • 121
0 votes
1 answer
785 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 ...
user avatar
  • 1
0 votes
1 answer
53 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 ...
user avatar
2 votes
1 answer
8k 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 ...
user avatar
  • 23
1 vote
1 answer
2k 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 ...
user avatar
0 votes
1 answer
65 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 ...
user avatar
0 votes
0 answers
147 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, ...
user avatar
0 votes
0 answers
460 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 ...
user avatar
1 vote
1 answer
3k 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 ...
user avatar
  • 11
1 vote
0 answers
759 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 ...
user avatar
  • 113
1 vote
0 answers
703 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 ...
user avatar
  • 11
0 votes
1 answer
60 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 ...
user avatar
  • 437
1 vote
0 answers
192 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 ...
user avatar
0 votes
2 answers
1k 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 ...
user avatar
  • 341
2 votes
0 answers
505 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 ...
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, ...
user avatar
  • 101
0 votes
1 answer
46 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 <...
user avatar
  • 383
2 votes
1 answer
456 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/...
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 ...
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 ...
user avatar
1 vote
1 answer
101 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 ...
user avatar
0 votes
1 answer
74 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 ...
user avatar
  • 257
0 votes
1 answer
150 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:...
user avatar
  • 133
1 vote
0 answers
482 views

Apache redirect for url with multiple query string

I am trying to write a url redirection for a url with multiple query strings. https://www.example.com/site/template/?tab=ab&mediaId=2842247 to NEW URL: https://www.example.com/new-dynamic-...
user avatar
  • 1,307
-2 votes
1 answer
124 views

Download SSL-certificate from a Public Site in a Linux Machine

Require to download SSL-certificate from a open site in a linux machine. https://fqsq02.six-group.com/sheldon.html Used Following command root#> openssl s_client -host fqsq02.six-group.com/...
user avatar
1 vote
0 answers
113 views

VirtualBox setup, httpd won't install

I'm trying to setup a new Vagrant / VirtualBox. The server is up and running, but I can't get the site up in the browser. I've updated the hosts file on the host machine and can ping the IP address, ...
user avatar
  • 165