Questions tagged [httpd]
The httpd tag has no usage guidance.
161
questions
0
votes
1
answer
24
views
Apache subdomain on local server
I'm not able to create working subdomain in Apache. Before posting here, I searched internet, read plenty of similar questions on stack sites, asked chatgpt, read Apache documentation and tried ...
0
votes
0
answers
19
views
Prevent dnf from changing cgi-bin directory permissions
We use suexec on an internal server and have SuexecUserGroup set to a restricted user. But dnf updates of the web server software change the ownership of /var/www/cgi-bin back to root and this breaks ...
0
votes
1
answer
739
views
Homebrew httpd showing Error 256 on Sonoma due to Permission denied AH00091 when opening error_log
I am creating this question because this problem caused me 2 weeks of headache, and I found many other users online who experienced the same issue and were unable to find a solution.
Computer
M1 ...
0
votes
1
answer
60
views
Outdated CentOS 5.11 and https
I have CentOS 5.11 on server, which is too outdated.
It has Apache/2.2.22 (Unix) and Apache Tomcat/5.5.25
Unfortunately migration to the new OS is not possible at the moment.
The website hosted on the ...
0
votes
1
answer
272
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:
...
0
votes
0
answers
5k
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 ...
1
vote
0
answers
298
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&...
0
votes
1
answer
838
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 ...
0
votes
2
answers
950
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 ...
0
votes
0
answers
1k
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 ...
0
votes
1
answer
2k
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-...
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 ...
2
votes
1
answer
175
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 ...
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 ...
1
vote
0
answers
83
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 ...
0
votes
0
answers
312
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 ...
1
vote
2
answers
6k
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 ...
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 ...
0
votes
1
answer
723
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 ...
0
votes
0
answers
445
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: ...
0
votes
1
answer
406
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:
...
1
vote
1
answer
963
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/...
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 ...
0
votes
2
answers
922
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 ...
1
vote
1
answer
398
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.
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....
0
votes
1
answer
1k
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.
...
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 ...
0
votes
0
answers
51
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
...
1
vote
0
answers
360
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><...
2
votes
1
answer
9k
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: ...
16
votes
1
answer
20k
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".
...
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 ...
0
votes
1
answer
55
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 ...
2
votes
1
answer
15k
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 ...
1
vote
1
answer
4k
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 ...
0
votes
1
answer
132
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 ...
0
votes
0
answers
231
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, ...
0
votes
0
answers
669
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 ...
3
votes
1
answer
5k
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 ...
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 ...
1
vote
0
answers
998
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 ...
0
votes
1
answer
160
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 ...
1
vote
0
answers
458
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 ...
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 ...
2
votes
0
answers
633
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 ...
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, ...
0
votes
1
answer
52
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
<...
2
votes
1
answer
544
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/...
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
...