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
45 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 ...
1
vote
1answer
128 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
13 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 ...
0
votes
0answers
27 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 ...
1
vote
0answers
34 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
1answer
249 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 ...
0
votes
0answers
138 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 ...
1
vote
1answer
27 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 ...
1
vote
1answer
155 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 ...
0
votes
1answer
24 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
24 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
22 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 ...
1
vote
0answers
11 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 ...
2
votes
0answers
28 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 ...
0
votes
1answer
135 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 ...
1
vote
1answer
43 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
0answers
18 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
333 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
52 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
votes
1answer
177 views

Why 192.168.1.105 = 127.0.0.1 in my pc?

I have installed apache2 in my debian7.8 . When to input 192.168.1.105 in firefox i get the same output as 127.0.0.1 ? It works! This is the default web page for this server. The web server ...
0
votes
2answers
51 views

Running two instances of Apache as separate users — permission denied

I followed these instructions (somewhat) on configuring two instances of Apache -- we have internal apps and third party programs (WordPress, etc) running on same VM so for security and performance ...
0
votes
1answer
46 views

conf file include wild card for multiple sites?

I have 50 sites with separate databases in drupal 7 set up and manage it in terminal on centos 7 and wondering if there is a way I can avoid having to have them all listed in custom conf file because ...
0
votes
1answer
51 views

How to host server on local PC(ubuntu) and set up virtual hosts

I am new to Ubuntu and I wanted to host a server on it. I googled a bit and read something about Apache and IIS and I couldn't get much out of it. Right now I am confused about how to proceed. What ...
0
votes
1answer
33 views

Building PHP from source for use in Apache

I'm having trouble when installing an older version of PHP (5.1) on a Ubuntu machine. I've tried to downgrade it without success using apt-get, so I tried to install from source. After the ...
0
votes
1answer
50 views

Can't list symlinks on apache

So I have an Apache server on my raspberry pi running Raspibian, where its root is at /var/www and I've created a symlink in www called downloads which links to /home/pi/downloads. First of all, I've ...
0
votes
0answers
38 views

Same website, multiple servers

I have a single server with a folder that contains my website with apache, with a database in mysql that contains some of my website data. Now my question is, say that millions of users are using my ...
0
votes
1answer
192 views

auto restart apache when high load average

My server always shut down when it reach a high load average. I have optimized my apache, mysql. but i cannot prevent sometime in a heavy traffic. So I try to write some shell to control load average. ...
0
votes
1answer
72 views

Apache not reading changes to PHP files

I'm developing on a CentOS6 server with Apache and PHP. When I make a change to a PHP file (and save) it appears that apache is not reading the changed file - it's still processing my old .php file. ...
0
votes
0answers
72 views

.htaccess is not working in users' public_html directories

I followed a tutorial: http://www.techytalk.info/enable-userdir-apache-module-ubuntu-debian-based-linux-distributions/ but .htaccess is not overriding Apache's configuration. May be "AllowOverride ...
1
vote
1answer
33 views

Unix Program (not ab) to create local requests to local server with different IP addresses

I made a module for apache and want to test it across thousands of different IP addresses in a short time. Currently, my only option is to integrate the module onto a live server for which I have ...
0
votes
1answer
41 views

What is the meaning of local[4] in this example

I am looking at this example from the apache spark documentation. It seems to pass a variable called local[4] into the --master variable. I have not seen that before. What does it mean? I am using ...
1
vote
2answers
32 views

FTP and WWW services don't acknowledge connections

I have Lubuntu 14.04 LTS with vsftpd and the lamp stack (apache2, etc.) installed. Everything works fine on the LAN. Externally, the services don't acknowledge connection attempts. I can see packets ...
0
votes
0answers
162 views

error installing mod_proxy_html: “cpio: rename”

I am trying to install proxy_html module on a centOs 6.x server. I think it is giving me an error - but it also indicates that it completed. Here is the error: error: unpacking of archive failed on ...
0
votes
0answers
38 views

Two servers fail to communicate with eachother

I'm hosting an Apache Archiva instance on one server and trying to publish some files from my continuous integration server to that server. However I'm getting the following error when trying to ...
0
votes
0answers
76 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 ...
1
vote
1answer
19 views

Ubuntu + nginx , get information about virtual machine

first of all i'm not server administrator, so sorry if my question is very silly. Shed some light on the structure of the server. I have one server and in this server is two virtual machines (web_a ...
0
votes
0answers
57 views

apache start fails at loading mod_status.so

I tried to restart the apache and I got the below exception: httpd: Syntax error on line 176 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_status.so into server: ...
0
votes
0answers
11 views

How to install Apache Ant using pkgsrc?

http://pkgsrc.se/devel/apache-ant says Apache Ant is in pkgsrc. However, $ pkgin se apache-ant No results found for apache-ant $ and $ pkgin show-category devel | ack ant tre-0.8.0 ...
0
votes
0answers
69 views

Strange things with virtual hosts on Ubuntu 14.04

I struggle for a while to configure virtual hosts (on local computer for development). At last I came to /etc/hosts 127.0.0.2 todo.local 127.0.0.1 kabinet.local todo.local.conf ...
0
votes
1answer
17 views

PHP framwework, multiple sites and httpd and DNS

I'm wondering if this is possible: There is a PHP framework and someone made several sites, which can be accessible like this: .../index.php/aaa .../index.php/ccc I would like to somehow map DNS to ...
0
votes
1answer
47 views

Apache Location Authorizations Allow Unauthorized Access

I am running Apache/2.2.22. I cannot figure out how to properly enforce Apache authentication requirements. My site has two areas: Access always requires password authentication (/restricted and ...
0
votes
2answers
311 views

Install libapache2-mod-fastcgi on Cubietruck (Debian 7.8)

I'm new in the Linux world, but I wanted to install Seafile 4.0.1 on my Cubietruck (Cubieboard 3) with Apache2 and MySQL using these two tutorials: ...
0
votes
1answer
85 views

Proper create user account with permissions on CentOS/Apache

I have setup a CentOS VPS to run apache, I am having trouble with permissions when creating an account. I have setup a virtual host host to point a domain to /home/user/public_html <VirtualHost ...
0
votes
0answers
70 views

Unable to get kickstart file from locally hosted http

I'm trying to get a vm up using a kickstart file. However, whenever the virtual machine initalize, it says it is unable to located the kickstart file from the location provided. Code to build vm: ...
0
votes
1answer
71 views

why my subdomain is not accessible from the Internet?

I am using virtualhost in Centos 6.6. This is my conf file: <VirtualHost *:80> ServerName test.mydomain.ca ServerAlias test.mydomain.ca DocumentRoot ...
0
votes
1answer
352 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
3answers
51 views

Can a Linux system have two IP's Simultaneously?

Recently I installed apache2 on Raspbian and after end of installation I entered the following cmd and got two IP's. $ hostname -I 192.168.1.17 192.168.1.24 Of this, I have been using the IP ...
1
vote
1answer
23 views

Tool for migration of service configuration

Is there a tool that handles generic migration of config? For example if I have httpd, postfix, MySQL and users and groups data, is there a tool that can extract the config data for each service so ...
0
votes
0answers
11 views

Trouble with VHOSTS config

This is my apache configuration for the vhost. <VirtualHost *:80> ServerName test.mydomain.ca ServerAlias test.mydomain.ca DocumentRoot /var/www/test_mydomain/public_html ...
4
votes
1answer
81 views

Custom OpenSSL engine when running within Apache via mod_ssl

I modified my openssl.cnf to specify a custom engine for some operations. It works fine if I go through the openssl binary directly, but if I load libssl from another program it doesn't seem to use ...