All Questions

Tagged with
Filter by
Sorted by
Tagged with
107 votes
6 answers
158k views

How can I view the complete httpd configuration?

I'm trying to figure out what is the full complete configuration of an httpd setup. All the configurations files are scattered in different files (/etc/httpd/conf.d, httpd.conf, various mod configs)...
Gnafu's user avatar
  • 1,650
95 votes
26 answers
796k views

Apache is not running from XAMPP Control Panel ( Error: Apache shutdown unexpectedly. This may be due to a blocked port)

I have installed XAMPP (xampp-win32-1.8.2-0-VC9-installer.exe) on Windows 7 successfully. But unfortunately, the following error was found during running Apache from XAMPP Control Panel: 5:38:38 PM ...
Ripon Al Wasim's user avatar
12 votes
3 answers
33k views

Apache2 error: Hostname provided via SNI and HTTP do not match

In my Apache error.log, I am getting an error like the following: Hostname www.example.com provided via SNI and hostname hk.dv.nextmedia.com provided via HTTP are different I have no idea what hk....
Koda's user avatar
  • 141
11 votes
8 answers
23k views

AWS elastic beanstalk 100.0 % of the requests are erroring with HTTP 4xx

My AWS Elastic Beanstalk account keeps getting down with the error: "Environment health has transitioned from Ok to Severe. 100.0 % of the requests are erroring with HTTP 4xx" On a daily basis. When ...
gilm501's user avatar
  • 181
11 votes
1 answer
27k views

ReactJS (create-react-app) run on port 80 [duplicate]

Can somebody explain how to run my reactJS app on port 80, without specifying port currently it works on www.mydomain.com:3001 but I want it to be visible when I go to www.mydomain.com I can't ...
ii7scw's user avatar
  • 361
10 votes
2 answers
33k views

Apache forbidden access with Docker

I build this image on docker-compose.yml version: '2' services: webserver: build: ./docker/webserver image: image_name ports: - "80:80" - "443:443" volumes: - /Users/user_name/...
user avatar
10 votes
2 answers
6k views

Remote access to Apache Server

I have a LAMP server used to remotely access a MySQL database (through a dynamic DNS service). Until yesterday, everything was working fine. Here is what I checked so far, without any success (I keep ...
ylnor's user avatar
  • 4,689
9 votes
4 answers
7k views

Ubuntu 14.04 Server: Apache2 issue with phpMyAdmin

I have installed Apache 2, and it is working fine. I have installed PHP 7, and everything works fine, But when I install phpMyAdmin, Apache 2 stops working. When checking Apache 2, it even does ...
Gammer's user avatar
  • 5,488
9 votes
2 answers
16k views

Different PHP version for each folder on my server

I have little knowledge of how to configure Apache and the server. Currently, my server is running a version of PHP 5.X I would like to upgrade to PHP 7 but there would be a lot of projects that would ...
fly LFC's user avatar
  • 101
8 votes
1 answer
11k views

Apache Benchmark HTTPS Issue

I cannot get apache benchmark to work with my site. Whenever I issue this command ab https://example.com/ I would get this output error: This is ApacheBench, Version 2.3 <$Revision: 1663405 $>...
RubyFanatic's user avatar
  • 2,261
8 votes
1 answer
2k views

Phusion Passenger internal server error

I'm using Apache + Passenger on my Linode server, with a Postgresql-9.4 database. Every so often, I get the following error, but it is unpredictable and rights itself a few minutes later with no ...
Joe Morano's user avatar
  • 1,775
7 votes
1 answer
3k views

Cronjob to detect last modified files

I want to run a cronjob every minute to detect all files that were changed in the last minute in a specific directory (with about 300.000 inodes) and export this file list to a csv. Is it possible to ...
Samul's user avatar
  • 1,976
6 votes
5 answers
18k views

localhost not working on Big Sur (Apache & Homebrew)

I know there are dozens of questions about Apache not working, but nothing seems to solve it for me. I'm on macOS Big Sur 11.0.1. I installed Apache with brew install httpd and then brew services ...
Robo Robok's user avatar
  • 21.8k
6 votes
2 answers
25k views

apache2 service Failed on restart - Failed to start apache2.service: Unit not found

when I try to restart the apache server I got following response. Redirecting to /bin/systemctl start apache2.service Failed to start apache2.service: Unit not found.
Mahendra Pratap's user avatar
6 votes
3 answers
188 views

How to check if clients are starved in an apache server?

How would you monitor a server performance in sense of : Count requests that has been timedout without processing at all (client was starved) Count requests that has been timedout while in process ...
Ofek Ron's user avatar
  • 8,500
6 votes
1 answer
818 views

Transfer file takes too much time

I have an empty API in laravel code with nginx & apache server. Now the problem is that the API takes a lot of time if I try with different files and the API responds quickly if I try with blank ...
Mox's user avatar
  • 61
5 votes
1 answer
4k views

This request asked for "/" on host "example.com", but no site is configured which can serve this request

I am using Apache/2.4.7 to host a server. I am hosting phabricator on it. Let us say that the ip is x.x.x.x and the domain name pointing to the ip is example.com. Following are the contents of /...
Paagalpan's user avatar
  • 1,281
5 votes
1 answer
28k views

Connection Refused and access forbidden by rule Errors, how to solve?

Can anyone here please with those errors lines I don't know too much about servers config my server is on centos and managed by CWP panel web server config; nginx-apache-php-cgi hosting Wordpress ...
Adil Ktite's user avatar
5 votes
1 answer
5k views

no apache2 folder under my etc folder, very confused? etc/apache2?

I'm using an aws ec2 server and trying to change a configuration file to allowoverride in the path /etc/apache2/sites-available however, under the folder etc, there exists no apache2. Does anyone ...
LostProgrammer's user avatar
5 votes
2 answers
492 views

pipe all requests to a particular port - node js application

I am trying to run node js and apache in a same server for that I am trying to pipe all requests to a particular port (eg: example.com:80 to example.com:3000). For that, I changed httpd.conf file ...
Hello World's user avatar
  • 2,791
4 votes
3 answers
17k views

WampServer 3.0.0 AH01630: client denied by server configuration:

Setting up a new dev server to work on PHP7 and get some training in and run across an impasse. I can access the server from localhost, 127.0.0.1 no problem. However when I go to another computer on ...
user1794918's user avatar
  • 1,131
4 votes
1 answer
4k views

PHP Code Is Not Executed For PHP 7.2 On Aws Ec2 Instance

I am trying to install php on aws ec2 instance. Since php 7.2 is not available, I used following commands to enable few repos as suggested in this Link sudo yum install epel-release sudo yum install ...
sadisha nadiej's user avatar
4 votes
2 answers
5k views

PHP: How to get website with cURL and act like a real browser?

There's a specific website I want to get the source code from with PHP cURL. Visiting this website with a bowser from my computer works without any problems. But when I want to access this website ...
David's user avatar
  • 3,078
4 votes
1 answer
4k views

.htaccess for an SPA, rewrite incoming requests to index.html, except for static resources

EDIT 1 Thank you very much for your responsiveness and patience!. I am developing a SPA router, so everything happens in index.html. It uses HTML5 History API to rewrite the history and it would be ...
aalvarado's user avatar
  • 165
4 votes
1 answer
6k views

How to access remote node.js app in browser, not on localhost

I'm trying to set up a simple "Hello world" node.js app. I've created the following index.js file: var app = require("express")(); var http = require("http").Server(app); app.get("/", function(req, ...
M -'s user avatar
  • 27.8k
4 votes
1 answer
4k views

Redirect an Old Domain to a New Domain with HTTPS in .htaccess

Let's say we have, Old Domain : http://www.olddomain.com New Domain : https://www.newdomain.org Here's my .htaccess file data : RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https:/...
sr1's user avatar
  • 251
4 votes
2 answers
6k views

Serving markdown from Apache 2.4.7 on Ubuntu

I am running Apache/2.4.7 (Ubuntu 14.04.3 LTS) and am trying to access .md files and view them formatted as Markdown files. If I point my browser to a .md file currently I either get a blank page or ...
josh's user avatar
  • 1,554
4 votes
1 answer
6k views

How to implement user authentication in XAMPP server similar to a router's login?

I'm trying to set up user authentication in my XAMPP server, similar to how a router prompts for a username and password when calling a specific route. I would like to understand the underlying ...
Tomrock D'souza's user avatar
4 votes
2 answers
122 views

server does not lookup on www or other subdomains

I have some problems, and I think that it's for DNS Records. I can't open my website by www. or access any sub-domain. These are my DNS settings: example.de. 14400 IN A **.***.***.*** ...
Nabi's user avatar
  • 774
4 votes
1 answer
1k views

Prevent Cloud9 workspace going into idle

Problem: Trying to figure out if there is a possibility to prevent the workspace at Cloud9 from going into idle. After I work on a project and leave it for some time, it will not be accessible ...
kexxcream's user avatar
  • 5,913
4 votes
1 answer
924 views

Spring Boot and Apache2 on the same server and port

I am looking for solution to enable Apache2 and spring boot application on the same port and server. Boot Application is turn on through the internal tomcat server. Apache ( wordpress) should work on ...
Adam Lasota's user avatar
4 votes
1 answer
171 views

Treat more than one php file as directory, htaccess

I am new to htaccess files, and I understand how to do basic rewrites of URLs such as removing index.php, extensions, etc. I am also able to use $_SERVER["PATH_INFO"] to work with anything trailing ...
justMoritz's user avatar
4 votes
2 answers
421 views

What module i need to install to see my header variables in $_SERVER array?

I had a server where i have a php file to which i pass some header variables and read it in the PHP file as follows... $_SERVER["HTTP_API_KEY"] If i pass API_KEY in my header data i get the value ...
Joseph Ranjan S Ranjan S's user avatar
4 votes
2 answers
34k views

Can't get access to http://localhost:80 on running apache server

On running apache server in ubuntu 14.04 I get "This webpage is not available" in browser or "curl: (7) Failed to connect to localhost port 80: Connection refused" using $ curl localhost. Besides I ...
Al Che's user avatar
  • 69
4 votes
0 answers
562 views

Hidden characters '\u0' added to file after save on server

I'm using an Apache server to serve websites for web development. That way i'm constantly saving and editing files. I'm using Gulp for Sass and to concat and uglify css and js files. A month ago i'm ...
WIWIWWIISpitFire's user avatar
4 votes
0 answers
4k views

http response: 200 ok, but the page is blank

I am facing this issue when trying to access a directory(index.php) in my website. The Response headers shows this: content-type:text/html status:200 OK version:HTTP/1.1 But the page remains blank (...
Mr.code892's user avatar
4 votes
1 answer
904 views

Apache - CentOS - "Scan this dir for additional .ini files"

Is there a way to set a location for apache to read custom php.inis from? Currently it says "Scan this dir for additional .ini files" as "(none)" The environment is CentoOS 6, Apache 2, and PHP ...
Raheel Hasan's user avatar
  • 5,872
3 votes
1 answer
5k views

Amazon Lightsail: Bitnami LAMP server website hosting: sudo service apache2 restart

I am trying follow the guide here: http://www.servermom.org/how-to-add-new-site-into-your-apache-based-ubuntu-server/ to host a few PHP files on the web. Everything works until the second to last step:...
Sterling Butters's user avatar
3 votes
1 answer
5k views

Disabling servertokens via .htaccess breaks website

I've added the following code to my .htaccess file in my website's root folder: # Disable server signature ServerTokens ProductOnly ServerSignature Off # END SCCC It causes my website to crash: ...
Clarus Dignus's user avatar
3 votes
3 answers
6k views

Where exactly can I check error logs for 500 error?

I just uploaded my changes to server which contains a functionality of sending email to the user but on sending email i get Failed to load resource: the server responded with a status of 500 (Internal ...
Imad uddin's user avatar
3 votes
1 answer
5k views

Can a single server process listen from multiple ports?

I know it's possible to serve more clients through a single port with different sockets, but can a single server process listen from different ports or do I need to make different processes each for ...
Maghio's user avatar
  • 375
3 votes
1 answer
1k views

Monit on apache server : why monit log " 'apache' error -- unknown resource ID: [5]" on /var/log/monit

We are monitoring several servers with Monit. We are using the version 5.25.1. Some are dedicated apache servers. The monitoring is ok. But the log of monit (/var/log/monit) is like this : [CET Mar ...
user2463696's user avatar
3 votes
2 answers
1k views

Using RegEx in Apache's directives in config files and .htaccess

If I understand correctly expression .ht* in the next code will match all that starts with .ht, so my .ht_lalala is safe. <Files ".ht*"> Require all denied </Files> But what ...
SizuNakomoto's user avatar
3 votes
1 answer
8k views

How can I open a web browser on a server that I can connect to through ssh?

I'm in a computer science program at my university (Ryerson) and I'm learning perl programming. The way we're learning is by hosting perl scripts on our university's server and doing stuff with them. ...
Will Dixon's user avatar
3 votes
2 answers
2k views

How to set web server to display URL not IP address?

I currently have an apache web server setup on my raspberry pi running Raspbian. I've opened the ports on my router and registered a domain name through a website. In the website I set the domain to ...
user2047366's user avatar
3 votes
1 answer
1k views

HTML 500 error page for .htaccess errors

I know what HTML 500 errors are and I know how to research solving them, I run a server with apache 2 and admin control is through cPanel and WHM. What I am looking for is some guidance on how to ...
Martin's user avatar
  • 22.4k
3 votes
1 answer
3k views

How to render pages without .html extension as html pages in Apache server

I made a webpage that should load a html files into a iframe. When you click something, it appears in . Although all of my files are html documents with html tags, they don't have extensions. So in ...
pandagrammer's user avatar
3 votes
2 answers
177 views

Configuring Blogs on a multi site Magento setup

I have two websites say abc.com and pqr.com running from the same Magento installation. Now I want to create blogs for each of those domains through wordpress for which I have created a folder "blogs" ...
Sarthak  Gupta's user avatar
3 votes
1 answer
3k views

what is proxy server and how it helps in server architecture

I am very confused with proxy server, and proxy and this word proxy. I saw everywhere people are using proxy program, proxy server. Some of them using the proxy websites to unblock the websites. There ...
Duke's user avatar
  • 36.1k
3 votes
1 answer
7k views

MAC, MAMP, 127.0.0.1 connection refused, localhost fine

As title says, I can access localhost fine but my app needs a callback from twitter through 127.0.0.1:8000 and 127.0.0.1:8000 is getting "connection refused" EDIT: This looks to be an IPv6 conflict, ...
Lewis's user avatar
  • 624

1
2 3 4 5
23