Apache HTTP Server - Open-source web server application available for Unix, FreeBSD, Linux, Solaris, Novell NetWare, OS X, Windows, OS/2, TPF, OpenVMS, and eComStation

learn more… | top users | synonyms

37
votes
6answers
22k views

Apache Bench test error on OS X: “apr_socket_recv: Connection reset by peer (54)”

I updated my MacBook Pro 13" to Lion a few weeks ago. I just found out that Apache Bench (apache2.2.19) is not working. It always shows this error, no matter what: apr_socket_recv: Connection ...
12
votes
3answers
4k views

How do I set the Apache2 DocumentRoot to a “vboxsf” VirtualBox Shared Folder? (permissions issue?)

I setup Ubuntu 11.04 desktop 32 bit on a VirtualBox VM with a shared folder to the host. The shared folder is /media/sf_Dev/ I want to change Apache2 to point the DocumentRoot to that folder, so I ...
12
votes
1answer
4k views

Apache 2.4 on Windows responds slowly, hangs when serving some dynamic pages

(I know the answer to this question. Posting this just to share the answer with the community) My local (Windows 7) instance of Apache 2.4 experiences delays or hang-ups when serving some URLs, ...
10
votes
2answers
17k views

How to remove Server: header from the HTTP response with Apache?

I would like to remove the line: Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.6 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g from my server's HTTP responses, but I couldn't find anything ...
10
votes
3answers
25k views

Why is Mac OS X Lion Apache DocumentRoot /usr/htdocs?

I am baffled. I don't see where /usr/htdocs is specified as the DocumentRoot for apache2 on Mac OS X Lion. It is the default DocumentRoot on a new OSX Lion install. Can someone point me to where ...
8
votes
2answers
3k views

Bare minimum Apache modules needed for static website and no authN

I've just installed the httpd package in RHEL 6.1 (which provides Apache 2.2.15). The default httpd.conf contains no fewer than 50 instances of the LoadModule directive. However, all I want to do is ...
6
votes
3answers
145 views

Set up a wireless server, allowing access to files on computer, without offering internet

I would like to pull into a truck stop and offer a folder of free documentaries, broadcasting from my bus. I have a bunch of videos in a web folder and can access it locally and would like others to ...
5
votes
2answers
140 views

Blacklist IPs after certain paths requested with Apache2

I have noticed a lot of hackers trying to penetrate my system by making requests for certain paths on my webserver that don't resolve to anything. Examples: /config/pwtoken_get, ...
5
votes
1answer
336 views

How to have external requests from a LAMP server bypass internet censorship?

I had another question at the askUbuntu site, and migrated this version from a Server Fault question, as I think that Super User is the best location for asking it. Background: I have a local ...
4
votes
1answer
222 views

What's the difference between /private/etc/apache2 and /etc/apache2?

Both of these directories are in 10.7 OSX, but I have no idea which httpd.conf I should be editing.
4
votes
1answer
8k views

Starting built in Apache server in Mac OS X 10.9 (Mavericks)

I'd like to start my apache server on my Mac running OS X (10.9) Mavericks. Here is what I did: Goto terminal sudo apachectl start The server started without problem. But I got the following problem ...
4
votes
1answer
1k views

Is gitosis or gitolite necessary to push changes via HTTP/HTTPS to remote git repository?

I have an apache2 server running a virtual host with HTTPS and basic authentication enabled. The virtual host serves GIT repositories via gitweb script. Authenticated users pull repositories from ...
4
votes
1answer
358 views

Linux server broken packages

So, I'm trying to install the PHP5 cURL package on a Ubuntu Lucid 10.04.3 server. My concern is that there are broken packages on this server and if I install this package with the broken packages ...
4
votes
1answer
1k views

OOM-Killer called every now and then

I have a dedicated server where I've installed apache2, as well as rails-passenger. Although i have 2GBs of RAM and most times about 1,5GB is free, there are some random times where I loose ssh and ...
3
votes
4answers
400 views

Apache2 on Windows 7 needs public access

I have searched on Google and here as well, I'm trying to put my apache2 server running on my Windows 7 machine online for public access. I have a bell 2wire modem/router and am behind a NAT, I have ...
3
votes
4answers
9k views

How to access guest server from the web

Ok, here's what I want to do: I want to connect to a webserver running on a virtual machine. I have an Apache webserver running on my host machine: Windows Vista, which can be accessed from the web. ...
3
votes
3answers
238 views

Easiest way to backup VPS

My situation: I have VPS(ubuntu) with 2 websites on it. As i am new to VPS'ses (recently i've moved from Shared Hosting) i spent almost 2 weeks on learning how to configure my VPS to run all webs in ...
3
votes
3answers
2k views

PHP code is returned instead of executed

I have L-Ubuntu 11.04. I've installed Apache2 and I'm trying to simulate a server on my local file system by navigating to localhost in the browser. The problem is that I can't seem to get php to ...
3
votes
1answer
7k views

Where is the Apache configuration located on Linux Mint?

Using the command gedit /etc/apache2/httpd.conf produces a text file containing just one line. I need to change the DocumentRoot of my Apache configuration so as to use with the CakePHP framework.
3
votes
1answer
1k views

How do I re-install Apache on Mac OSX?

I posted this question here but was told I might get better results on superuser. So here goes: I mistakingly deleted the /etc/apache2 folder and screwed up apache. I want to re-install the stock ...
3
votes
1answer
184 views

Whate does “nighty build” mean?

I was implementing to Apache-James server then I found James nightly builds. What is this James nightly builds and which is better, James or James nightly build?
3
votes
1answer
2k views

Apache2 Virtual Hosts not recognizing properly

I have two virtual hosts, but apache seems to be defaulting to one of them. Here is host #1: <VirtualHost *> ServerName goiclub.com ServerAlias www.goiclub.com *.goiclub.com ...
3
votes
1answer
130 views

Ubuntu localhost: Not found

I have updated my Ubuntu 13.10 to 14.04, so I have a newer version now. But I spotted that after the update I experience a 404 error while trying to access my http://localhost/ After a complete ...
3
votes
3answers
3k views

See active connection on apache web server

I need a command or something to see live web viewer in Apache2 web server, in other word i want see the ip address of active connection and i found some commands like : netstat -plan|grep :80|awk ...
3
votes
1answer
24 views

Changing content depending on refferal

On my personal website, I occasionally write some development related tutorials. It has brought to my attention that another website literary copies my tutorials, it even leaves the links to source ...
3
votes
1answer
386 views

Hack/HHVM with Apache 2.4 results in HTTP 503 and unlimited loading

I've tried to set up an Apache 2.4 on Debian Wheezy to make calls to Hack/HHVM using mod_proxy / mod_proxy_fcgi according to this article. The installation of HHVM was through the APT package ...
3
votes
1answer
71 views

Assistance setting up an efficient vagrant system

first time on superuser; I'm a novice trying to move from humble local wamp development to a more professional and productive vagrant/linux environment At the moment I have a basic vagrant file which ...
3
votes
1answer
138 views

Making TT-RSS cache images

Due to Google Reader's untimely demise, I've installed tiny-tiny RSS on my Linux machine under Apache 2. It's mostly a good enough replacement and I can at least go back to reading RSS feeds in my web ...
2
votes
2answers
5k views

What's the difference between “mod_fastcgi” and “mod_fcgid”?

I'm writing a fast CGI application to use with my Apache 2.2 (prefork) on Ubuntu Linux. I need to choose between mod_fastcgi and mod_fcgid, but I can't find any resource that documents the difference ...
2
votes
3answers
5k views

Connect to CentOS httpd server running on VMware Player?

I have a virtual LAMP machine set up with 32-bit CentOS 5.5 running on VMWare Player. It's being hosted on a Win 7 64-bit machine running a bridged network connection. Everything seems OK on the guest ...
2
votes
2answers
233 views

how do I install three linux based web servers in one machine?

I want to install three Linux web servers on my laptop, but I want to ask if there are guides on how to do this? I heard that you will change ports, but I don't know how. Can you provide me? The ...
2
votes
2answers
10k views

How to overcome SVN — could not open the requested SVN file system

I followed all the steps in https://help.ubuntu.com/8.04/serverguide/C/subversion.html but when I try to do: svn co https://localhost/svn I get: svn: Repository moved permanently to ...
2
votes
2answers
238 views

always true rewritecond

My university provides a public_html file in each student's Linux directory so tat each student can have a webpage. I want to put all my PHP scripts into that file and place the index in a ...
2
votes
1answer
700 views

Default handling for unmatched domains/subdomains in Apache

I have an Apache2 configuration with multiple VirtualHosts. My DNS is set to accept *.<domain>.<tld> on multiple domains. Everything is working correctly but if I go to ...
2
votes
2answers
5k views

Apache2 2.2.14 setup with multiple virtual hosts for local testing

I have setup an Apache 2 virtual host by this method. under /etc/apache2/sites-available I've create a dummy_site_1.conf dummy_site_1.conf <VirtualHost local.dummy_site_1:80> ServerName ...
2
votes
1answer
2k views

chrooted sftp user with write permissions to /var/www

I am getting confused about this setup that I am trying to deploy. I hope someone of you folks can lend me a hand: much much appreciated. Background info Server is Debian 6.0, ext3, with ...
2
votes
1answer
605 views

Upgrade PHP to 5.4.14 on OS X 10.7.5 Lion

I am trying to upgrade PHP on my Mac. I have downloaded PHP 5.4.14 and have no problems with the configuration command: ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ ...
2
votes
1answer
756 views

Apache2 Server configuration with subdomain

I have a simple httpd.conf, which is working <VirtualHost *> AddDefaultCharset UTF-8 DocumentRoot "/opt/rt4/share/html" <Location /> Order allow,deny Allow ...
2
votes
3answers
1k views

Virtual hosts on Mac OS X Lion not obeying DocumentRoot

I uncommented the following line in httpd.conf file. Include /private/etc/apache2/extra/httpd-vhosts.conf And then added the following code in httpd-vhosts.conf <VirtualHost *:80>  ...
2
votes
1answer
3k views

How do I setup Trac login?

I've been trying to follow the Trac installation guide, but I've hit a bit of a snag. I can view the default Trac setup just fine, but when I go and try to log in I get this on the page: Trac ...
2
votes
1answer
99 views

Does apache server need a router to connect?

I am trying to set up an apache server on Ubuntu 11.04. I am plugged directly into the wall at my apt complex and I do not have a router. I was able to connect it through my roommates router and ...
2
votes
2answers
369 views

Deploying django with Nginx

I would like to know has anyone been successful to run django on nginx? I have several django apps running on Apache2 on suse 11.4 and i would like to migrate them to nginx. Are there any modules that ...
2
votes
3answers
5k views

Recent Apache2 update broke virtual host and New Error on restart or starting

I am on Ubuntu 12.04 box, recently installed one apache2 update, and since then all the virtual hosts are not pointing to the correct directories, it's now pointing to the default localhost. Also I am ...
2
votes
1answer
1k views

streaming flv using ffserver

I'm running Debian for my home-server, which is a machine that lives under the telly in the living room and stores the family's photo's, videos, music, etc. I'm using all the usual services to serve ...
2
votes
2answers
477 views

Fear of apt-get upgrade: Will it break my website?

Ok, I have a website that I manage on an Ubuntu box, but I haven't updated apache2 in a while. I would like to get up to date with the security patches etc. The problem is that I don't have a Test ...
2
votes
6answers
6k views

How to set-up my webserver properly on my local network?

I have an intranet (inside the network) website, but it is somewhat of a pain. First of all, this is a home network, if that helps anyone. I have a computer running Apache web server with PHP, and I ...
2
votes
1answer
111 views

Permissions for 'Sites' folder (apache) are wrong

My head is a bit mashed over this. I have moved from MAMP to using Mac's own AMP stack, and have got it working, but just CANNOT get the directory permissions right. My localhost points to ~/Sites ...
2
votes
1answer
85 views

Detect when Apache graceful reload is complete

It appears Apache graceful reload (apachectl graceful) is an asynchronous operation. If I invoke it from a script, the script will continue while Apache does its thing, which may take an undetermined ...
2
votes
0answers
34 views

Configuring Apache2 /etc/mime.types to display .pgm images

I'm trying to display a .pgm image on my Apache2 server, however I can't seem to get it working. I've edited my /etc/mime.types file to include the line image/x-portable-graymap pgm, but it still ...
2
votes
2answers
44 views

Having difficulties getting my vhosts to work properly

I have my URL (example.com:8010) pointing to my server, which works and goes to the /var/www directory properly. I created another vhost file to go to the test directory but when I type the URL for ...