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
0answers
2 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 ...
5
votes
1answer
61 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
10 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
15 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
0answers
7 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
29 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
1answer
47 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
25 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
37 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
16 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
27 views

iptables usage from within a mod_wsgi application

In my mod_wsgi application I issue the following command to set up an iptables rule: sudo iptables -A PREROUTING -t nat -p tcp -d 10.80.0.163 --dport 502 -j DNAT --to-destination 10.80.0.163:1502 ...
1
vote
0answers
12 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
26 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 ...
-1
votes
0answers
24 views

How to view “Compiled in modules” in apache 2.4?

I have reference this article to install "apache 2.4.10" in "centos6.5 x64" install folder is "/opt/rh/httpd24" and configure file is "/opt/rh/httpd24/root/etc/httpd/conf/httpd.conf" now i can start ...
0
votes
1answer
36 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 ...
0
votes
0answers
23 views

Internal Apache rewrite failing

As of this morning these Apache rewrite rules no longer work: RewriteRule ^/dir/nicelynamedpaged /index.php/some.jsp?querystring=8382 [PT,NC] The expected response is: 1) A user goes to this url ...
2
votes
1answer
45 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 ...
1
vote
1answer
69 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 ...
2
votes
1answer
32 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
36 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
56 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 ...
1
vote
0answers
13 views

Http taking all swap [closed]

I have a dedicated server running centos&cpanel with 2 GB of ram where I host several websites. All are wordpress + 1 opencart. Every 2 days or so the swap memory get consumed and server load ...
3
votes
2answers
209 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
0answers
48 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
14 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
33 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
108 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
26 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
35 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
57 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
93 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
28 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
32 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 ...
16
votes
7answers
12k 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
27 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
39 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
14 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
56 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
47 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.
2
votes
1answer
227 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 ...
0
votes
1answer
31 views

Apache redirect 301 parent directory don't work

I need to redirect 2 similar path to same webpage, es http://www.domain.com/foo --> http://www.domain.com/ok http://www.domain.com/foo/bar --> http://www.domain.com/ok I have this in .htaccess: ...
0
votes
0answers
23 views

CentOS 6.5 Apache redirection from external access

I'm quite new to the whole CentOS thing, and I'm running into a few issues. I had LEMP installed, although that faced the same error so I switched to LAMP, I'm now working with that. When I view my ...
0
votes
0answers
226 views

Upgrade apache 2.2 on CentOS 5.1

I need to UPGRADE Apache on a CentOS 5.1 server. Its currently at 2.2.14 and I want to bring it up to the latest 2.2.29. Upgrading the OS is not an option, and I don't want to install Apache 2.4 and ...
0
votes
0answers
51 views

Dynamic Apache configs and virtual hosts

I have a problem with understanding how some things work in apache2. For example. I would like to configure Apache as a standard (forward) proxy and as a reverse proxy. Lets say I will use centos ...
1
vote
1answer
61 views

Securing www directory in Ubuntu/Apache without restricting access to those who need it?

I'm on my first time setting up an Apache2/Ubuntu web server and I'm stuck as to how to achieve the security settings I need. On the www folder - the web root - my www-data group (the apache and PHP ...
0
votes
0answers
37 views

How to change the default site hosted by the ip address of a linux plesk server?

I have a Plesk Ubunutu VPS that had until recently one domain setup. If I accessed the IP address of the server I see the site setup on the domain. The problem is that I've now added a second ...
3
votes
3answers
207 views

Why thepiratebay.se showing the content of /var/www/index.html?

I have elementary OS Luna, which is based on ubuntu 12.04 LTS. I have installed apache2 and turned it off. Now when I am opening thepiratebay.se, it is showing the content of /var/WWW/index.html. ...
0
votes
0answers
167 views

FTP connection to Linux Mint: 550 Permission denied. Error: Critical file transfer error

I am using Linux Mint and Apache on my laptop as my own made web server. I can display the html file if I connect to the IP adress. I can display all files in my hard drive if I connect using ...
0
votes
1answer
38 views

Apache - Allow access for folders starting with /

I'm running apache in a linux environment. I've to serve files whose directory structure have "/." in it. Now, apache by default won't allow files with /. To remove the constraint, I've included the ...
0
votes
1answer
92 views

How to determine Apache user from the command-line?

There is a question about the group, but I couldn't find any question/answer for getting the Apache user. Therefore how to determine Apache user from the command-line?