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
245 votes
9 answers
860k 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 ...
Carson Myers's user avatar
  • 3,101
1 vote
1 answer
3k 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 ...
Jinendra Khobare's user avatar
33 votes
3 answers
41k 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 ...
Salvatore Dibenedetto's user avatar
18 votes
1 answer
68k 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 ...
Stephen Cioffi's user avatar
1 vote
1 answer
4k 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 ...
Vytas P.'s user avatar
  • 459
20 votes
7 answers
69k 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 ...
WilliamKF's user avatar
  • 7,918
11 votes
3 answers
45k 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 ...
user avatar
3 votes
1 answer
6k 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 ...
Dawid's user avatar
  • 33
0 votes
3 answers
334 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 ...
Angie's user avatar
  • 3
70 votes
6 answers
78k 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?
slifty's user avatar
  • 1,569
34 votes
1 answer
50k 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 ...
Daniel Cukier's user avatar
24 votes
8 answers
100k 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 ...
waiwai933's user avatar
  • 2,511
20 votes
2 answers
85k 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 ...
Travis's user avatar
  • 373
18 votes
2 answers
99k 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’...
Gameshadow's user avatar
15 votes
2 answers
34k 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: ...
Louis Waweru's user avatar
  • 24.6k
8 votes
2 answers
96k 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 ...
user628544's user avatar
5 votes
1 answer
19k 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.
Thach Xuyen's user avatar
3 votes
1 answer
968 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....
mischnic's user avatar
3 votes
3 answers
14k 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 ...
deltaRoot's user avatar
2 votes
2 answers
575 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 ...
sakibmoon's user avatar
  • 145
2 votes
1 answer
4k 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 ...
Leos Literak's user avatar
1 vote
2 answers
4k 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; ...
giny8i8's user avatar
  • 61
1 vote
2 answers
533 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 ...
torayeff's user avatar
1 vote
4 answers
2k 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 ...
user avatar
1 vote
1 answer
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 ...
Dupont's user avatar
  • 131
1 vote
2 answers
10k 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 ...
wouterds's user avatar
  • 111
1 vote
2 answers
325 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 ...
Farid-ur-Rahman's user avatar
0 votes
2 answers
12k views

How to access personal apache2 server from internet

I'm running apache2 server on my computer and I would like to access it from internet but I can't seems to get it to work. My apache2 port is open at 80. I have set up port forwarding 80 to 80 on my ...
Anatoli's user avatar
  • 127
0 votes
4 answers
19k 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 ...
skywalker2909's user avatar
126 votes
4 answers
458k 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 ...
luca's user avatar
  • 1,773
42 votes
5 answers
50k views

What is the recommended directory to store website content? [closed]

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 ...
Pattle's user avatar
  • 523
30 votes
2 answers
33k 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, ...
Tomasz P. Szynalski's user avatar
20 votes
4 answers
14k 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 ...
jcolebrand's user avatar
  • 1,090
13 votes
4 answers
10k 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 ...
Daniel Rotter's user avatar
13 votes
1 answer
72k views

Setting correct permissions for uploading files

I have a php script that uploads a file to a directory called "uploads". The only way I can get the upload to work is if I do: chmod 777 uploads I know this isn't correct but I don't know what ...
fun_programming's user avatar
12 votes
2 answers
26k 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-...
user1032531's user avatar
  • 1,651
11 votes
3 answers
69k views

Apache as reverse proxy for multiple destinations and one default destination

Looking for help for the next Apache's reverse-proxy problem. have an Apache 2.4 on the localhost:80 (a.a.a.a:80) have 3 different web applications one runs on localhost:8000 (a.a.a.a:8000) two ...
kobame's user avatar
  • 435
10 votes
1 answer
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?
ApacheNoSkype's user avatar
7 votes
2 answers
30k 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 ...
rubo77's user avatar
  • 4,920
6 votes
3 answers
36k 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 ...
Jason94's user avatar
  • 1,195
6 votes
3 answers
40k 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....
Malfist's user avatar
  • 3,049
6 votes
6 answers
3k 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 ...
user avatar
6 votes
3 answers
18k 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 ...
gotha's user avatar
  • 195
6 votes
3 answers
15k views

Browsing to localhost is slow when connected to Internet

When I browse localhost in my browser when connected to the Internet, the response is slow; it takes 30 seconds or completely times out. When I disconnect from the Internet, it is blazing fast and ...
Codebeat's user avatar
  • 372
5 votes
1 answer
7k 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 ...
PKHunter's user avatar
  • 225
4 votes
2 answers
27k 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 ...
Andrew's user avatar
  • 14.9k
4 votes
1 answer
2k 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, ...
Chris Burgess's user avatar
4 votes
2 answers
2k 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 ...
angelito's user avatar
4 votes
4 answers
15k 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. ...
DDJ's user avatar
  • 195
3 votes
1 answer
4k views

Case insensitive Basic Authentication with Apache

Is it possible to configure an Apache server to accept case insensitive usernames for Basic Authentication? Currently I'm using a pattern similar to this (in an included file) in my httpd.conf <...
James Webster's user avatar