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
3 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
16 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 ...
0
votes
0answers
12 views

Sudo command not found, error in jenkins execute shell

When I am executing a command in jenkins job (execute shell) with sudo, it throws an error like this: ..../bin/sh -xe /tmp/hudson7505852448142784880.sh + sudo whoami ...
1
vote
2answers
41 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
10 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
20 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
34 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
58 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
19 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
23 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 ...
13
votes
7answers
6k 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
21 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
37 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
11 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
31 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
18 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
87 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
25 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
17 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
127 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
36 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
48 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
20 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
164 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
114 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
31 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
59 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?
1
vote
0answers
27 views

Hosting Multiple Websites on Webmin

I set up a couple of Virtual Servers (websites). The problem is, does not matter what URL I use, I will always be redirected to the first one Virtual server I created. Here is the redirective text ...
0
votes
1answer
44 views

Can somebody explain The Debian Apache2 configuration files conundrum?

I am a newbie to Apache2.4. I know I am running the said version because of :- $ sudo apache2ctl -v Server version: Apache/2.4.10 (Debian) Server built: Jul 23 2014 13:15:48 Apparently there are ...
1
vote
1answer
796 views

where in Apache2 do you set the Servername directive globally?

NOTE: This is related to my question: "apache 2.4 won't reload, any problem with my configuration?". The thing is I'm trying to test a local site, locally. As I understand Apache2 (and perhaps ...
28
votes
4answers
1k views

Does /usr/sbin/nologin as a login shell serve a security purpose?

In my /etc/passwd file, I can see that the www-data user used by Apache, as well as all sorts of system users, have either /usr/sbin/nologin or /bin/false as their login shell. For example, here is a ...
4
votes
2answers
63 views

Apache 2.4 won't reload, any problem with my configuration?

I'm trying to get a VirtualHost file which was written in Apache 2.2 to work in Apache 2.4 and while I've done some changes to it, it doesn't pass the Apache configtest. The idea is to locally test ...
-1
votes
1answer
87 views

How to change file owner from root to apache?

I am using apache server on Linux fedora 17. I have one php code which creates a .ini file. If I create the .ini file by running php code through apache web server then rest php code files are able to ...
0
votes
1answer
24 views

Incorrect Directory Index

I am attempting to load as the default DirectoryIndex home.html, but the site keeps jumping to index.php. Website is built on WordPress. httpd.conf DirectoryIndex index.html home.html index.php ...
0
votes
1answer
36 views

How to give apache web directory access to other FTP user where parent directory is restricted

I tried hard but not able to give access of web directory to other user for FTP. Below are the directories which are under directory /var/www/html 1) nice_call 2) poor_call 3) great_call ...
0
votes
0answers
26 views

Archlinux ARM Apache server fails to start

I am currently setting up an Apache web server on my Pi running on Archlinux ARM. After installing and making the first small configurations I have tested it and it works. Then I stop the server and ...
2
votes
2answers
44 views

Where to turn first when out of free space on Cent OS Web Server?

I am a very new Systems Administrator. I have a Windows background and am now a Jr. Systems Admin working with Cent OS 5. Our web server runs Cent OS 5 and uses PHP/MySQL for our web applications. ...
-2
votes
1answer
51 views

Linux basic web server setup and access [closed]

very simple questions: I installed CentOS7 and Apache on my work PC (connected to my company's network with a given IP address). No other OS installed, just Linux. I created a simple hello.html file ...
0
votes
0answers
7 views

How find the reason why .so library does not included in ZendServer CE

I've installed phalcon.so library. I compiled it (http://phalconphp.com/en/download) and moved to /usr/local/zend/lib/php_extensions It works perfect until I update Zend Server from 5 to 6. After ...
-2
votes
2answers
43 views

Apache web server configuration with a DNS server Linux 14.04 LTS [closed]

I need to configure a Apache web server with a DNS server, it can be a simple local server configuration just to practice and see how a DNS server resolves a URL to an ip address and connects to a web ...
1
vote
1answer
264 views

Apache's 000-default.conf - weird behaviour

I'm trying to achieve a redirect from domain.com to www.domain.com (non-www to www). My sites-available/domain.com.conf file looks like this; <VirtualHost *:80 *:443> ServerName ...
1
vote
1answer
72 views

Mitigating BEAST Centos 6.5 Apache 2.2

I'm trying to get my system to pass a BEAST scan, it seems no matter what settings I use, an error is always returned stating that TLS 1.0 is enabled. I'm using Qualys SSL Labs to test ...
0
votes
1answer
412 views

Apache2 not reading sites-enabled/*.conf

So I'm trying to set up my site with Apache on Ubuntu 14.04. I have created a mydomain.com.conf file in sites-available/. It looks like this; mydomain.com.conf <VirtualHost *:80> ...
0
votes
0answers
49 views

How to edit the “Internal Server Error” without redirecting to somewhere else?

On the web this is what I see: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, ...
1
vote
1answer
97 views

How to ensure a bash script is executable via web without being in /cgi-bin directory?

My document root is /0/ i do not have any cgi-bin directories. this is my virtual host with apache: Listen *:80 DirectoryIndex 1 <VirtualHost *:80> DocumentRoot /0 ServerName domain.tld ...
-1
votes
1answer
33 views

How to diagnose the problem when Apache at random times shows “Not Found” on the web?

Suppose I reload my web site 100 times by holding down Ctrl+R on my keyboard. I notice once in a while Apache throws out a Not Found error message. If I refresh again, everything works normal ...
0
votes
0answers
36 views

Problem configuring Access Control on Apache

I have a little Debian Server which runs Apache 2.2.22. I have configured, with WebMin, a Apache Webserver that listens on the port 83. Now, in the root directory of this Webserver I configured the ...
-1
votes
1answer
25 views

How to edit all Apache's error codes DIRECTLY instead of using httpd.conf?

When a page does not exist.. this is what i see on the web : Not Found The requested URL /test was not found on this server. i know about : ErrorDocument 404 /test.html but i rather not use ...
0
votes
1answer
33 views

Running Apache server causing machine to run out of space

I was running my Apache server on RHEL 5.5, and noticed when I typed: df -h, that I was getting: [root@localhost log]# df -h Filesystem Size Used Avail Use% Mounted on ...
1
vote
2answers
16 views

Linux apache set custom launch page Virtualhosts

I set up DNS and virtualhosts on my Linux system but when surfing to ex: www.vb1.be it shows the correct directory (home/vb1/) and their subdirectories. I know this is because the main html file that ...