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)

132
votes
7answers
137k views

How to check which apache modules are enabled/installed?

which is the most elegant way to check which apache modules are enabled?
82
votes
6answers
218k views

How can I give write-access of a folder to all users in linux?

I installed apache2 on Ubuntu just now, and noticed that the /var/www folder is protected. I can just sudo everything but I would rather just give it write access. How can I do this? I tried sudo ...
61
votes
6answers
66k views

How do I start apache in OSX Mountain Lion / Mavericks?

OSX Mountain Lion removed the GUI for web sharing, but apache is still installed. How do I start and stop the service? How do I get the service to automatically launch on startup?
44
votes
4answers
128k views

How do I get Apache to follow symlinks?

In my apache www folder (/var/www on ubuntu 10.10) I have: mydir -> /home/user/mydir (that I created with ln -s) Now, if I want to see a listing of the files in mydir from the web, I have to ...
40
votes
6answers
29k 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 ...
31
votes
6answers
13k views

What is Apache Synapse?

My website keeps getting hit by odd requests with the following user-agent string: Mozilla/4.0 (compatible; Synapse) Using our friendly tool Google I was able to determine this is the hallmark ...
26
votes
5answers
26k views

How do I stop services from starting on boot on Ubuntu?

I have lots of servers installed (Apache, MySQL, etc.), but I don't want them all to start at boot time (they drain power, and I'm on batteries most of the time). How do I configure this?
22
votes
1answer
24k views

How to easily create a SSL certificate and configure it in Apache2 in Mac OS X?

I'd like to use my Mac OS X with https for local development tests. How can I easily make Apache2 respond to ssl, just for test proposes - I don't want a real certificate, just a fake to make local ...
18
votes
8answers
65k views

403 Forbidden Error on Mac OS X Localhost

I set up Web Sharing in System Preferences on Mac OS X 10.6 and clicked the link it gave me there. Unfortuantely, Apache gave me this 403 error: Forbidden You don't have permission to access ...
17
votes
2answers
2k 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 ...
16
votes
1answer
7k 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, ...
15
votes
7answers
46k views

Apache Server on Windows 7 opening up ports?

I have installed Apache 2.2.14 on Windows 7 and can view my web pages using both http://localhost and http://127.0.0.1 but when I try to access the server from another computer on the same router, it ...
14
votes
3answers
5k 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 ...
13
votes
2answers
2k views

What does it mean when there are many POST requests to /wp-login.php in Apache logs?

The messages are directed toward the WordPress site on my server. These are coming from the access_log, and I don't know if this should worry me or not. There are well over a hundred lines of the ...
12
votes
3answers
32k 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 ...
10
votes
2answers
21k 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
1answer
33k views

How to create subdomains on a name-based virtualhost?

I have name-based hosting, lets call it my.address.com. My friend has the 'plain' address address.com and gave me a virtual machine that I can access via SSH. He also made some magic with ports and ...
10
votes
5answers
15k views

How to allow acces to a symbolic link in my ~/Sites/ for Apache under Mac OS X Lion 10.7.2

I need allow access to a sym-linked directory within ~/Sites from my Apache. I Symlinked the directories like this ln -s ~/path/to/the/source/directory/ ~/Sites/source-link-here Now whenever I fire ...
9
votes
2answers
5k 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 ...
8
votes
2answers
20k views

How to download list of files from a file server?

How would I download a list of files from a file server like this one http://www.apache.org/dist/httpd/binaries/ ? I suppose I could use wget but then it tries to get all the links and the html file ...
8
votes
1answer
8k views

Can I “reload” Apache2 configuration file without issues?

Is sudo /etc/init.d/apache2 reload interrupting the operations on the webservers hosted by apache ?
8
votes
7answers
14k views

WWAHost.exe using same port as Apache

I have installed XAMPP 1.8.1. on my Windows 8 64bit machine. I'm now facing a problem with ports. This is what I got from XAMPP Control Panel: 11:52:43 AM [Apache] Problem detected! 11:52:43 ...
8
votes
1answer
8k views

pcfg_openfile: unable to check htaccess file, ensure it is readable

After moving a website folder on my local development machine to another drive, then moving it back, I got a 403 error. Most of this problem had probably to do with rights that got messed up. After ...
8
votes
1answer
1k views

How do I make Skype not use port 80?

I need this port for apache, how do I forbidden Skype from trying to use this port any more?
8
votes
5answers
22k views

Get Windows localhost (port 80) to forward to port 8080 for Apache service

Recent Discovery With IIS set back to port 80, when I put in http://localhost/ on the WHS computer, it gives me the "There is a problem with this website's security certificate" warning page. If I ...
7
votes
2answers
13k views

Can't cd into my own directory?

On an EC2 instance I have changed Apache's log location to a different directory than the default. This is so that I can hold the logs on a (non-boot, only data) EBS. However, I can't cd into the ...
7
votes
4answers
20k views

Running Apache as a different user

When I run the ps -efH command to list out all the process, I can see Apache running as root and seems to have sub-processes running as www-data. Here's the excerpt: root 30117 1 0 09:10 ? ...
7
votes
3answers
1k views

How do I administer /var/www?

I'm new to Linux and I'm trying to setup a small testing server inside of a VM running Ubuntu Server. I've found the /var/www folder and it should be the one where my Apache documents are stored, in ...
7
votes
1answer
8k views

ubuntu - install subversion from source - missing APR

Because I need a bug fix which is not available in Ubuntu's repository version of subversion, I am installing it from source. On running ./configure, I get an error: configure: WARNING: APR not ...
7
votes
3answers
201 views

How to 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 ...
7
votes
4answers
1k views

Good Free Ubuntu Server VMWare Image Needed

Can anyone recommend a good, free Ubuntu Server VMWare Image (or Virtual Appliance, as they call them)? I have looked on the VMWare VAM and there are literally hundreds to choose from. I am looking ...
6
votes
5answers
33k views

How can I determine if Apache is installed on a system?

I have Linux Mint on my computer but I don't know how to find out whether Apache2 is on it or where it is actually installed. I run my web browser (PHP installed) with http://localhost as a URL and it ...
6
votes
1answer
12k 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 ...
6
votes
2answers
664 views

Why run apache under it's own user name?

By default apache runs under user nobody. Is there a reason I would want to change that? Does it make things more secure?
6
votes
2answers
4k views

How do I create a virtual host that works with both http and https?

This is how I have set up a virtual host: <VirtualHost mysite> <Directory "/Users/myusername/sitefolder"> Options +FollowSymlinks AllowOverride All Order Allow,Deny ...
6
votes
1answer
4k views

How is Apache mapping files without extensions?

My local dev setup is mapping things like http://mydomain.dev/testhtmlpage to testhtmlpage.html and http://mydomain.dev/testphppage to testphppage.php. The browser stays on the orginally enter URL. ...
6
votes
5answers
487 views

ports and what they do

I am curious as to what a port number does. Are there specific port numbers for specific things? I know there is port 80 and I heard of 8000 in passing. I don't know why they are called that and ...
6
votes
1answer
5k views

Installing PHP APC on Windows/Apache

i need help installing and configuring PHP APC i have downloaded from http://downloads.php.net/pierre/ in my PHP info, i see Compiler MSVC9 (Visual C++ 2008) Architecture x86 so i downloaded ...
6
votes
4answers
724 views

Flash drive friendly (portable) XAMPP alternative?

I'm trying to setup a portable MediaWiki wiki on a flash drive using XAMPP portable as a server. http://lifehacker.com/354005/run-your-personal-wikipedia-from-a-usb-stick When I try to start apache ...
5
votes
5answers
1k views

Want to use apache, ISP blocking port 80

I am attempting to set up a small web server on my home network, but my ISP is blocking incoming port 80 ( and no, i'm not paying $50/month extra for them to unblock it). I am looking for some ways ...
5
votes
4answers
11k views

Apache problems after upgrading to Yosemite

My Mac web server won't work after upgrading to Yosemite. When I type apachectl into Terminal, I get this: httpd: Syntax error on line 527 of /private/etc/apache2/httpd.conf: Syntax error on line 8 ...
5
votes
2answers
17k views

How to install the SQLite PDO extension on Ubuntu

The default Ubuntu PHP package does not include the PDO SQLite extension. How can I install the SQLite PDO extension? Is there a package that one can easily install via apt-get?
5
votes
2answers
9k 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 ...
5
votes
3answers
11k views

How to add new PHP version to WAMP

I'm trying to install PHP 5.3.8 to work with WAMP (Windows). I downloaded it from the PHP website, copied it in the bin folder, and added this line to wampmanager.ini: Type: item; Caption: "5.3.8"; ...
5
votes
2answers
20k views

Debugging Apache on Debian, where are the error logs?

I'm using a Debian server that already has Apache, mod_wsgi and a bunch of virtual hosts successfully running on it. I installed my forum app (Django's OSQA) and following the OSQA instructions, I ...
5
votes
1answer
9k views

Debian - Apache - User - Which chown?

I'm using Debian Wheezy. I've installed apache, php, mysql, the works. It works properly but for permissions that I need to set. so I have my sites in /var/www/mysite, and I'm struggling between the ...
5
votes
3answers
1k views

“Too many files open” on Mac OSX after running apache in PHP with XDebug for some time

I am running Mac OS X 10.9.4, including the builtin apache2 webserver with PHP 5.5.14 from brew (packages: php55, php55-intl, php55-pdo-pgsql, php55-xdebug). When running this setup it works quite ...
5
votes
3answers
12k views

I've set up Apache, but I can't write to the '/var/www' folder

I've set up Fedora 14 with Apache, MySQL and PHP for my own homepage on a "server" (read: old hardware scrapped together). I'm logged in with my user, but I have no rights on /var/www/html. How do I ...
5
votes
5answers
7k views

How to find out from Apache what pages cause long loading times?

How can i find out what PHP scripts take longest to load in Apache?
5
votes
2answers
656 views

Cannot see index.php on localhost, Firefox prompts to open file in editor

I have a small index.php that I created by following a tutorial on the official PHP site but cannot see it on localhost. I formatted my drive, reinstalled Linux Mint, Apache2, PHP5 and MariaDB. No ...