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)

109
votes
6answers
306k 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 ...
9
votes
3answers
24k 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 ...
16
votes
7answers
56k 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 ...
0
votes
3answers
165 views

Trying to set up a home webserver using Ubuntu and Apache2

The steps I’ve taken: Installed Ubuntu on old laptop. Given the laptop a static IP address in local network of 10.1.1.12. Add a service to Netgear DG834GU router for port 80 TCP/UDP Set up a ...
69
votes
6answers
72k 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?
28
votes
1answer
34k 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 ...
22
votes
8answers
76k 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 ...
4
votes
1answer
11k 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.
1
vote
2answers
249 views

windows rename command to rename file.a.b to file.b

I have a few folders with hundreds of html files. The file name should have been .htm but it is .asp.htm and it does not run. It is plain html file and there is no asp code. So, I tried to rename the ...
1
vote
2answers
271 views

Making home based web server

I am new in making web servers. I installed Apache web server in my computer and I forwarded a port 80 on my Router. When I type http://localhost, 127.0.0.1 or my local IP ie 192.168.1.2 in my web ...
1
vote
4answers
881 views

Apache w/out internet connection

I have a Vista laptop that I have been running Apache / MySql / Php / PhpMyAdmin on for quite some time without fail. I just use it to test bits of code here and there etc. No problems, until ...
1
vote
2answers
281 views

Setting local network via WiFi

There are: Notebook running Ubuntu 12.04 acting as server machine LAMP (Linux, Apache, MySQL, PHP) server Some devices with WiFi ability I want to configure local WiFi network on my notebook, so ...
1
vote
1answer
3k views

PHP files are downloaded instead of getting interpreted

I'm encountring some difficulties with my Apache2/PHP5. All was well-configured and working, but after reinstalling apache2, the PHP files are displayed without being interpreted. I tried many ...
1
vote
1answer
109 views

Apache and support for per-directory CA

I was using Debian Wheezy with Apache and I configured some paths in SSL to be protected by client certificate. <Location /admin-page> SSLCACertificateFile /etc/apache2/ssl/leos.pem ...
0
votes
4answers
13k views

WAMP Server's Apache Service Not Starting in Windows 8

I have a problem starting the Apache Service in WAMP Server, when i test port 80, I get the following message on the console Your port 80 is actually used by : Server: Microsoft -HTTPAPI/2.0 Things ...
0
votes
2answers
4k views

Apache2 won't load css files on Debian 6 (Squeeze)

After using nginx for a few months, which worked pretty well, I decided to switch back to Apache. Now, I have just installed apache2, but it seems like it won't load my CSS files. I've been struggling ...
0
votes
0answers
67 views

XAMPP and MySQL

Ok so I have this message error in XAMPP: 20:25:37 [mysql] Error: MySQL shutdown unexpectedly. 20:25:37 [mysql] This may be due to a blocked port, missing dependencies, 20:25:37 [mysql] ...
59
votes
4answers
196k 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 ...
22
votes
2answers
14k 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
3answers
7k 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 ...
5
votes
1answer
18k views

How do I host multiple physical Web servers behind a single IP address?

I am running multiple web servers in my house, each of which is plugged into my router. Server A Server B Server C I currently can only use one server since my IP (xx.xxx.xx.xx) port 80 is pointing ...
5
votes
2answers
10k views

Convert file to PDF using LibreOffice under user apache (i.e. when using PHP)

I installed libreoffice-headless and can convert documents when logged on into the shell as a normal user. [root@desktop ~]# yum install libreoffice-headless [root@desktop ~]# yum install libreoffice-...
4
votes
2answers
24k views

403 Forbidden Error when trying to view localhost on Apache

I think my Apache must be all screwed up. I don't know if it ever worked. I just upgraded to Snow Leopard, and the first step on this tutorial is to start apache and check that it's working by opening ...
9
votes
1answer
2k 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?
3
votes
4answers
11k 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
1answer
3k views

SSL support with Apache and Proxytunnel

I'm inside a strict corporate environment. https traffic goes out via an internal proxy (for this example it's 10.10.04.33:8443) that's smart enough to block ssh'ing directly to ssh.glakspod.org:443. ...
3
votes
2answers
13k views

How do I install ffmpeg on Windows 7

I'm using Windows 7 and Zend server for my PHP.I have fed up completely searching and trying every methods of installation found on internet. Luckily, I installed it well on my Ubuntu machine at my ...
3
votes
1answer
3k 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
5k views

Apache 2.4 don't follow all symlinks

I'm configuring my local Apache webserver after a fresh Kubuntu 14.04 install. Apache version is 2.4.7. I usually work with files located in a separated partition (/dev/sdb6 here), and create ...
2
votes
1answer
10k views

Apache test page not displaying

I have a virtual machine running CentOS 6.4, and trying to setup an Apache server, but I cannot get to display the Apache test page. I've installed it using yum install httpd and checked that all my ...
1
vote
2answers
631 views

Are too many logfiles in the apachelog slowing down the server?

At my webserver, I have separate logfiles for all my over 250 domains. Is this showing the server down? Would it be faster to have only one logfile that contains all access-logs? Update: I will try ...
1
vote
2answers
2k views

How to allow apache access to a file but prevent others from viewing it?

I have several folders with Magento installations. e.g. www/magento1 www/magento2 All of the files/folders inside of those are owned by root:magento1 and root:magento2 respectively. I have 3755 ...
1
vote
1answer
6k views

Apache redirect from one domain to another domain

Like many users, we tend to register the *.com and *.net versions of our domain names to prevent nefarious squatters. So if we wanted "foo.com" we'd also register "foo.net" and have them both resolve ...
1
vote
2answers
7k views

Apache loading PHP module - undefined symbol: unixd_config

I'm configuring a new web server on a RedHat 6.5. I try to enable the php5 module on Apache 2.4.6 as following: LoadModule php5_module /usr/path/to/libphp5.so AddType application/x-httpd-php .php ...
1
vote
0answers
189 views

How does the Python Web Application stack work [closed]

I've been frantically reading up about python and REST services as I want to start learning and building a service. The terms confused me a lot - my past web application experience is some limited ...
0
votes
1answer
4k views

Group permissions for apache

I've run into a problem with Joomla. . . it cant create new folders through the Admin UI. It's a standard permissions error. I've been told to chmod all of the folders in the site to 777. Is ...
0
votes
1answer
3k views

Apache2 RewriteRule not working

I have this in my /srv/www/htdocs/.htaccess file: RewriteEngine On #turn on rewite engine RewriteRule ^schedule/?$ index.php?page=schedule [NC,L] RewriteRule ^music/?$ index.php?page=music [NC,L] ...
0
votes
1answer
117 views

Wordpress can't upload images due to permissions [closed]

I'm having problems trying to get Media uploads working on my VPS w/ Wordpress. My Apache service is running as user:group apache:apache. My user folder is owned by my user eugene and grouped apache. ...
3
votes
1answer
16k views

How to chown directory for multiple users?

Specs: Running Centos 6 64 Bit I am trying to chown a directory for all users on the VPS, aswell as for apache. But for some reason I can only have either apache, or just the users. I tried doing ...
3
votes
1answer
8k views

Configure Apache to serve multiple subdomains via HTTP + HTTPS

I have a virtual server hosted at ISP with 2 public IPv4 addresses. I want to run several subdomains (more than 2) with Apache and serve them via both HTTP and HTTPS. The SSL cert is a wildcard one ...
3
votes
1answer
3k views

Cpanel + Apache + Wordpress user permissions

I am on Cpanel. I have root access. When I create a new domain, a new user is created. Let's call it example.com with the user name being example. This will create: /home/example/www/ For WP to ...
3
votes
3answers
6k 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 ...
2
votes
1answer
9k views

apache 2.4 + php 5.4.7 cannot load php5apache2_4.dll

I am trying to make Apache (httpd-2.4.3-win32) to work with PHP 5.4.7 (VC9 x86 Thread Safe) on Windows 7. Apaches default page is working and proudly says: "It works". PHP CLI is working and ...
2
votes
1answer
162 views

How to get Apache2 to wait for network initialization?

Server just upgraded from Squeeze to Wheezy. After reboots, I noted that apache2 wasn't starting, so installed bootlogd to inspect the output of init scripts. The error output from apache start was, ...
2
votes
1answer
2k views

Microsoft PHP SQL Server Drivers not working, cant load module

I am trying to install Drivers for PHP to be able to talk to my SQL Server. I am running PHP 5.5.15 on XAMPP, and SQL Server 2014. I downloaded a driver package from here: http://www.microsoft.com/en-...
2
votes
1answer
1k views

Can't seem to run Apache 2.2 on Ubuntu 10.10 (Maverick Meerkat)

Here's my error message when I run sudo apachectl start: (98)Address already in use: make_sock: could not bind to address 127.0.0.1:80 no listening sockets available, shutting down Unable to open ...
2
votes
1answer
283 views

php sessions - is it possible to trigger a server script executed by a DIFFERENT user than www-data?

i am running a php+mysql site on a lamp ubuntu cloud server (amazon ec2). i use php sessions. the apache php user is called www-data. for every session (SID), i need to create a temporary folder ...
2
votes
2answers
743 views

“localhost:8080” works fine but “localhost” doesn't

"localhost:8080" works fine but is it mandatory to give the port number always, because it doesn't work when I just type "localhost"
1
vote
2answers
53 views

Adding user to ownership in addition to another user

I had some problems with permissions, the programmers of my website wanted me to add the admin user to the apache group and then set some permissions. My knowledge of Linux is quite limited, so I ...
1
vote
2answers
1k views

How to copy something to Apache's www-directory using a GUI?

i am using ubuntu 9.10 and when i copy a folder from the desktop to the www directory from lamp it says permission denied. im not doing it through terminal but how can i make myself root level to copy ...