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

Centos: there are many 'httpd start' process

I found that my server is very slow,I used 'ps au' to show all the processes. There are a lot of /usr/local/apache/bin/httpd -k start running. How could I fix this problem? USER PID %CPU %MEM VSZ RSS TTY STAT START TIME…
TimLee
  • 183
  • 1
  • 2
  • 11
0
votes
1 answer

CentOS 7 - Apache Reverse Proxy - SSL Issues

I have two web servers running Apache 2.4 on CentOS 7 and I am trying to set up a reverse proxy server for my web server. As of now, the proxy server is using a Let's Encrypt certificate, and when I access the proxy server before making changes to…
0
votes
0 answers

Header unset Set-Cookie is not working for existing cookies in httpd.conf file

I want to remove Set-Cookie : 'some cookie details' from the web server http response in that case I used below content to remove it Header unset Set-Cookie But this works properly if have newly added cookie there and it does not works with…
Audumbar
  • 99
  • 1
  • 2
  • 11
0
votes
0 answers

Trouble setting up a reverse proxy on apache for ramaze (rack) app

Using these instructions I am trying to setup a reverse proxy for my ramaze/rack app. Below is my httpd-vhosts.conf # Virtual Hosts # ServerName localhost DocumentRoot c:/wamp/www
desbest
  • 4,746
  • 11
  • 51
  • 84
0
votes
1 answer

Placing httpd config outside /etc/httpd/conf

I'm searching for a way to locate my httpd service configuration file outside of the /etc/httpd/config folder; for example in /test. Do you know how I can do that and still can start the service with systemctl start httpd ? Thanks
Gring
  • 318
  • 3
  • 19
0
votes
1 answer

mod_rewrite rules in httpd.conf not working

I am trying to add my rewrite rules to httpd.conf and disable .htaccess in order to improve server performance. For some reason everything I have tried doesn't work. in my main httpd.conf I have disabled all instances of AllowOverride setting them…
futureweb
  • 442
  • 4
  • 12
0
votes
1 answer

Virtual Host cannot create with XAMPP server

I add the following codes in httpd-vhost.conf file. DocumentRoot "C:/xampp/htdocs/mmcast" ServerName mmcast.dev AllowOverride All Require all granted Although I can…
May Phyu
  • 895
  • 3
  • 23
  • 47
0
votes
1 answer

Apache getting 403 for new files

I have a web app in which users can see image and videos. But I'm always getting 403 Permission denied when I tried to see any image or video. I checked the permission of the file and it's drwxrwxrwx. 2 apache apache 4096 Jul 12 09:57…
Faabass
  • 1,394
  • 8
  • 29
  • 58
0
votes
1 answer

port 80 is open but Iptables prevents Apache connections

I've been having trouble connecting via a web browser to server that runs Apache. I've discovered that by stopping the iptables service, I can then connect to and load a web page from the server. However, i don't understand what I'm missing in my…
nmh
  • 491
  • 2
  • 8
  • 23
0
votes
1 answer

what will be my .htaccess setting?

I currently using CodeIgniter 3. It is working on my laptop. But when I upload it to my Centos 6.9 server... I encounter an error. I already check the mod_rewrite is loaded. I want it to be like this URL/controller/method (no index.php after…
Rain Lai
  • 170
  • 1
  • 9
0
votes
2 answers

Where location log file httpd server

Please help, I am actually not a server admin, I just want to know, my server has some virtualhost, for example: ServerAdmin arif@dummy-host.example.com DocumentRoot /var/www/testing/ ServerName cg.blender.com ErrorLog…
arifoxs
  • 9
  • 3
0
votes
0 answers

Set SessionMaxAge in Apache httpd.conf to dynamic value

I am currently having an requirement to add session timeout for the application, we are using session of Apache server and a session cookie is set by default with no maxage. So in order to add timeout for the session I am using SessionMaxAge…
piu
  • 195
  • 1
  • 2
  • 10
0
votes
0 answers

Failed to start HTTPD Server

After Installing HTTPD server on REDHAT, I edited httpd.conf file for VirtualHost. After the reboot the httpd was not working anymore, here is error from jorunalctl: Redirecting to /bin/systemctl status -l httpd.service ● httpd.service - The Apache…
0
votes
0 answers

32k Redirects: Practical Solution

I am currently in the process of creating a Wordpress site on the same domain as the old site. There are 32k products pages, all static html files. I want to redirect these to the corresponding individual post on Wordpress. There is no pattern…
Atrag
  • 653
  • 2
  • 8
  • 29
0
votes
3 answers

httpd local virtualhost example

-- Original post --- I'd like to setup a dev env to play with some apache features. I'm running httpd on fedora. I added to hosts local redirects # cat /etc/hosts 127.0.0.1 example1.com 127.0.0.1 example2.com # cmkdir /var/www/example1; echo…
ppavlov
  • 117
  • 1
  • 1
  • 14