Use this tag for questions related to the Apache http server (any version, but make sure to provide Apache version numbers in the question unless not relevant). Generic webserver related questions should use the tag: webserver. Few of the other Apache related projects have their own tag, don't use ...

learn more… | top users | synonyms

0
votes
1answer
574 views

Does Apache 2.2.3 support TLSv1.1 and TLSv1.2?

How can I find out if Apache 2.2.3 supports TLSv1.1 and TLSv1.2? If possible how can I implement it?
1
vote
1answer
22 views

One of my pdf files in my apache server can be accessed the other can't, with the same permissions and same directory

I have two pdf files in my server: -rwxr-xr-x. 1 apache apache 1422861 Sep 11 2014 file1.pdf -rwxr-xr-x. 1 apache apache 340815 Aug 27 13:06 file2.pdf I can access the first one by going to ...
0
votes
1answer
600 views

Apache configuration with proxy and location

I want to map these domains to these ports. How can I do it? http://test1.example.com/phpmyadmin/ example.com:80/phpmyadmin/ http://test1.example.com/app1/ example.com:8080/app1/ ...
1
vote
1answer
30 views

Should I use hardlinks for my “sites-enabled” folder instead of softlinks?

Every article I find about web servers suggest creating a sites-available and sites-enabled directory within apache/nginx/etc. Then, using symbolic (soft) links, create a link from the available to ...
1
vote
1answer
875 views

Apache mod_auth_kerb: “Key table entry not found”

I want to use the Apache Module "mod_auth_kerb" to implement SSO for a Webapplication. With the following config: <VirtualHost 10.5.3.200:443> #Proxy <Proxy *> Order deny,allow Allow ...
0
votes
2answers
30 views

How to configure Apache init scripts, after compiling and installing the sources?

I installed Apache using this script https://gist.github.com/Benedikt1992/e88c2114fee15422a4eb The system is a freshly installed CentOS 6.7 minimal system. After installation I can find the apache ...
0
votes
2answers
2k views

httpd error: Address already in use: AH00072

I have a server, CentOs 6.5 which were installed xampp by a friend of mine. But I thought it's best to install apache, php and mysql from yum. I have it removed simply by using this #rm -rf ...
3
votes
1answer
867 views

suexec with chrooted environment

I'm trying to get a chrooted Apache environment working running mod_fcgid with suexec. Looking at suexec log inside jail, the wrapper scripts are being executed with no problems, however, when I look ...
-1
votes
0answers
11 views

Centos Apache virtualhost bugs when not using www

I have these extra lines in default httpd.conf: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot "/var/www/html" ServerName maindomain.com </VirtualHost> <VirtualHost ...
0
votes
1answer
728 views

Multiple DH/ECDH parameters in Apache 2.4.7 configuration file

I'm running Apache 2.4.7 on an Ubuntu 14.04 ("Trusty") server. The Ubuntu-specific package identifier is "2.4.7-1ubuntu4.1". If one does not explicitly specify DH/ECDH parameters (see below), Apache ...
1
vote
1answer
2k views

Apache fails to start after changing cert and key

The problem appeared after I changed https certificate and key. sudo /etc/init.d/httpd restart shows this: Stopping httpd: [FAILED] Starting httpd: [FAILED] Apache's error_log: [Tue Dec 03 ...
0
votes
0answers
19 views

Can't access Apache server via LAN [closed]

I have created a LAMP stack (sqlite instead of mysql). I have checked that my apache session is up and running. However, using my phone/other laptop to access via LAN does not work. It simply returns ...
0
votes
1answer
15 views

Where do I put the information for Django in Apache2 in Ubuntu

The Django documentation tell me to put WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py WSGIPythonPath /path/to/mysite.com <Directory /path/to/mysite.com/mysite> <Files wsgi.py> ...
0
votes
0answers
17 views

SSL installation on apache2 / debian

So I have a debian wheezy installation where I someone started to install SSL but gave up and so I'm here to finish the task. problem - when accessing with http (port 80) - all is working. When ...
-3
votes
1answer
41 views

apache2 errors E: Sub-process /usr/bin/dpkg returned an error code (1) Error: apt-get upgrade failed [closed]

While installing VestaCP, I get Apache2: Errors: Pastebin: http://pastebin.com/VNavUAzG dpkg: error processing apache2-suexec-custom (--configure): dependency problems - leaving unconfigured dpkg: ...
0
votes
0answers
16 views

How to return 404 status code on existing file with Apache

Basically what i want to do is to return 404 for a file that exists. <FilesMatch "(xmlrpc\.php)"> Require all denied </FilesMatch> Is what I'm currently using, but I'd like to send ...
1
vote
1answer
29 views

Run program in readonly mode

I have an apache running under user apache with a lot of permissions (rw to multiple directories). Now I want to let some users upload programs/scripts via webform and execute them, with php function ...
0
votes
1answer
587 views

Multiple PHP Versions / cPanel with mod_fcgid

I'm trying to get multiple PHP versions working on a cPanel server which was compiled with mod_fcgid and PHP 5.3. Below is the PHP config generated by cPanel. AddHandler fcgid-script .php5 .php4 ...
1
vote
2answers
1k views

yum install mod_auth_token not working on CentOS

On CentOS 6.5 how do I make yum install mod_auth_token work these days? According to my own HOWTO I wrote 12 months back, you used to be able to just type it now you have to DIY it, which is bad ...
2
votes
1answer
6k views

yum - No package httpd available (new VPS)

So I have a new VPS that only has the bare bones. Not what I was expecting at all and I may be well past my depth but I'm trying to get the essentials running. The host is Swedish and aggressively ...
0
votes
1answer
22 views

Does Basic “hello world” run as CGI.?

My question is simple. I install apache on centos and create a file as index.html and just add the content of "hello world". Now, when I access my web it display the "hello world" quote. My question ...
0
votes
1answer
28 views

Apache VirtualHost redirect 302 (cyclic link)

I seek some wisdom, so please help... I have one VM acting as router/web server/dnsmasq server on IP: 192.168.100.1. And I have other machine acting as client. Server has IPTables rule to redirect ...
1
vote
1answer
1k views

Apache + mod_fcgid + chroot with mod_security. CentOS/RHEL 6

I am trying to setup a web server running Apache + mod_fcgid + mod_security chroot enabled and having a real hard time to get this working. Apache was installed from official CentOS repo and mod_fcgid ...
2
votes
1answer
149 views

Apache, svn at the root of domain with one exception

I want to setup SVN in such a way that svn.domain.com/ directly lists SVN repositories. To be able to make the web view nicer I am using an SVNIndexXSLT. But I have to serve this file somehow to the ...
3
votes
3answers
52 views

Where to turn first when out of free space on Cent OS Web Server?

I am a very new Systems Administrator. I have a Windows background and am now a Jr. Systems Admin working with Cent OS 5. Our web server runs Cent OS 5 and uses PHP/MySQL for our web applications. ...
0
votes
0answers
12 views

umask issue with apache phusion passenger

We have a rails application where a unix account will write to directory belonging to another unix account. I have added both the accounts to a common group. The new file which is getting created does ...
1
vote
2answers
1k views

Apache Virtual Host Include Not Working

Attempting to get my domain to redirect to the associated vitual hosts, but the Include is not working as expected and displaying the proper htdocs directory. It is still displaying the default apache ...
0
votes
1answer
13 views

CentOS Apache Configuration

In the last couple days I have been setting up a Rackspace CentOS-based webserver which I took over from another developer. Amongst other things, I noticed that in the httpd directory, there were two ...
0
votes
2answers
848 views

error re-installing httpd on CentOS 7, how can I resolve it?

On a CentOS 7 server, I am encountering an error when trying to re-install httpd. How can I resolve this error and get httpd up and running again? Here is the first error that resulted when I ...
1
vote
0answers
13 views

Correct permissions for a cache directory

I have setup a PhalconPHP project on an AWS EC2 instance. To get thinks working I gave the cache directory 777 permissions. I realise this is bad practice - what would be the correct permissions for a ...
0
votes
2answers
36 views

Deny access to subfolder and file with .htaccess

i need deny access to condiguration files under some subfolder, now i have this rule but don't work <Files ~ "((foo|bar))$"> Order deny,allow Deny from all </Files> If i go to ...
1
vote
3answers
47 views

Check services running on the server and restart them if they have stopped?

I am trying to write a python script which shows me the services which are running on my server. The thing is that mongodb keeps going down on the server and each time it happens I have to manually ...
1
vote
1answer
27 views

Help with apache website access

I'm a newbie in Unix so please be clear. I have to install and configure Apache in Debian, it all works fine, and in one point I have to use Lynx to show it works. I have edited the configuration page ...
0
votes
0answers
30 views

Django WSGI setup causing permission denied issues

I'm new in the world of Django. I've been working on setting up WSGI to serve my Django project. It is working fine on my personal machine but on the server I'm having a hard time to setup. I'm ...
0
votes
2answers
96 views

Cannot Access LAMP Web Server on Ubuntu Server 14.04

UPDATE: So it seems that I can access the website from computers outside of the LAN, it's when I try to pull up from any computer on the same LAN as the server that I get an issue. From what I've read ...
0
votes
1answer
304 views

WordPress on LinuxMint: Can't create directory (or write file)

I run Linux Mint, with Apache2, PHP and MySQL. I've activated modules for Apache so that users' public_html can be used and that PHP-scripts can be run from them. I installed WordPress in my ...
0
votes
1answer
22 views

Install wordpress package always require apache?

Debian wordpress package depend on apache|httpd, lighttpd is also provide httpd, but when I try to install wordpress, apt require me to install apache2 ! What I should do ? I want to use only ...
-1
votes
1answer
52 views

Apache behind proxy: bypass Auth Basic for some ip

I need bypass basic auth to some ip, Apache is 2.4 and is behind haproxy, i have inserti this into Document Root section: <Directory /path/to/webroot> AuthUserFile /etc/apache2/.htpasswd ...
0
votes
1answer
1k views

CentOS 7 won't serve static https content, why not?

I just re-installed httpd and created a static index.html file. I have firewalld configured to allow internet access to the https service. But when I type https://my.server.ip in a web browser, the ...
0
votes
0answers
46 views

Vagrant + CentOS 7 - Apache fails to start, I don't see an error

I'm spending some time trying to provision a Vagrant box running from a CentOS 7 base box. After a fresh install of Apache, I am able to hit the server over http and restart the server, but as soon ...
2
votes
3answers
191 views

`tail -n 40 /var/log/apache2/error.log` without `sudo`

Many times during the day I need to inspect my Apache log: sudo tail -n 40 /var/log/apache2/error.log I then have to provide my password. It's a clumsy workflow, so instead I am adding ...
0
votes
1answer
46 views

ispconfig PHP not parsing on apache2 virtual host

I have trouble installing ispconfig 3 on my (L)Ubuntu 15.04. I can fully install ispconfig but I can't reach the website when viewing the virtual host of apache2. I can open ispconfig from ...
-1
votes
1answer
11k views

enable apache mod rewrites to load clean-urls [on hold]

In CentOS, a2enmod rewrite results in “command not found” but httpd -M lists rewrite module as listed and shared. I'm trying to enable it so can then have these rewrite rule apply so I can switch back ...
0
votes
1answer
2k views

Configuring Apache 2.4 for CGI on FreeBSD

I am trying to run CGI on FreeBSD 9.2. I installed Apache 4.2 (pkg install apache42) Configured it to load CGI module. Also, I did chmod a+x on files in cgi-bin directory. And when I connect to ...
1
vote
2answers
37 views

Wildcard SSL certificate does not work with naked domain

I have deployed a wildcard certificate (Comodo PlatinumSSL) for *.domain.com on Apache/Ubuntu 14.04. Everything works if the client visits https://www.domain.com but https://domain.com throws up this ...
2
votes
2answers
3k views

Authenticate users via LDAP using nginx

I know how to auth the users via LDAP in apache2: # put the following in the VirtualHost <VirtualHost *:443> ServerAdmin user1@bar.foo.com DocumentRoot /var/www <Directory ...
2
votes
1answer
54 views

Generate Private Key for Existing SSL Certificate

I have been provided with a Comodo SSL certificate to deploy with Apache/ModSSL on Ubuntu 14.04. All I got was an email with links like this. I was not provided with a private key. It appears the ...
0
votes
1answer
19 views

Apache2.4- how to serve file as html

I have an apache2.4 server. On some page, I have a link to a log file. I would like to show the file content in a browser when the link is clicked, rather that serving the file do download.
0
votes
1answer
39 views

Reinstalling Apache on Raspberry Pi

I installed Apache 2 on my Raspberry Pi but was not able to configure it properly. I then tried to remove it and install again. To remove it I used the command sudo apt-get purge apache2 and then ...
1
vote
1answer
6 views

Getting htpassword for Red Hat

yum install httpd-tools doesn't work for me because of some admin privileges or firewall issues. I also tried some httpd-tools rpm (from this page ...