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
13 votes
4 answers
40k views

Why would you ever set MaxKeepAliveRequests to anything but unlimited?

Apache's KeepAliveTimeout exists to close a keep-alive connection if a new request is not issued within a given period of time. Provided the user does not close his browser/tab, this timeout (usually ...
Jonathon Reinhart's user avatar
13 votes
3 answers
29k views

Site displays with Curl but not within the browser

I've set up a dev-enviroment on Debian 7 and installed the following services: Apache Bind9 I have one site that is reachable through "asix.debian.local". I've set up the zone and added NS and A ...
Borjante's user avatar
  • 233
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
12 votes
1 answer
17k 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 Apache2/...
bashintosh's user avatar
12 votes
5 answers
13k 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 ...
chb's user avatar
  • 472
11 votes
5 answers
58k views

How do I copy files into `/var/www` with WinSCP?

When I try to place my web files into /var/www in apache on my ec2 Ubuntu instance it is giving me an error stating that I don't have permission. Permission denied. Error code: 3 Error message from ...
andrew's user avatar
  • 111
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
11 votes
2 answers
25k views

Apache restarting : "Graceful restart requested, doing restart"

On a remote host I have an Apache web server running, and I noticed it has been restarted this morning, as the error log shows : [Sun Feb 16 07:56:26 2014] [notice] Graceful restart requested, ...
Mickaël's user avatar
  • 279
11 votes
2 answers
29k views

Ubuntu 14.04 upgrade broke Apache2

I just upgraded to ubuntu 14.04 and now apache2 won't start, I get the error: root@dennisHome:~# /etc/init.d/apache2 restart * Restarting web server apache2 ...fail! * The apache2 configtest failed. ...
Dennis Kerrisk's user avatar
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
11 votes
3 answers
15k 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 ...
Sid's user avatar
  • 233
11 votes
1 answer
12k views

How long does it take to see a renewed SSL certificate?

I just renewed the SSL certificate for a domain and installed the new files on my AWS server running Apache. All appears to be ok, but the browser still shows the old expiration date. Is there a way I ...
Russell G's user avatar
  • 489
10 votes
2 answers
8k views

How does Apache know my external IP when I am on a LAN on a router that performs NAT?

So, I have setup an Apache server, and people tell me that I need to specify Listen :80 or put a virtual host in httpd.conf so that Apache allows traffic from my public IP. My question is, how does ...
lpydawa's user avatar
  • 299
10 votes
2 answers
19k views

How do I prevent Apache service from auto-starting on Linux?

My problem is that I don't want to stop the apache daemon with the command ./apache2 stop from /etc/init.d (I know to do this). I don't want the apache service start automatically in /etc/init.d on ...
Kyrol's user avatar
  • 1,229
10 votes
2 answers
84k views

How do I find and kill a php loop (process)?

I have a php script that I have been developing which calls an external api within a loop. It is being tested on a VPS which is running LAMP on Debian. I noticed this morning that the api was not ...
Hoytman's user avatar
  • 345
10 votes
2 answers
25k 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 ...
Felix's user avatar
  • 613
10 votes
4 answers
27k views

Apache ./configure can't find pcre-config script

I'm trying to install Apache on Red Hat. It's a system I don't have full control over (my sysadmins have given me a directory to work in). So I've downloaded, configured, and installed APR, APR-Util, ...
Shawn's user avatar
  • 350
10 votes
1 answer
14k 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 ...
tanon's user avatar
  • 123
10 votes
1 answer
10k views

How to show the whole file name while using .htaccess to list files in a directory?

My .htaccess file looks like this : Options +Indexes When I look at the directory from my browser, it looks like this: File names that are too long are truncated, how can I make it show the whole ...
Frank's user avatar
  • 431
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
9 votes
4 answers
57k views

SSLCipherSuite settings in Apache for supporting TLS 1.0, 1.1 and 1.2

I have an Apache 2.4.7 web server running multiple domain names using a single IP address. As a result of the Poodle vulnerability, I added the following SSLCipherSuite line. It worked fine for a ...
Kristian's user avatar
  • 320
9 votes
1 answer
10k views

Why does systemctl show high memory usage when top and htop show much less?

I'm running an apache2.4 web server, and noticed that when I run systemctl status apache2 or run service apache2 status, it says it is using 4.2GiB of RAM, which isn't a problem for the amount of RAM ...
Rocketman173's user avatar
9 votes
1 answer
7k 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. ...
Denis Hoctor's user avatar
9 votes
3 answers
49k views

How to have multiple servers on one IP address

I am having trouble figuring out how to have multiple servers (that do different things) on one IP address. I would like the subdomains to point to different applications. Let me give an example of ...
monarch8's user avatar
9 votes
7 answers
5k views

Password-protect a directory, but not that directory's files?

I was just wondering if it was possible to protect a directory with a username/password combination using .htaccess and .htpasswd files, but not protect the files within. i.e. One is able to link, say,...
user avatar
9 votes
5 answers
43k 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 "...
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
8 votes
5 answers
18k 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 ...
Tom Oakley's user avatar
8 votes
4 answers
37k views

How can I get web server information about a page I'm viewing (e.g. Apache or IIS, Windows or UNIX)?

When I check pages for broken links using Xenu's Link Sleuth it usefully lists information about the web server, OS and PHP version e.g. Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8j PHP5.2.9 ...
pelms's user avatar
  • 9,331
8 votes
2 answers
22k views

Apache2 not starting - Error Invalid command 'ProxyRequests'

I was hoping to get some guidance on the following issue I am having. When I try to start my apache2 server I get the following error. user@kali:~# service apache2 start Job for apache2.service ...
dfreelander202's user avatar
8 votes
1 answer
5k views

How do I give files and directories created by FTP the correct permissions for Apache to read and write them?

I'm more a Windows person, so please excuse my ignorance with this basic Linux question. I am looking after a Linux (Debian) server which only has Apache2 and vsftp installed on it. What is ...
omega1's user avatar
  • 347
8 votes
2 answers
11k 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 ...
Baha's user avatar
  • 677
8 votes
1 answer
12k 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 ...
SPRBRN's user avatar
  • 7,752
8 votes
7 answers
17k 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 AM ...
peter.o's user avatar
  • 299
8 votes
2 answers
67k views

Upload files to my Apache server

I've recently installed Apache HTTP server on my computer. I have two questions: When I enter my IP from the browser, I see a list of files/directories, just like in a FTP server. Is that a built in ...
Yotam's user avatar
  • 265
8 votes
4 answers
2k 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 ...
Yaakov Ellis's user avatar
7 votes
2 answers
17k views

Apache mod_proxy with automatic authentication

I am setting up a proxy in apache through the directive ProxyPass and ProxyPassReverse for some urls: ProxyPass /mypath http://myotherserver.com ProxyPassReverse /mypath http://myotherserver.com ...
ThR37's user avatar
  • 699
7 votes
1 answer
31k 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 ...
Got The Fever Media'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
7 votes
2 answers
65k 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 ...
AP257's user avatar
  • 175
7 votes
3 answers
12k views

How Do I Do The Equivalent of "apachectl configtest" With Apache For Windows?

I am puzzled that I am unable to find the answer anywhere. I have Apache 2.2 for Windows installed on my laptop. This enables server-side includes to function when I work on my sites - even when I'm ...
Mike Crawford's user avatar
7 votes
1 answer
17k views

Apache multiple ProxyPass entries in one VirtualHost

So I have the following two configurations: On the one hand a backend server: <VirtualHost *:80> ProxyPreserveHost On ServerName localhost ProxyPass /backend http://some_remote_ip:7000/...
DrKaoliN's user avatar
  • 215
7 votes
3 answers
2k 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 ...
kettlepot's user avatar
  • 1,005
7 votes
3 answers
317 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 ...
Kenny Hendrick's user avatar
7 votes
1 answer
2k views

Does Apache Alias support relative paths?

I'm trying to alias a file using a relative path from the document root, like this: Alias /js/jquery-1.9.1.min.js lib/jquery-1.9.1/jquery-1.9.1.min.js It does not work, but I can't find anything in ...
face's user avatar
  • 143
7 votes
1 answer
27k views

MySql server only working with localhost

I installed mysql server on my machine and I could connect using MySqlWorkbench as localhost (port:3306). But when I change the localhost to my machine name it is not working. I need to access the ...
ajy's user avatar
  • 640
7 votes
1 answer
5k views

Really stop Apache 2.4 from running on Yosemite

I tried to start and stop Apache, I tried to stop Apache twice to make sure I should have been stopped Mac-mini:~ jeud$ sudo apachectl start Mac-mini:~ jeud$ sudo apachectl stop Mac-mini:~ jeud$ sudo ...
Artisan's user avatar
  • 235
7 votes
1 answer
6k views

Apache proxy throws error connecting to a third party

Connection to a certain thirdparty service via PHP Curl throws this error: CURL error: Received HTTP code 403 from proxy after CONNECT The Apache error log on the proxy throws this: Connect to ...
Stewie's user avatar
  • 183
7 votes
1 answer
3k views

Acrylic DNS Proxy not resolving

So I recently had an update issue where I landed up downgrading to Windows 8. As I need to do my work, I have re-installed my XAMPP server as well as Acrylic DNS Proxy. Unfortunately, Acrylic is not ...
Mike Rockétt's user avatar
7 votes
1 answer
10k views

How to log php error in a separate file?

I just did an upgrade of my server to Fedora 17 and merged some configuration files containing .rpmnew into the existing ones. I have been successfully logging my php errors in a separate log file by ...
Question Overflow's user avatar

1
2
3 4 5
66