Questions tagged [server-configuration]
182 questions
330
votes
6 answers
Make XAMPP / Apache serve file outside of htdocs folder
Is it possible to configure xampp to serve up a file outside of the htdocs directory?
For instance, say I have a file located as follows:
C:\projects\transitCalculator\trunk\TransitCalculator.php
and my xampp files are normally served out…

cmcculloh
- 47,596
- 40
- 105
- 130
36
votes
3 answers
Configure server port when running jar
I currently working on an Spring Boot application written in Java 8 using Gradle.
What I am looking for is to pass as an argument the server port when running the Jar from the command line.
For example:
java -jar myApplication.jar --port=8888:…

T code
- 447
- 2
- 7
- 12
25
votes
5 answers
What needs to go in order to fully remove a MAMP install from OSX?
For reasons that we won't discuss, I have determined that MAMP is a pile of crap that haunts my system, and unless I remove it fully, I will live in shame.
I've done the obvious thing and removed the MAMP directory from my Applications folder,…

Pete Karl II
- 4,060
- 3
- 21
- 27
19
votes
8 answers
PhpMyAdmin error with config file
Errors are:
The phpMyAdmin configuration storage is not completely configured,
some extended features have been deactivated. To find out why click here.
Server running with Suhosin. Please refer to documentation for
possible…

Dave
- 691
- 2
- 11
- 25
18
votes
2 answers
Configuration parameter work_mem in PostgreSQL on Linux
I have to optimize queries by tuning basic PostgreSQL server configuration parameters. In documentation I've came across the work_mem parameter. Then I checked how changing this parameter would influence performance of my query (using sort). I…

Grzes
- 971
- 1
- 13
- 28
17
votes
5 answers
httpd: Could not reliably determine the server's fully qualified domain name
I know this question's been looked at a lot, but the solutions here aren't solving them.
Let's start with a bit of background info:
OS X 10.8.4
Apache 2.2.22
The problem:
I get this error in the console and Apache can't find my localhost, but does…

TobyAllen
- 311
- 1
- 2
- 6
13
votes
6 answers
Match / Deny access to all subdirectories using apache2 server configuration
How can one deny access to all subdirectories of a given directory?
(While allowing to manually modify the access rights for single items in the directory tree.)
I tried to do it with the directives. The server configuration…

coldfix
- 6,604
- 3
- 40
- 50
10
votes
2 answers
What is the recommended max value for Max Connections Per Child in Apache configuration?
I am traying to reduce memory usage by Apache on the server.
My actual Max Connections Per Child is 10k
According to the following recommendation
the Max Connections Per Child should be reduced to…

RafaSashi
- 16,483
- 8
- 84
- 94
9
votes
1 answer
How do I write h2o webserver mruby handlers for WordPress multisite?
This is what Apache needs. I like to know how I do this in h2o.
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond…

redanimalwar
- 1,229
- 1
- 12
- 32
9
votes
3 answers
How do I run Apache (httpd) and Tomcat together?
I recently got projects that runs on Struts and I am expecting more JSP coming ahead.
After googling the question, I was led to blogs of people who tried to do the same. Those blogs weren't exactly a step by step procedure of how they did it but…

lock
- 6,404
- 18
- 58
- 76
9
votes
5 answers
How can I turn on DynamicCompression feature of IIS programmatically?
I'm making an installer program for my web application. My web application uses CSS and JS heavily, so I want to enable both Static and Dynamic HttpCompression for IIS7/7.5.
It needs 2 steps:
I can modified the web.config, put …

Thach Lockevn
- 1,438
- 1
- 12
- 15
8
votes
3 answers
video not found or access denied
I have made a website in ASP.NET 3.5 With C#.In the default page we have a swf player.We have one video file.The file format is .mp4.
The Code is here:-
type="application/x-shockwave-flash"
id="player2"
name="player2"
src="images/player.swf"…

PrateekSaluja
- 14,680
- 16
- 54
- 74
7
votes
1 answer
How to check apache modules on PHP CGI
I have to do a php script that checks the servers configuration. I need to check apache version and the status of 11 modules like mod_actions, mod_alias (...).
Is there a solution to check the status of apache modules when the server mode is CGI or…

Émir C.
- 71
- 3
7
votes
2 answers
Tomcat 6 | What's the significance of antiResourceLocking & antiJARLocking?
I am working on a project where we'll be using Tomcat 6.0.20 for Development and production.
I came across some issues related to hot deployment which requires one to set Context.antiResourceLocking to false in server.xml. I had some questions on…

Govind N
- 153
- 2
- 7
7
votes
2 answers
Could not open connection to the host, on port 1433: Connect failed
Today I installed SQL Server. And I tried to connect from an application that SQL Server. But connection failed. I tried to telnet to following
telnet 127.0.0.1 1433
but I got following message :
Note : I tried to ping it is successful.
I need…

Yubaraj
- 3,800
- 7
- 39
- 57