Apache is the widely known term for the Apache HTTP server, a very commonly used web server software maintained by the Apache Software Foundation.

learn more… | top users | synonyms (1)

0
votes
2answers
804 views

Setting environmental variables for apache user www-data

I want to set the environmental variable GNUPGHOME=/path/to/home for the apache user www-data. I tried setting GNUPGHOME inside /etc/profile with if [ "`id -u`" -eq 33 ]; then export ...
1
vote
2answers
952 views

Apache won't follow symlinks even with permissions set

I can't get apache to follow symlinks outside the web root directory, even though permissions look OK and FollowSymLinks is on. The details are below. I have two world-readable text files: /tmp/hello ...
0
votes
3answers
449 views

Trovebox (OpenPhoto) setup hangs/fails at final step 3

I've been following the install instructions found here about how to install and configure Trovebox on a Ubuntu server running Apache: Ubuntu 14.04 LTS Apache: 2.4.7 MySQL: 5.5.37 PHP: 5.5.9 ...
0
votes
1answer
2k views

How to prevent httpd on DSM 5.0/Synology DS214 to remove errornous config files?

I'm trying to set up some Rewrite* directives for a httpd 2.2.27 on DSM 5.0 on a Synology DS214 by adding dokuwiki.conf to /etc/httpd/sites-enabled-user which is included in ...
9
votes
2answers
1k views

What is the apache2ctl “-k” flag?

I've been searching for an hour and have found a hundred examples that use it, but no explanation of what it does. I did check man apache2ctl; it doesn't explain the k flag either (elthough it does ...
1
vote
1answer
87 views

Multiple directives in apache2 / httpd via command line?

I know you can specify one directive at the command line using this syntax: httpd -c "DocumentRoot ." But what if I also want to specify other options? Is this possible? I know there are static ...
2
votes
0answers
1k views

What use is apache's `Require all denied` directive?

The docs state that this works similar to the old Deny from all. While I see how Require all granted works fine, without a new Order directive Require all denied is basically a placebo: Require all ...
0
votes
1answer
113 views

Creating virtual host with Apache2

I'm trying to get Apache2 to host my Django project located in /var/www/tbg/. I get an Internal Server Error (500). I have already installed libapache2-mod-wsgi and My files are as follows: ...
0
votes
1answer
640 views

error starting Oracle HTTP Server

I instaleded Oracle HTTP Server on Windows Server 2003 and It's work. But when I restart computer, I get error. service.log: Request failure: 0 of 1 processes started. HTTP/1.1 204 No Content ...
1
vote
2answers
414 views

www-data group write after sftp?

I'd like to have my apache user be able to read and write files, my sftp user(s) to be able to upload files that are then available (rwX) to both other sftp users and apache, and everyone else read is ...
1
vote
0answers
285 views

Multi-site Apache Load Balancer different domains

I am working on setting up an apache load balancer with 2 members. These three servers are windows server 2012 using apache 2.4.9. I am working to make one load balancing cluster serve up multiple ...
2
votes
2answers
2k views

phpMyAdmin cannot login - keeps asking for credentials

I have phpmyadmin on my Arch linux box, it is running, so is apache with php and mysql. When I go to http://localhost/phpmyadmin/, it shows the usual login prompt. However, no matter what I enter, ...
0
votes
2answers
67 views

Apache add subdomain

I need to add a subdomain to this server, i added this NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /var/www/html ServerName images.login.acorn.lt </VirtualHost> ...
1
vote
2answers
1k views

The stylesheet css/style.css was not loaded because its MIME type, “text/html”, is not “text/css”

I tried the solution proposed in this thread: Apache2 won't load css files on Debian 6 (Squeeze) I added .htaccess files in every directory, containing AddType text/css .css AddType ...
1
vote
0answers
761 views

Setting up rutorrent on 10.9 Mavericks

I'm getting the following error when loading rutorrent that's hosted on my 2010 Intel Core Duo 2 Mac Mini: [23.06.2014 11:31:20] Bad response from server: (404 [error,list]) <!DOCTYPE HTML PUBLIC ...
0
votes
0answers
265 views

mod_rewrite folder alias and hide original folder

I have a script in /script folder and I need to hide it from mydomain.com/script and make accessible from mydomain.com/secret . All must work with mod_rewrite (I can't rename the folder script to ...
0
votes
0answers
69 views

Apache will not show index pages

I have just set up my brand new raspberry pi with Rasbian-Wheezy and a clean install of apache and php. I got the "it works" page, and then put my website in place and everything was working, but at ...
2
votes
1answer
2k views

After XAMPP can't access to localhost (403)

I've just got a MacBook Pro a few months ago. I've installed XAMPP on it. After I googled a bit, I found OSX has its own apache service built in, so I removed XAMPP. I've tried to configure my ...
0
votes
4answers
120 views

Website not showing errors, just 500 page

I have moved some code from development to production and it was not working so I am trying to debug but for the life of me I cannot get access to the errors to find out what is wrong. I have tried ...
2
votes
0answers
144 views

PHPMyAdmin like interface for Apache Solr?

I would like to view the contents in my Apache Solr installation like phpmyadmin shows sql tables. Are you aware of any? Mongodb has rockmongo, hbase has https://github.com/hivefans/phphbaseadmin for ...
0
votes
1answer
339 views

set virtual host as default in apache 2.4

The deafult Apache 2.4 installation has the default virtual host 000-default.conf in /etc/apache2/sites-available. I've created configuration file for my virtual host example.com. How can I now make ...
0
votes
1answer
718 views

Why is PHP not running

I have ubuntu 14.04 desktop, I have apache2 php5 and all those packages installed. Yet PHP scripts won't run.. My site config: <VirtualHost *:80> ServerAdmin seven@localhost DocumentRoot ...
0
votes
4answers
2k views

Apache 2.4 vhost not working

We have a new Centos server installed with Apache 2.4.9. I'm trying to get the vhost working. DNS resolves to the right machine, and I can see the default Apache page, so it's not a firewall issue and ...
0
votes
1answer
2k views

Change xampp apache htdocs directory to access localhost from ubuntu and windows

I'm using ubuntu and windows 7 dualboot,and have xampp installed on both I want to have access to one localhost directory whether I'm using windows or ubuntu. both systems are installed on the same ...
1
vote
0answers
58 views

Apache and MySql datbase memory consumption issue with Django

I'm writing a relatively simple web-application as a learning project to learn Django, Apache, Mysql etc. in practice. It consists of a web flash/html5 client which makes two API-calls to Django ...
2
votes
2answers
3k views

Apache as Proxy replace the html code/tags/text

I configured my Apache server as a proxy server. I added some filters to my proxy.conf file to change the text (HTML source code) of the websites. Example code: ExtFilterDefine foodo mode=output ...
1
vote
2answers
3k views

A service specific error occured: 1 on trying to start Apache 2.0 server on Windows

I installed Apache on Windows 7 (localhost) and it worked fine. Then I went to download some other stuff and later noticed that the Apache server stopped. I went to command prompt (as administrator) ...
2
votes
1answer
129 views

Apache httpd simple method for returning remote address

I have multiple remote systems that need to determine their public IPs, and I would like to use an internet-facing server running httpd 2.2 to return their remote addresses to them. While this would ...
0
votes
2answers
442 views

Mounted HDD not having enough permissions from Apache/PHP

Piwigo gallery, on apache and php. The root system is a RAID 128GB. /var/www/html is on the root file system. Mounted the 320GB hdd to /var/www/html/320 using defaults, it's an ext4 fs. Put a ...
0
votes
0answers
3k views

Apache using 100% CPU, once again

Recently, apache2 started using 100% of CPU power: top gives me From other, similar threads, I took the tip to use mod_status. Aside from HUGE amounts of NULL requests, it gives: CPU Usage: u2.16 ...
0
votes
1answer
599 views

Slow performance with WAMP localhost access from other devices

I setup a localhost WAMP server and other device can access my localhost site on my win8 laptop with computer name instead of IP (because the wireless router is configured with DHCP and the laptop ...
-1
votes
1answer
35 views

How to change ip address into a name customized

I can access my local WAMP with 192.168.1. However, I wish to make it prettier. Can I somehow make Apache recognize 192.168.1 as text similiar to a website (i.e. mysite.com or just mysite)? How can I ...
4
votes
0answers
1k views

Apache2 + Php + Pthreads HowTos

I'm running Ubuntu 14.04 LTS 64 bit. What I would really love to do is sudo apt-get install libapache2-mod-php5 but compile PHP with --enable-maintainer-zts so I could later install pthreads with pecl ...
0
votes
1answer
766 views

Trying to make my localhost wordpress installation accessible from the internet using Ngrok. Error 403

I have a wordpress installation of a website I'm developing on my mac (OSX 10.6). I can access it and make edits just fine through localhost/username/Sites/websitefolder/. However, I need to make it ...
0
votes
1answer
1k views

Apache proxy: Why is one vhost returning Forbidden while the other one works?

I have a Java application that needs to talk to another intranet website using HTTPS in both directions. After fighting with Java's SSL implementations for some time, I gave up on that, and have now ...
-1
votes
1answer
581 views

Apache2 - Action 'start' failed. “fork: Cannot allocate memory”

I'm unable to start apache2 due to memory issue. service apache2 start Action 'start' failed. The Apache error log may have more information. failed! tail -n 100 /var/log/apache2/error.log ...
1
vote
1answer
146 views

Can't enable apache mod on emerge

I want to add mod_proxy and mod_proxy_http to Apache server on my Gentoo, but apparently some file with high priority on the system is disabling the mods and preventing me to install. I am currently ...
0
votes
0answers
1k views

xampp MySQL app not running (win8)

I am using xampp for few month. But facing and error for 2 days and MySQL app isn't running. I reinstalled xampp and it was working fine, but when I restarted, it stopped working again. Here are error ...
1
vote
1answer
320 views

Setting up email for domain on a VPS

I have my site set up and functioning on a vps. The domain is on godaddy. The nameservers point at godaddy then i have set the a record to point at the IP of the VPS and its working fine. I now need ...
0
votes
0answers
452 views

How do I set up YouTrack on our dev server so that we can all access it?

I have installed JetBrains YouTrack on our dev server, to listen on port 8585. On that server, the URL http://localhost:8585 brings up YouTrack nicely. Yet, if I work on my own desktop, and enter the ...
5
votes
2answers
5k views

Why would you ever set MaxKeepAliveRequests to anything but unlimited?

Apache's KeepAliveTimeout exists to close a keep-alive connection if a new request is not issued within a given period of time. Provided the user does not close his browser/tab, this timeout (usually ...
0
votes
1answer
217 views

Inbuilt apache on OSX Mavericks | file location

Once I have started the server via Terminal, where is the default location for my index.html file to be saved to? Or is there no default, and i have to explicitly call out where I want to put it? and ...
17
votes
2answers
4k views

Why does the percent sign in a URL cause an HTTP 400 Bad Request error?

I stumbled upon this by accident when mistyping the URL for a web page in my web browser. Why does visiting http://example.com/% cause an HTTP 400 Bad Request error to be thrown? Is the server ...
-1
votes
2answers
323 views

Apache2 not starting, guess bad config file

this is the problem starting apache2: apache2 -k restart [Wed May 28 11:53:07 2014] [warn] NameVirtualHost *:80 has no VirtualHosts httpd not running, trying to start (98)Address already in use: ...
0
votes
1answer
332 views

How to install apache ant

I have download apache ant zip file. and intall into -> C:// Same location have Java. I have set environment variable like KEy Value ANT_HOME C:\apache-ant-1.9.4 JAVA_HOME ...
1
vote
0answers
138 views

Why is connection hanging on 80 or 443?

So I'm using Chef and Vagrant to provision a LAMP stack on a box which I have done before to great success, when along comes this problem. Details as follows: So netstat says we are good tcp ...
1
vote
1answer
146 views

How can i stop people from viewing my website by entering my public IP address in the browser

Everyone can reach my website by putting my public IP address in the web browser. How can I stop this? I am using Ubuntu 14.04 server and Apache 2.4
2
votes
1answer
405 views

Re-read httpd.conf without downtime

Is there a way to get Apache to re-read the httpd.conf without downtime? I am running a web service that a number of users need to stay connected to, however I have recently made some changes to ...
0
votes
0answers
647 views

Error restarting Apache on Windows machine via command line

I am having problems executing a command line to restart Apache on Windows. The restart command I am executing is: httpd.exe -k restart Which I believe to be correct, but I get this back: ...
0
votes
2answers
122 views

Cache a single PHP file with parameters

So I build a PHP script that receive some data and provides it like an API. The data doesn't changes much, but the script runs every time it's requested. Is there a way to tell Apache to cache the ...