Questions tagged [apache]

The Apache HTTP Server is an Open Source Web server, which originated from a series of patches to the NCSA HTTPd. Apache is the world's most popular Web server, which is run on 54.90% of all Web servers according to the Netcraft survey conducted July 2010.

The Apache HTTP Server is an Open Source Web server, which originated from a series of patches to the NCSA HTTPd. This is how the name was coined, as it was a patchy HTTPd. Since then, Apache has been entirely re-written and no longer includes the NCSA source code.

Apache is the world's most popular Web server, which is run on 54.90% of all Web servers according to the Netcraft survey conducted July 2010.

Apache is very well documented and most functionality is described in detail within this documentation.

1183 questions
14
votes
3 answers

What are some great resources for mastering Apache administration?

I've been working with Apache for a couple years now and am comfortable with basic administration and configuration. However, I'd really like to increase my skill set from basic administration to being a true Apache wizard. What are some must read…
Warren Pena
  • 241
  • 1
  • 5
7
votes
5 answers

Tracking down memory issues affecting a website

I've got a website (Wordpress based) that became unresponsive. I SSH'd into the server and saw that we were out of memory. Errors in my apache log files indicated the same... things failing to be allocated due to lack of memory). Restarting the…
gaoshan88
6
votes
1 answer

Use different document roots for subfolder of URL

I have a PHP application that uses an MVC framework, with Apache on Linux. Let us say it lives here http://example.com on the web and here /srv/www/example.com on my server. I want http://example.com/blog to use a WordPress install from here…
neilc
  • 183
  • 1
  • 1
  • 3
5
votes
1 answer

Apache utf-8 characters in filename

I can't figure it why I can't open files (photos as a start) that contain utf-8 characters in their file name. For example, I have the following photo: José-Antonio.jpg , the browser outputs it as Jos%C3%A9-Antonio.jpg but trying to access it, will…
w0rldart
  • 181
  • 1
  • 9
5
votes
2 answers

How does the web server choose between unicode and utf-8 for accented characters?

I have a web server with my ISP which replaces accented characters in URLs with their unicode values: for instance é (eacute) is translated to %e9 (dec 233). For testing locally I use EasyPHP which translates those characters by their utf-8…
jjjm1937
  • 51
  • 1
  • 2
5
votes
3 answers

What are the causes of a 416 Error?

One of my visitors from my website informed me that every so often (quite rarely actually), when trying to visit my website, he gets a 416 Error: Requested Range Not Satisfiable I've never heard of such an error, and don't see anything strange…
Virendar
  • 273
  • 1
  • 2
  • 5
5
votes
4 answers

Apache - Force https by default on custom port

I am hosting a control panel for web management on a second Apache instance that runs on port 2083. It has port 2082 for the HTTP version of the site because it needed something to run the HTTP version on but the port is closed. When the user…
Kaboom
  • 181
  • 1
  • 7
4
votes
2 answers

Can I configure Apache's HTTP Authentication (.htpasswd) to require the name/password of a local user account?

I'd like to restrict access to a certain directory in my webroot to all users that belong to a specific group. I know that I can create a .htpasswd file that specifies a user, or even several users, that should be accepted for HTTP Basic/Digest…
Charlie Schliesser
  • 475
  • 1
  • 5
  • 16
4
votes
1 answer

How to dynamically update SSLRequire?

We're using an apache 2.4 servers with client certificates to serve http-based services within our organization. Most importantly we call fossil cgi to serve repositories on such a server. The client certificates are used to assign access…
4
votes
1 answer

can apache both redirect and set CORS headers?

I encountered the following browser console message, using apache to redirect from http to https XMLHttpRequest cannot load http://xxx. Redirect from 'http://xxx' to 'https://xxx' has been blocked by CORS policy: No 'Access-Control-Allow-Origin'…
rogerdpack
  • 187
  • 3
  • 11
3
votes
3 answers

Force Browser to put .pdf or .jpg links in download queue instead of opening it directly

I have an apache server with access to a directory, eg /downloads/pdf/ How can I tell the sever when a user requests http://example.com/downloads/pdf/example.pdf not to open it directly, but downloading it?
user980018
  • 41
  • 2
3
votes
1 answer

Trying to unload unnecessary modules from apache but don't know which

I have apache 2.2 with whm/cpanel installed on my server. When I look at the loaded modules list, I see: core_module (static) authn_file_module (static) authn_default_module (static) authz_host_module (static) authz_groupfile_module…
Mike -- No longer here
  • 13,610
  • 4
  • 28
  • 60
3
votes
2 answers

Requests in form: http://www.site.com/one/two/three/ in Apache 2

how can I configure Apache server, to mantain requests such as: http://developers.facebook.com/docs/reference/fql/ (i mean the /one/two/three)? What's the name of this technique and how it is done? Thanks.
therealszaka
  • 209
  • 1
  • 7
3
votes
1 answer

403 ErrorDocument not working after changing to apache 2.4

I looked through a number of similar posts, but couldn't find the answer there: I am moving a website from a server running apache 2.2 to another server running apache 2.4 (CentOS 6 to CentOS 7). On the old server, I am specifying an error…
Ursula
  • 131
  • 5
2
votes
1 answer

What regex engine does mod_substitute use?

Any idea what regex engine mod_substitute uses? I'd like to do a little search and replace with it, and I need to escape some characters, so I wanted to see how that particular engine handles that. (I'm guessing it's just \ to escape, but I wanted…
leeand00
  • 1,101
  • 10
  • 18
1
2 3