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

2
votes
0answers
115 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
246 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 ...
1
vote
1answer
188 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
466 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
1answer
128 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
104 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
238 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
93 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
352 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
47 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
1k 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. ...
1
vote
2answers
610 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
287 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
63 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
2answers
231 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
38 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
228 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
49 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
176 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
194 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
1answer
812 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: http://manual.seafile.com/deploy/...
0
votes
1answer
205 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 *:...
2
votes
2answers
2k 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
104 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 ...
0
votes
1answer
450 views

Sporadic connection errors ssh_exchange_identification: Connection closed by remote host

Most of the time ssh user@mydomain.com works fine, but sometimes I get this error message: ssh_exchange_identification: Connection closed by remote host Is there a log with all these errors in ...
0
votes
1answer
572 views

How to set up custom domain name

Hello I have a Fedora 21 server OS and I would like to host a website on it. How can I configure my customised web address for example isaacme.com. I am using Apache!
0
votes
2answers
807 views

VirtualHost with mod rewrite pointing at tomcat application

I am setting up a server running on Ubuntu 14.04. I have apache and tomcat installed with the rewrite module for apache and mod_jk enabled. I have mod_jk properly configured so apache is forwarding ...
0
votes
2answers
65 views

CentOS server to be used to internally issues

I have a CentOS 6 server here in our IT dept. and I want to install Nagios on it for some more network and enterprise insight. It has a internal IP that matches the network scheme as well as a ...
2
votes
1answer
400 views

Apache2 'Server' header reports wrong openSSL version

Does anyone know where the Apache 'Server' header pulls the openSSL version from (file location/directory)? I am expecting openssl-1.0.1j but apache is reporting openssl-1.0.1g (system's openssl ...
0
votes
1answer
226 views

Create folder as Apache with user add Centos

I have a windows drive that's mounted onto my Linux server. PHP and Apache web server needs to create folders on the windows drive with (mkdir) but I get permission error. I have mounted my windows ...
1
vote
3answers
915 views

Cannot run Perl code as CGI script

I am using Arch Linux with httpd web server and webpage works ok. I had to add "Reboot" button on webpage and now I want to run a Perl CGI script, reboot.cgi, which so far only contains "Hello world" ...
0
votes
1answer
127 views

Why won't my BIND / Apache configuration work?

I am trying to set up a BIND configuration with an Apache webserver. What I am trying to achieve is to by using the URL www.exampler.net access the content that can be found on my Apache webserver's /...
2
votes
3answers
456 views

How can I run Linux shell scripts which needs root privilege from a web page

I'm trying to run a linux shell script which requires root privilege via Apache, Is there any way to run scripts which needs root privilege, rather than setting suid and sudo privilege to Apache. I'...
2
votes
0answers
77 views

Linux Apache VM Port Issue

I have a RHEL VirtualBox VM in bridged mode so it can be accessed from the LAN. RHEL hosts an HTTPD server configured to listen on ports 80, 8080 and 8181. netstat -an | grep :8 confirms that port 80, ...
3
votes
1answer
573 views

httpd doesn't serve relative url from tomcat, why not?

In a CentOS 7 server, I am trying to set up httpd to act as a reverse proxy for tomcat. I have httpd running perfectly in the sense that I type in http/mydomain.com and it serves up static content ...
1
vote
0answers
20 views

SSL (Hosted on LB) to be installed on the Downstream Apache Servers?

First, i have very basic knowledge on the SSL topic. Here is my setup. I have (1) of Public Facing Domain on LB and (2) of Internal Domains on each Web Servers. Like: [https://public....
1
vote
1answer
1k views

Apache server allow access from the local network

I have installed fedora server, and I cannot seem to get web requests through to it. I can ping it fine, and apache is functioning fine on the machine as far as I know. I have the listen on httpd....
0
votes
1answer
342 views

ErrorDocument CGI not executing, source displayed

On Apache HTTP server 2.2, the ErrorDocument has a PHP CGI script in my configuration which shows a nice message and reacts to multiple error codes and shows additional information for each. This ...
1
vote
0answers
175 views

How to configure nginx to dynamically read folders, user accounts/domains?

I have cPanel and Apache 2.4 on my CentOS 6.6 VPS. I installed Nginx as a reverse proxy. Everything works fine. I have 2 domains on the VPS & I'm able to configure them both on nginx. The ...
0
votes
1answer
212 views

Apache / php config for production & staging & development

I have a server that has a production server a staging sever and a development server. I maintain code by changing it on the development server testing it. Then staging it and testing it and then ...
0
votes
1answer
4k 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 ...
1
vote
1answer
2k views

compiling php 5.4 and higher with mysql

i'm running a pile of mediawiki instances on oracle enterprise linux and i'm trying to upgrade from 1.19.x to the latest LTS version, 1.23.x. i'm currently using php 5.3 and due to some odd issues ...
0
votes
1answer
339 views

Basic authentication apache don't work

i have a problem with Apache, i need protect the site folder with a password, i have made too many times but in this server don't work and do not know how to do. I insert this to .htaccess file: ...
0
votes
0answers
161 views

How to grant sudo permission for a .py script on a apache folder?

I've exemplo.py in an folder /opt/lampp/htdocs/cgi-local/exemplo.py folder. The script creates a socket that needs super user permissions. My question was a little confusing? I need to access ...
0
votes
0answers
34 views

Apache 2: SSL installation & getting an example website running

I'm really stuck here and this is an assignment. I'm using "CentOS Linux 7". If anything I say doesn't make sense, I'm pretty much a noob. First off, I did yum install mod_ssl openssl. Are there ...
1
vote
1answer
167 views

batch-rename all config file endings to conform to apache 2.4

since apache 2.4 all files in /etc/apache2/sites-available and sites-enabled have to be named with the ending .conf Now on my server I have a lot of these files, renaming the files in sites-available ...
0
votes
1answer
289 views

Hosting on Apache/2.2.22, scan says outdated

I am web hosting websites on Apache/2.2.22 and did a security scan. The scan said the server software is outdated, the web hosting provider says its not outdated and a stable. Someone uploaded ...
0
votes
0answers
68 views

Uninstall apache2 when apt-get claims it's not installed?

I restarted the VPS today only to find out that Nginx refused to start. As it turns out, Apache2 was running on the server already. Naturally, I stopped it and started Nginx, but I never installed ...
2
votes
1answer
6k views

centos folder permission ftp user and apache

I have some folder, need anybodies php scripts can create sub folder/files and unlink files. I do sudo chown -R apache:apache /var/www/public_html/a But after that, my ftp user cannot upload files ...
0
votes
0answers
112 views

Accessing CentOS7 server from public

recently I switched to CentOS 7 OS and set up basic webserver with Apache. I had no problems configuring SSH, FTP and LAN access to the webpage. But accessing from other IP's won't work. I'm 99% sure ...