4
votes
1answer
2k views

why isn't laravel's php artisan serve server being accessible from the WWW on IIS

I have a laravel application running through the laravel artisan server: php artisan serve and it works just fine if I go on my localhost:8000.. Further, I added an inbound rule in the IIS server ...
-3
votes
1answer
64 views

http daemon not responding

If I run a php file at the command prompt, it works as expected. But it does not load from browser. # php /var/www/html/adminer.php When I try to access the same file from browser, I get an error: ...
0
votes
1answer
41 views

Serving image content over https, must encryption strength match that of the main website?

Im looking at migrating my website to https throughout. I have a server responsible for the HTML/PHP, and 4 other servers which serve image content Now clearly all the image servers need to be https ...
0
votes
0answers
14 views

limit directive takes time to block post (httpd)

I have blocked post method on httpd with limit directive.It successfully gives a 403 for post request. But I see huge time taken between request and response in logs. I am logging the time taken to ...
0
votes
0answers
25 views

Use Openconnect and Httpd at the same time

My httpd service is working properly, however when using OpenConnect through the box I can no longer connect to the box's webserver, it's giving me a timeout error. Connecting with: openconnect -s ...
0
votes
0answers
21 views

OpenConnect causing problems with httpd service

My httpd service was working properly, however whenever using OpenConnect through the box I can no longer connect to the box's webserver, it's giving me a 522 timeout error. Maybe I'm going about ...
0
votes
2answers
83 views

How to block access from users but not from http?

My web files are located in /var/www/html/example.com/web/ Permissions are: drwxr-xr-x 20 root root 4096 Aug 13 18:22 var ... same for www and html ... drwxr-xr-x 4 root root 4096 Aug 13 ...
0
votes
0answers
121 views

Apache intermittently aborting http requests

I am having the exact same problem as this old listing, which was never solved. Apache intermittently aborting requests if you go to the site below (all the sites on the server are having the same ...
0
votes
1answer
39 views

How do you change apache to be http 1.0 by default

Is this changed in the httpd.conf? If so, where? I am having problems with having connections staying alive, and I know http 1.0 makes keep alive off by default.
0
votes
1answer
249 views

how to set any browser to no keep alive in apache httpd.conf

I have the following setting for IE in my httpd.conf: BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 I want to apply this to all requests that hit my server. My ...
-1
votes
1answer
22 views

Odd httpd behavior while uploading a file

OK, so I'm uploading a 350meg zip file. The file one uploaded is unzipped and the contents are processed. The processing consists of reading in a data file, then copying and thumbnailing images, the ...
2
votes
3answers
104 views

Can i set 443 as default web port which means it can only be accessed via https and no port 80

As title says, I want to set my apache to listen on 443, and will configure SSL. So, My Question is :- 1). Does that mean, i will not have port 80 or any other port which is no ssl ? 2). My site ...
0
votes
1answer
69 views

Redirection on Apache (Maintain POST params)

I have Apache installed on my server and I need to redirect from http to https. The reason for this is our load balancer solution cannot hand https so requests come in on http and then we transfer ...
-1
votes
3answers
233 views

Script to restart httpd if crashed

With heavy trafic, it happen that's my HTTP service crash on my dedicated server. Then, I have to restart httpd service manually. I just search for a shell script that's detect if HTTP service is OK ...
0
votes
1answer
181 views

remove 404 errors from apache's master log file

Is there a way to prevent apache from filling up the log file with pointless error messages like 404's and only display real errors?
0
votes
1answer
274 views

mod_access for lighttpd causes a 403 error for all POST requests

I have found on my debian server that running the lighttpd module mod_access is causing the server to response with a 403 to all POST requests. It's very odd as I have two servers, one is running as ...
1
vote
0answers
177 views

Host name change breaking http? Fedora

OK so I have been messing around on my development server. It has been a while since I have had my head in linux and I suspect I have broken something. I have SSH running and that is working fine. I ...
3
votes
3answers
1k views

PHP-FPM and APC for shared hosting?

We are looking into finding a way to get APC to only create one cache per account / site. This can be done with Fastcgi (last update 2006…) but with Fastcgid APC will have to create multiple caches ...
1
vote
1answer
604 views

An attack? What are the second status codes(286, 289) for in the log (a web scan)?

Going through my assess-logs today, I found so many entries trying to access pages. (that were not present). Like robots.txt (I know what this is used for) apply favicon.ico(I know what ...
0
votes
1answer
140 views

Apache mod_deflate only for files larger than 1000 bytes

Is it possible to use mod_deflate in Apache 2.2 only for files bigger than a certain size ? According to this article and common sense only files over 1000 bytes benefit deflate/gzip.
1
vote
1answer
69 views

Nginx rewrites incorrectly

For some reason www.server-1.com/forum doesn't redirect to forum.server-1.com but www.server-2.com. When I delete the part where it redirects www.server-1.com to www.server-2.com it works like a ...
2
votes
3answers
401 views

Secure http transfer with ssh (tunnel)?

I have two servers which communicate over http. I wish this transfer be secure. How can this be achieved? I do not wish to use use https (that would require ssl certificate,right?) [SERVER-I] --> ...
2
votes
2answers
2k views

How to test keep-alive is working on client end

What are some different ways/tools to verify that keep-alive is working on the server from the client's end?
1
vote
3answers
2k views

Apache intermittently aborting requests [closed]

I have just been dealing with a problem whereby http requests are being aborted, seemingly at random. On any particular page in the website, when you opened a page, a number of the assets (img, css, ...
0
votes
3answers
295 views

how to disable x-mod-ps header

how disable this header ? googled ,no reply; X-Mod-Pagespeed: 0.9.14.6-358 I attempt: RequestHeader unset X-Mod-Pagespeed It's does nothing
0
votes
1answer
164 views

Find the HTTP request for specific apache processes

I have several apache processes running on a system, which seem to be stuck in infinite loops. Is there some way I can inspect the apache process to find what the HTTP request was that they are ...
1
vote
1answer
1k views

Apache spawning hundreds of processes and pushing up load averages

I run a site with about 100,000 visits a day and lately the load averages sometimes hit the roof (250+). They are normally about 0.5-1.5, so I assumed a (d)dos attack. The number of apache processes ...
2
votes
2answers
2k views

Why does apache log requests to GET http://www.google.com with code 200?

I was recently asked 'What causes a line like this in our access.log?' 59.56.109.181 - - [22/Feb/2010:16:03:35 -0800] "GET http://www.google.com/ HTTP/1.1" 200 295 "-" "Mozilla/5.0 (compatible; MSIE ...
0
votes
1answer
511 views

.htaccess ForceType returning 404 Not Found

I have a .htaccess file which contains: <FilesMatch "^api$"> ForceType application/x-httpd-php SetHandler application/x-httpd-php </FilesMatch> This works on my local server but ...