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
14
votes
7 answers

VCRUNTIME140.dll missing

I have a problem when trying to install apache 2.4 on my windows 10. It always shows the error that VCRUNTIME140.dll is missing. I have checked other threads and found out that installing the 2015 Visual c++ Redistributables x64/x86 always solves…
Ken4scholars
  • 6,076
  • 2
  • 21
  • 38
14
votes
4 answers

414 URI too long. But not always

I have the following url to reset my…
Niek de Gooijer
  • 654
  • 1
  • 9
  • 18
14
votes
5 answers

How to use encrypted password in apache BasicDataSource?

At present i am keeping the password [ unencrypted ] in a property file. This password get placed as is in the configuration xml using ant. [ The configuration xml is for datasource, it is creating the object of dbcp.BasicDataSource ] Now, is it…
Rakesh Juyal
  • 35,919
  • 68
  • 173
  • 214
14
votes
2 answers

A tool to debug and test mod_rewrite (.htaccess) directives

Although being a decent web developer, I and most of my colleagues always struggle with basic tasks when using mod_rewrite. I read the manuals and understood most of it, however most skills I've learned in life are by doing. The trouble is, there's…
raveren
  • 17,799
  • 12
  • 70
  • 83
14
votes
5 answers

Apache redirect all to index.php except for existing files and folders

I have index.php that reads full path by $_SERVER[‘REQUEST_URI’] variable. My task is when user enter: www.domain/resource/777 redirect to index.php with path /resource/777 and parse $_SERVER[‘REQUEST_URI’] to do some logic. But I have also real…
Eazy
  • 3,212
  • 5
  • 24
  • 40
14
votes
3 answers

Laravel and Wordpress on same server/domain

I am trying to host a WordPress site inside a Laravel(5.1) project. I have the following structure (stripped down some) ├── app ├── config ├── public │   ├── index.php │   ├── wordpress -> ../wordpress │   └── .htaccess ├── resources ├── storage ├──…
Niek de Gooijer
  • 654
  • 1
  • 9
  • 18
14
votes
2 answers

Enable caching of css and js files in Apache

Using Apache 2.4 on Debian 8.2, I am trying to enable caching of all css and js files. Caching of images works fine; that is, the browser receives a 304 status, so it doesn't download again. But I cannot get caching of other files working. I use…
user4039871
14
votes
6 answers

How to set up communication between PHP and C++?

I have a question regarding the titled question. So, I'm attempting to create a program which passes data/requests for data between a program in C++ and a PHP site running off of an Apache web server. I've been researching Socket communications,…
mfisher91
  • 805
  • 1
  • 8
  • 23
14
votes
4 answers

Nothing will unset X-Frame-Options (Apache, PHP 5.3)

I'm trying to implement an embeddable widget, functioning similar to a Twitter embedded tweet. The simplest solution, though maybe not the best, appears to be an iframe or HTML5 embed - but both are being blocked by the X-Frame-Options header on…
Corey
  • 373
  • 1
  • 2
  • 9
14
votes
3 answers

apache httpd substitute wont work

I configured apache httpd to apply substitute. For my eyes it is exactly what the doc says. However it does simply nothing. What is wrong with it? SSLEngine on .... ProxyPass /cms/ http://domain2/ …
stefan bachert
  • 9,413
  • 4
  • 33
  • 40
14
votes
3 answers

Docker - Run Apache on host and container for different websites

I want to use Docker in order to be able to run an old application that requires PHP 5.3, while still having my other websites on my host server, running on the host Apache. So I have siteA.com, siteB.com, siteC.com running on the host, using the…
AntoineB
  • 4,535
  • 5
  • 28
  • 61
14
votes
6 answers

How does one use Apache in a Docker Container and write nothing to disk (all logs to STDIO / STDERR)?

I'm running Apache2 in a docker container and want to write nothing to the disk, writing logs to stdout and stderr. I've seen a few different ways to do this (Supervisord and stdout/stderr, Apache access log to stdout) but these seem like hacks. Is…
aronchick
  • 6,786
  • 9
  • 48
  • 75
14
votes
2 answers

How to enable Virtual Host on Xampp for Laravel?

I have XAMPP running on Windows 7 Pro. I am trying to setup a Virtual Host so that when I use "dev.app" as a domain I get directly to my public folder of laravel installation. Laravel is located at F:/xampp/htdocs/dev/public I opened the…
Junior
  • 11,602
  • 27
  • 106
  • 212
14
votes
2 answers

How to set up HTTPS for local testing purposes?

I need to see how a web application will work with HTTPS. But I can't really find much information around about it. I tried to set up my local Apache but I can't find a CA autorithy to sign my certificate... Hints? Suggestions?
gotch4
  • 13,093
  • 29
  • 107
  • 170
14
votes
3 answers

Laravel 5.1.1 LTS: Incomplete Chunked Encoding

I've seen lots of these reports, but none regarding the most recent laravel 5.1.1 (LTS). Have just started a new app, and I'm receiving the following error when requesting app.local/: GET http://app.local/ net::ERR_INCOMPLETE_CHUNKED_ENCODING It…
Mike Rockétt
  • 8,947
  • 4
  • 45
  • 81
1 2 3
99
100