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
12 views

several instances of apache2 running after owncloud server install

I have just installed owncloud server on my xubuntu and now there are atleast 10 processes of apache2 running on my machine. when I stop apache service using sudo service apache2 stop All ...
0
votes
0answers
6 views

how to configure codeigniter based website for password protected apache basic auth codeigniter

Actually I want to 'password protect' my website as its still in development. My requirement is simple if anyone try to access my site http://xxxxx.com it should prompt for password (Basic apache auth ...
0
votes
0answers
23 views

Chromebook crouton LAMP

I'm trying to install a LAMP stack on Ubuntu through crouton on a Chromebook (Acer c720p). I was able to install the following packages apache2 mysql-client mysql-server php5 libapache2-mod-php5 ...
3
votes
2answers
7k views

How can I get Apache working (complains about logfiles) on Ubuntu after a distribution upgrade?

I upgraded from Raring to Saucy, and it says it can't open listening sockets: root@ip-10-250-42-219:/etc/apache2/sites-enabled# apache2ctl restart [Tue Oct 22 13:34:05.187996 2013] [core:warn] [pid ...
1
vote
1answer
951 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 ...
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 ...
0
votes
1answer
88 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
20 views

FTP user creates file that are not executable by apache

I am facing a little issue: I have created an FTP server with vsftp and a web server with Apache 2.2. Now, my goal is to make so that anyone can log into the machine via FTP and upload files (.html, ...
0
votes
0answers
28 views

No response time in access log of Apache 2.4.9

There is no response time in the logs(access log) after adding %D in the log format Logformat: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""combined LogFormat "%h %l %u ...
1
vote
0answers
25 views

Apache / OpenSSL configuration keywords `SSLProtocol` vs. `SSLCipherSuite`

According to the Apache docs I can configure the cipher suite with (a.o.) two different keywords and examples on Internet often use both (but not necessarily identical to below example). What is the ...
0
votes
0answers
54 views

apache user cannot sudo while running via httpd

I have a requirement where an web application (php) must run a script on another server. I tested running the remote script as apache user by sudo-ing to the apache user via the root user. The script ...
0
votes
1answer
16 views

How to hide my php file in the /var/www directory?

I have bind my vps ip with my_domain.com .Every php file which i saved in the /var/www directory will be displayed when to input my_domain.com in firefox by other people. Now i want to hide my php ...
0
votes
0answers
14 views

apache authconfig on subdirectory

I'm using gitlist on my server (gitlist) to serve some repo. Currently, all of the nare accessible with the following configuration: Alias /gitlist /var/www/html/gitlist/ <Directory ...
1
vote
0answers
25 views

get the apache document root using shell script [duplicate]

I am creating an RPM and in the pre stage, I want to determine apache's document root so I can copy the web application files there. First, I check if apache is installed. If apache is installed, the ...
0
votes
0answers
28 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?
0
votes
1answer
30 views

How to check mod_ssl.so version?

I'm running Apache 2.2.3 and would like to find out, how to check version of mod_ssl.so and if this module can support TLSv1.1 and TLSv1.2. Regards
0
votes
0answers
20 views

ssl_engine_init.lo Error 1, compiling Apache with OpenSSL

I have installed (with no problems) OpenSSL 0.9.8zd by compiling: ./config no-ssl2 no-ssl3 no-idea no-rc5 no-md2 Next, I wanted to install Apache 2.2.3 by compiling: ./configure ...
0
votes
0answers
28 views

Unable to ping/SSH web-facing server

I just installed Ubuntu 14.04 LTS onto a box that's set up with one local NIC and one web-facing NIC. The web-facing NIC is configured with a static IP per my ISP. Because networking and security ...
0
votes
1answer
538 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
1answer
56 views

The Alias directive will probably never match because it overlaps an earlier Alias

Here's the original post on Serverfault: The first 15 lines of my httpd.conf file ServerSignature Off ServerTokens Prod ServerRoot "/etc/httpd" Listen *:80 Listen *:443 User apache Group apache ...
1
vote
1answer
787 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
26 views

Command for setting DocumentRoot for apache on Debian?

So I am developing a simple installation script for a Raspberry based app. It installs the LAMP install, grants some permissions among other things. And part of the process is to change the apache ...
2
votes
1answer
1k views

Transferring Files SSH SCP Error Message: 'Stdin: is not a tty'

I am using a Macbook SSH terminal and generated RSA key pairs and uploaded remote id_rsa.pub with approved permissions. I can connect with remote Apache web server. I can create, open, move, modify ...
7
votes
2answers
27k views

CentOS - install using yum Apache 2.4

I need Apache 2.4 in CentOS because with Apache 2.2 mod_proxy_wstunnel is not possible. I have tried https://fedorahosted.org/SoftwareCollections/ but unfortunately its for RHEL after installing i ...
1
vote
1answer
53 views

Error while installing Apache; error is “E: Sub-process /usr/bin/dpkg returned an error code (1)”

I followed an online article to remove my Apache from my system. I removed Apache through these commands sudo apt-get purge apache2 apache2-utils sudo rm -rf /etc/apache2-bin sudo apt-get autoremove ...
0
votes
1answer
1k 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 ...
0
votes
1answer
12 views

Apache: rewriterule with variable data

I need make this redirect to my webserver: www.hostname.com/path1/path2/123456789 to www.hostname.com/search?q=123456789 I have insert this rule to htaccess file: RewriteRule ...
1
vote
0answers
20 views

How to integrate Request Tracker 4.0 with Open LDAP in Debian?

I want my ldap users to log in to RTand see the tickets. I have gone through RT documentation but it's a bit complicated for me as I'm just a starter. I do understand that I gotta edit ...
0
votes
0answers
25 views

Language negotiation on Apache for a whole site

I have a site with two languages, which is structurated like this: language 1 -> www.mysite.com/EN language 2 -> www.mysite.com/ES Under EN/ES there are the localizated pages for that ...
0
votes
2answers
884 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 ...
0
votes
0answers
58 views

Cant use https on localhost

I am unable to use https on my localhost testmachine. I cant figure out the problem on my own so here is what i did: I placed the following to files in sites-available : 000-default.conf ...
3
votes
1answer
708 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 ...
0
votes
1answer
477 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 ...
0
votes
1answer
8k views

enable apache mod rewrites to load clean-urls

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 ...
1
vote
1answer
89 views

What exactly does logrotate do to apache log files? (apache 2.4 - ubuntu 14.04)

Other than a couple of basic VHOST's, I have default apache and apache logging configuration. Whenever I try to view my apache log files (error.log, access.log) I see that these files keep getting ...
1
vote
1answer
15 views

Htaccess - Map dynamic URL query to a static file

Hoping someone here can help me out with this. I'm trying to map this dynamic query: /wp-admin/admin-ajax.php?action=mymail_form_css to this static file: /wp-admin/mymail_form.css What I've ...
5
votes
3answers
3k views

Apache fails to reload… Is there a log that I can look in for details?

I have a webserver that I'm working on adding a site to. After running a2ensite, I ran service apache2 reload, and got this: [FAIL] Reloading web server config: apache2 failed! Is there a log ...
0
votes
1answer
20 views

Apache: rewrite or redirect?

I need to redirect an URL with a variable, eg. http://www.mydomain.com/foo/55555 should go to http://www.mydomain.com/bar/55555 where 55555 is a variable number. Do I need to use redirect or ...
0
votes
0answers
16 views

apache virtual hosts not working for new domain

I probably did some really trivial mistake but somehow I can't figure out where is the problem. until now I had my debian vps running with few virtual hosts using one domain and several subdomains. ...
0
votes
1answer
15 views

Apache Modal Logon Window

Ubunutu 14.04 Apache 2.4.7 I began to create a modal logon page on Apache to secure a site and notice some differences in installation that i need some clarification before proceeding. I followed ...
0
votes
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 ...
1
vote
0answers
10 views

how to troubleshoot domain name before re-pointing Nameservers

suppose I have a site: awesomefootball.com hosted on a Linux server with db etc.. For testing, I know how to pull a copy to my MacBook and set up /etc/hosts file to let me test at ...
0
votes
1answer
36 views

httpd memory usage

Having some problems with httpd (Apache/2.2.29) memory usage. Over time, memory usage in the httpd processes creep up until it's eventually at 100%. Last time I restarted httpd was about 24 hours ...
2
votes
0answers
20 views

Apache modssl returning random unwanted 200's rather than 404's

I have a fairly simple apache 2.4.7 config on CentOS 6.5 Linux and an active web server. No PHP or CGI, just some static pages and a proxypass to a different server tier. I'm doing some security ...
1
vote
1answer
30 views

How to speed up an apache webserver?

We have a PC: Intel(R) Core(TM)2 Duo CPU E7300 @ 2.66GHz 3 GByte RAM HDD: 160 GByte WD1600AAJS-08L7A0 And we have Ubuntu 12.04 on it with apache 2.2.22-1ubuntu1.7. Serving just static HTML files ...
0
votes
1answer
346 views

Problem setting up DVWA in Wheezy 64 bits

I'm trying to get running Damn Vulnerable Web Application in a virtual machine with Wheezy. The easy way if it was 32 bits is install XAMPP and copy the dvwa to htdocs. However I'm using 64 bits and I ...
0
votes
0answers
13 views

Virtual Host showing error 11001 even after chown and chmod

I am trying to create a virtual host to just test a basic html website. Guest OS - Ubuntu 14.04 Host OS - Ubuntu 14.10 In the Host OS, I connect through a proxy server which requires me to enter a ...
0
votes
0answers
73 views

ap_proxy_connect_backend disabling worker for

i'm using mod_cluster in production but i'm having some 503. I tried replacing mod_cluster with mod_proxy_balancer and in such case i didn't have any 503 so i'm thinking to a misconfiguration of ...
1
vote
1answer
43 views

difference between apache installations

I wanted to learn perl CGI. So first I installed apache2 using following command: sudo apt-get install apache2* Then I configured apache and some configuration for CGI. But moving forward I ...
1
vote
4answers
2k views

Apache Tomcat not working

I am a Linux beginner and have CentOS 6.4 installed on VMware. Recently installed Java SE8 and Apache Tomcat server but I cant't connect to the server by using `localhost:8080' browser says Unable to ...