The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [apache-http-server]

Apache is the widely known term for the Apache HTTP server, a very commonly used web server software maintained by the Apache Software Foundation. If your question is about other Apache software such as Tomcat or log4j, http://stackoverflow.com/ is a better choice.

Filter by
Sorted by
Tagged with
191
votes
8answers
613k 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 ...
13
votes
1answer
46k 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 ...
10
votes
3answers
34k 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 ...
26
votes
2answers
30k views

Why is the PHP version different in phpinfo() and CLI?

I realized that there is a miss matching between the PHP version reported by phpinfo() and php -v (in the CLI). phpinfo(): 5.5.24 php -v: 5.6.9 I am working on a Mac OS X 10.10 (Yosemite) and ...
0
votes
1answer
672 views

Creating a custom domain on my Wi-Fi network with a Windows computer and Apache

I have a router and a laptop. On my laptop I have installed WAMP which includes Apache. I have configured Apache to grant access over intranet. Using IP address I can access the server from any other ...
20
votes
7answers
67k 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 ...
12
votes
2answers
20k views

Behavior of rsync with file that's still being written?

If Apache is in the middle of writing a large file and an rsync cron job runs on that file, does rsync attempt to copy the file? Example Apache-1: Has file large being written to /var/www. Apache-2: ...
4
votes
2answers
995 views

Should I be concerned about hacking attempts via wget on a CentOS/LAMP-based web server?

This is a bit confusing, by the way I’m not a system administrator and only know a little bit about handling a Linux. I’m running a LAMP-based website and hosting it on Digital Ocean. The server is ...
4
votes
2answers
15k views

Disable Apache logging completely

I have an old server running online with over 250 sites on it I am not sure, but maybe too many logfiles in the apachelog are slowing down the server? Now since I don't need the Apache logs, How do I ...
1
vote
1answer
903 views

Apache+PHP+MySQL for latest Windows 10 [closed]

I tried to setup XAMPP and WampServer, as well as manually downloading and setting up the latest installers for Apache+PHP+MySQL on Windows 10, but everytime time I get different errors. Can anyone ...
2
votes
1answer
3k views

Apache is slower on other computers on local area network than on localhost

I have few computers connected into network. There's a server inside that network which hosts WAMP (Windows + Apache + PHP + MySQL). There is Windows 7 x32 Pro installed on it. I can ping that server ...
0
votes
3answers
278 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 firewall ...
71
votes
6answers
77k 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?
34
votes
1answer
46k 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 ...
98
votes
4answers
346k 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
8answers
84k 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 ...
5
votes
2answers
49k views

Why can't I access my web server from outside the network?

I set up an Apache HTTP server on my Macbook, just so I could have access to the full functionality of PHP while I learn the language. I don't have a registered domain name or consistent network ...
6
votes
2answers
46k 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 ...
5
votes
1answer
17k 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.
2
votes
2answers
388 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
307 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 ...
3
votes
1answer
405 views

Server only reachable over VPN

I have an Apache server running on a Raspberry P and it works just fine in the local network. And after forwarding port 80 and trying to connect using the public IP, Chrome says ERR_CONNECTION_REFUSED....
3
votes
3answers
13k views

How to force all Apache connections to use TLSv1.1 or TLSv1.2

I haven't been able to find a solution for this, if there is please do refer to it. Running: Windows7 x64 Apache 2.4.4 OpenSSL 1.0.1j and have the following in my httpd_ssl SSLStrictSNIVHostCheck ...
2
votes
1answer
2k 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 ...
1
vote
4answers
1k 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
469 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
3answers
3k views

charset=iso-8859-2 webpage displays with UTF-8 header - question marks (�) instead of accented letters

I have a webserver administration question. In this website: http://www.mirkaphoto.hu/ All PHP generated pages contain the following line: <meta http-equiv="Content-Type" content="text/html; ...
1
vote
2answers
7k 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 ...
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 ...
0
votes
4answers
16k 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 ...
30
votes
2answers
29k 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, ...
19
votes
4answers
25k views

What is the recommended directory to store website content?

When I first started programming for the web and I wanted to create a new project I was always taught to create a directory in /var/www/. However in a lot of tutorials I read people tend to create a ...
17
votes
4answers
11k 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
4answers
8k 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 ...
9
votes
2answers
19k 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-...
15
votes
1answer
59k views

How can I remove Apache2 that I have installed in Mac OS X?

A while ago I thought that it would be handy to install Apache2 on my MacBook and not go the easy route by just installing MAMP. However now I’ve changed my mind but I can’t simply delete Apache2. I’...
4
votes
2answers
25k 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 ...
6
votes
3answers
38k views

Apache VirtualHost isn't serving a page

I have a domain name that is linked to my ip address at home. However, I want to use the same server/ip to show more than one website. I can't get Virtual Hosts to work though. My conf.d/virtual....
3
votes
4answers
13k 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
4k 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
15k 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 ...
10
votes
1answer
3k 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?
6
votes
3answers
30k 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
1answer
5k 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
1answer
4k 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
7k 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
2answers
4k 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 ...
2
votes
7answers
11k 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
3answers
7k views

The SSL CA cert (path? access rights) on Ubuntu 16?

Problem with the SSL CA cert (path? access rights?). I got a SSL cert from Commodo and it installed ok. Everything seems to be working correctly and I have restarted my server and Apache2. ...
1
vote
1answer
8k 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 ...