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

1
vote
0answers
103 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
100 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
967 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
1answer
612 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 ...
0
votes
0answers
75 views

Unable to Install and Configure Apache Wave on CentOS

I have been going about this for a few hours now and I am stuck at this point. I am installing Wave on CentOS per the instructions found Here. I get to the point where I use ant to grab the third ...
0
votes
1answer
549 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
0answers
56 views

Error to install svn on ubuntu 14.04

I tried to install SVN on ubuntu 14.04 and got the following error: $ sudo apt-get install subversion apache2 libapache2-svn apache2-utils * udev requires hotplug support, not started ... fail! E: ...
0
votes
1answer
66 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
77 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
23 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
101 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
155 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 ...
-1
votes
2answers
175 views

Cannot disable SSLv3. Followed guides and forum posts

I am having no luck disabling SSL3 on CentOS 6. I have followed guides and forum posts to no avail. grep -Ri SSLProtocol /etc/httpd Binary file /etc/httpd/modules/mod_ssl.so matches ...
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 ...
0
votes
0answers
36 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 ...
7
votes
1answer
22k views

“403 Forbidden - You don't have permission to access / on this server” - apache2 localhost on Linux Mint 17

Desired Behaviour To be able to access localhost in browser without getting 403 Forbidden message. Current Behaviour Navigating to localhost in browser returns: Forbidden You don't have permission ...
0
votes
1answer
2k 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
56 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 ...
1
vote
1answer
20 views

Domjudge keeps Not Authenticated

I am trying to install Domjudge in my VPS. After I run ./configure, make and config database I login at /public/login.php with the user/pass: judgehost/judge but it doesn't log me in. I try at ...
0
votes
0answers
221 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
546 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
153 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
995 views

Debian PHP5 is 500 Internal Server Error after install, folowed Debian LAMP Wiki

Im trying to setup debian lamp stack for a live production server, im following the wiki at https://wiki.debian.org/LaMp, I have Apache2 working from the /var/www and from my user ...
1
vote
0answers
64 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
37 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
102 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 ...
0
votes
1answer
57 views

to check the url is live

I have written a script to check if our three URLs are up else echo down.now the problem is even if the URLs are down in that script I get the message URLs are up In the code I have greped 302 ...
2
votes
1answer
472 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 ...
2
votes
1answer
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 ...
3
votes
1answer
225 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
86 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 ...
1
vote
1answer
388 views

Trouble updating Apache - mod_deflate APR_INT32_MAX undeclared

I am currently trying to upgrade apache from 2.2.8 to 2.2.29 and am running into some trouble. I configured the makefile like so: ./configure --enable-mods-shared --enable-ssl --enable-rewrite ...
3
votes
2answers
2k views

Apache disable SSLv2 SSLv3

I know that there are some Questions around here that comes along with this Topic. But I really don't know what I can do anymore. So here's the point: I am using Apache 2.2.22 on OpenSuse 12.3. The ...
3
votes
1answer
175 views

Setting up domain with multiple servers

I am setting up a small web hosting service for my clients. I have my dedicated server which will be the shared server to host clients websites using WHM/cPanel. I have a separate VPS server that I ...
0
votes
1answer
26 views

How can I get my Apache server to point to the correct location?

I am trying to point my apache server to use various packages I have in my Eclipse workspace which is not located in the default Apache server directory. So far, no luck, all I get is Not Found error. ...
0
votes
0answers
45 views

VirtualHost configuration not working

I followed this article, mixed with some other research, in an effort to get VirtualHost configuration up and running on my Mac. However, for some reason when I navigate to my local.site.rocks URL it ...
1
vote
2answers
2k views

Apache not listening on port 443

I've purchased an SSL and I'm trying to set it on a browser. The port is forwarded in the router to the server, and I believe that SSL certificate is installed correctly (the apache starts OK). I ...
0
votes
0answers
161 views

How to Install PHP 5.3.7 On Godaddy Linux VPS using SSH

I have bought a New VPS from Godaddy. They supported PHP 5.3.5 earlier and then 5.4.34 but I need to use PHP 5.3.7 on my VPS.
1
vote
0answers
85 views

how to cache files in chrome

I have a web application in that i want some of the files should always be cached like for atleast 24 hours in chrome browser. For that i have done some configuration in my apache webserver 2.4.9. ...
3
votes
1answer
139 views

Why isn't Firefox 33 use GCM on our webserver?

We have a webserver (Ubuntu 12.04) with apache2 2.2.22-1ubuntu1.7. From client side with openssl: $ echo QUIT | openssl s_client -connect OURSERVER:8080 2>/dev/null | egrep "Cipher is|Protocol" ...
1
vote
2answers
198 views

Still vulnerable after disabling SSLv3

I'm trying to disable SSLv3 to avoid the Poodle problem. I'm using the following instructions as a guidleine: https://access.redhat.com/solutions/1232413 I've applied the following line to my config ...
1
vote
1answer
65 views

Files are being uploaded with full write permissions

A CMS that I manage uses TinyMCE to allow users to write blogposts. TinyMCE has an image uploader. Recently, like in the last couple of months, the image uploader has started uploading images to our ...
0
votes
2answers
83 views

HTTPD/apache 2.4: strange problem with alias

On httpd 2.4 alias /repo /repos <Location /repos> Require ip 192.168.0.7 </Location> I can reach repos but no repo(403 forbidden) if i use directory instead of location nothing change ...
41
votes
7answers
50k views

How to disable SSLv3 in Apache?

Everybody seems to be talking about the POODLE vulnerability today. And everybody recommends disabling SSLv3 in Apache using the following configuration directive: SSLProtocol All -SSLv2 -SSLv3 ...
0
votes
0answers
55 views

Should speed/cache settings go into the virtual host file or the apache config?

Some CMS's or websites don't seem to like all the speed settings we use so we've been putting the following into each virtual host file: # SPEED SETTINGS # ...
0
votes
1answer
46 views

Should virtual host files contain two <directory> directives?

We've heard that a good security practice is to reset everything in the virtual host to allow nothing, then have another directive to allow specific access - something like this: <VirtualHost ...
0
votes
0answers
34 views

JBoss cluster reporting “Caught TimeoutException acquiring ownership”

We got an Apache load balancer which forward requests to both WebLogic and JBoss clusters. Both clusters work fine until the load balancer gets flooded and there are waiting requests. When this ...
1
vote
1answer
190 views

Request header for Cache-Control not working

I have set Cache-Control in apache for 1 week for my JS Files but when i check in the browser Cache-Control shows no-cache. Where i am missing the configuration ? Below is my configuration in apache ...
0
votes
0answers
292 views

How to update apache 2.2.12 to 2.2.15 on SUSE enterprise linux server 11?

I have a requirement where I need to upgrade my Apache on SUSE enterprise Linux server 11 from 2.2.12 to 2.2.15. I tried searching on web but couldn't get any definitive answers.
3
votes
1answer
3k views

Why does my systemd unit fail to run on server reboot?

I'm having troubles getting a systemd service unit file to run correctly when the server reboots. This server is a fresh CentOS 7.0.1406 install. I'm trying to set it up with multiple Apache httpd ...