Questions tagged [apache]

Use this tag (along with an appropriate programming-language tag) for programming questions relating to the Apache HTTP Server. Do not use this tag for questions about other Apache Foundation products. Note that server configuration questions are usually a better fit on https://serverfault.com

Apache web server can be quickly and easily installed for development tasks, especially those related to PHP, Perl, and MySQL, using some packages such as XAMPP.

Note that, by historical convention, the term "Apache" is used to refer to the Apache Server Project (httpd), with which the tag is associated. This point must be clarified because the Apache Server Project is just one of over 350 open-source projects and initiatives provided by the Apache Software Foundation (also sometimes referred to simply as "Apache".)

Use the tag only for programming questions relating to the Apache HTTP Server. Note that server configuration questions may be a better fit on Server Fault.

Latest stable version

Resources

Related tags

,

92396 questions
15
votes
3 answers

SOA suite comparison -Jboss, Apache, WSO2 or... something else?

Hello world of stackoverflow, nice to meet you all. My first question here is about a research I'm making these days: I must choose among open-source Software Oriented Architectures, and it seems to me the three complete platforms (they have all the…
OverTheBitStair
  • 185
  • 1
  • 2
  • 7
14
votes
3 answers

File php.ini configuration on Mac OS X

I am experiencing a strange problem with PHP configurations file php.ini on Mac OS X. I have created a phpinfo file. Calling it in the browser shows the PHP settings with - Configuration File (php.ini) Path: /etc Loaded Configuration File:…
Sarthak Gupta
  • 281
  • 2
  • 3
  • 8
14
votes
4 answers

Apache .htaccess vs httpd - does it really matter?

I know this question has been asked many times and I've researched it myself on Google as well but just can't come up with the answer I need. My hosting company is NOT letting me use the httpd config file, instead it wants me to use .htaccess. I am…
frio80
  • 1,293
  • 3
  • 14
  • 23
14
votes
6 answers

PHP missing mb_strpos function?

I get this error: PHP Fatal error: Call to undefined function mb_strpos() in /my/file.php Which is odd because mb_strpos() was introduced in PHP 4, and I'm running PHP 5.3.3 $ php -v PHP 5.3.3 (cli) (built: Feb 22 2012 19:38:14) Copyright (c)…
JKirchartz
  • 17,612
  • 7
  • 60
  • 88
14
votes
3 answers

Apache + Tomcat - Problems with sticky sessions and load balancing

I'm facing some issues with Apache mod_proxy_balancer regarding sticky sessions. We've developped a restful webservice in Java, running on Tomcat. The actual backend is using Acegi security, with Auth Basic authentication. The architecture is…
benjamin.d
  • 2,801
  • 3
  • 23
  • 35
14
votes
2 answers

htaccess rewrite rules with mod_GeoIP

I'm having some issues with mod_geoip for an ecommerce site that has 3 different stores. We have our main store at root/store, but also have have stores at root/ukstore and root/austore. The main root/store contains a /skin, /media, and /js…
coloradohiker
  • 221
  • 3
  • 11
14
votes
10 answers

Access logging in PHP

I want to log access to any files in the /files folder, so I can process it with PHP to generate some statistics. I don't want to write a custom PHP handler called via RewriteRule because I don't want to have to deal with status codes, MIME-types…
Halcyon
  • 57,230
  • 10
  • 89
  • 128
14
votes
8 answers

HTML5 Server-Sent Events prototyping - ambiguous error and repeated polling?

I'm trying to get to grips with Server-Side Events as they fit my requirements perfectly and seem like they should be simple to implement, however I can't get past a vague error and what looks like the connection repeatedly being closed and…
tomfumb
  • 3,669
  • 3
  • 34
  • 50
14
votes
5 answers

Find out the error_log's path

I have this domain.com pointed to /home/username/public_html/domain.com. I added these lines to the .htaccess file: ErrorDocument 500 /oohps.php ErrorDocument 404 /where.php So I can show some styled template. The problem is that when trying to…
Toni Michel Caubet
  • 19,333
  • 56
  • 202
  • 378
14
votes
7 answers

RewriteRule in Apache with Symfony2 not removing app.php

I have the following .htaccess file in my web directory for my Symfony2 installation: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*) app.php [QSA,L] However, when I try…
celestialorb
  • 1,901
  • 7
  • 29
  • 50
14
votes
2 answers

apache rewrite rules issue for specific pages

I have problem with my .htaccess redirections. When I type: http://www.domain.com/contact it goes to the index.php and not the contact.php here's my .htaccess: Redirect 301 /clients http://clients.domain.com RewriteEngine On SetEnvIf Host ^www\.…
aki
  • 1,241
  • 2
  • 13
  • 43
14
votes
2 answers

.NET and Hadoop - What should I know / learn and what is available?

Information My question is regarding BigData in .NET. BigData is used to store and query huge amounts of data (Facebook, Google, Twitter, ...). Examples of BigData are MapReduce, Hadoop, Dryad, etc. Microsoft dropped their Dryad (DryadLinq)…
NicoJuicy
  • 3,435
  • 4
  • 40
  • 66
14
votes
1 answer

Apache + mod_wsgi interaction

Before posting this, I have read quite a few resources online, including the mod_wsgi wiki, but I am confused about how exactly Apache processes/threads interact with mod_wsgi. This is my current understanding: Apache can be configured to run such…
jeffreyveon
  • 13,400
  • 18
  • 79
  • 129
14
votes
5 answers

How to remove part of URl with .htaccess?

Currently, I have 20+ URLs on my site in this format http://www.example.net/content/index/mission I want to remove /content/index from all URLs, so they should look something like this http://www.example.net/mission In other words, I would always…
Salman Aslam
  • 761
  • 1
  • 11
  • 20
14
votes
1 answer

How can I automatically minify my webpages?

All of my .html and .php webpages should be minified. That means I would like to get all HTML-comments and more than one whitespace-character stripped. Does an Apache-module exist for minification? (Or perhaps another method to automatically add a…
Martin Thoma
  • 124,992
  • 159
  • 614
  • 958