Use the 'apache-httpd' tag instead! This tag is being retired. Questions about web servers in general should use the 'webserver' tag. You might be looking for 'tomcat' or 'apache-ant'. If your question is specifically about VirtualHosts, use 'apache-virtualhost'.

learn more… | top users | synonyms

0
votes
1answer
99 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
363 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
686 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
299 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
260 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
235 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
50 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
178 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
200 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
820 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
208 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 *:...
1
vote
3answers
107 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
485 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
600 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
822 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
433 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
240 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
944 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
135 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
474 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
596 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
1answer
2k 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
354 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
184 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
220 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
366 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
171 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
173 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
296 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
73 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
117 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 ...
0
votes
0answers
527 views

How to properly install Apache, MySQL, and PHP on Ubuntu 10.4

I have followed a guide on how to install Apache, MySQL, and PHP on my laptop running Linux (Ubuntu 10.4) It appears I have it installed correctly but when I am not sure. I followed this guide here: ...
0
votes
2answers
2k views

Apache Virtual Host not working on Ubuntu 14.04 LTS

I've been using this tutorial to set up an Apache virtual host on my Ubuntu PC. I've created a no-ip domain which I will be using as the hostname of my virtual host. I've followed every step of the ...
1
vote
1answer
929 views

Where apache's /tmp located?

I was just advised to re-ask my question from http://security.stackexchange.com/questions/72795/command-execution-dvwa-creating-file-in-tmp here. I use CentOS 7, and I'm trying to understand command ...
1
vote
0answers
122 views

How to get SELinux to prevent Apache/HTTPD from reading specific files

What am I missing with SELinux? I thought it was supposed to be another layer of security but I built a web page vulnerable to command injection and it can basically traverse most of my file system. ...
1
vote
0answers
54 views

SELinux. Prevent Apache/HTTPD from reading specific files.

What am I missing with SELinux, i thought it was suppose to be another layer of security but i built a vulnerable web page vulnerable to command injection and it can basically traverse most of my file ...
2
votes
1answer
211 views

SSL certificate for a local apache server

I am currently experimenting with a local server running apache / owncloud. Eventually I want to make it available from the www, but I am not quite there yet... The server is named smallserv.lan, the ...
2
votes
1answer
743 views

fail2ban works fine on bad SSH attempts, but fails on bad Apache2 attempts

I'm running Debian Linux. uname --all shows: Linux xxx.xx 2.6.32-5-686 #1 SMP Tue May 13 16:33:32 UTC 2014 i686 GNU/Linux I'm running sshd on a port that is not 22. I've updated /etc/fail2ban/jail....
3
votes
1answer
756 views

Apache2 Evironment Variables Missing at boot up

How do I fix apache2 so that it starts with its environment variables? My system is Linux Mint 17. I installed Apache2 with this command: sudo apt-get install php5 libapache2-mod-php5 Testing with a ...
0
votes
1answer
111 views

Synaptic error when attempting to downgrade Apache

I'm having an issue with Apache 2.4.10 and PHP 5.6.2. Specifically, Apache has suffered from segmentation faults when I attempt to access certain files on my localhost through the browser (full ...