The apache web server.

learn more… | top users | synonyms

0
votes
1answer
23 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 ...
3
votes
3answers
5k views

How to check which Apache group I can use for the web server to write?

I'm trying to make Wordpress work. I currently have this error message: Could not create directory. /var/www/html/wp-content/upgrade/theme_name when trying to upload a theme. This is the ...
0
votes
1answer
19 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
13 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 ...
3
votes
3answers
325 views

Apache Server on different disk partitions

I have an Apache server installed with Debian. Later, I partitioned my hard drive and installed Ubuntu on the new partition. Afterwards, I realized I could not access my Apache server while booted ...
1
vote
1answer
38 views

apache mod_security and performance

I have a list of bots to block, so I was thinking that fail2ban could be a solution until I realized that mod_security would be more efficient in this kind of tasks. The number of bots is huge, so ...
24
votes
3answers
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 ...
1
vote
1answer
37 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 ...
4
votes
2answers
20 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 ...
-2
votes
2answers
26 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
votes
1answer
30 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
2answers
426 views

yum install mod_auth_token not working on CentOS

On CentOS 6.5 how do I make yum install mod_auth_token work these days? According to my own HOWTO I wrote 12 months back, you used to be able to just type it now you have to DIY it, which is bad ...
3
votes
1answer
1k views

Apache 70007 and 70014 errors [closed]

I have a service where mobile phones send a big hash of data to our server which are sitting on AWS behind the ELB. Once in a while we receive 70007 and 70014 errors in the apache error logs, the ...
0
votes
1answer
18 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
11 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
6 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
40 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
35 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 ...
1
vote
1answer
13 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
0answers
5 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 ...
1
vote
1answer
42 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 ...
0
votes
1answer
45 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
8 views

Apache 2.4 mp4 streaming out of the box [migrated]

I used mod_h426 to stream mp4s on Apache 2.2. I've updated Apache to 2.4, which obviously broke the mod, so I had to recompile it. But I tested my vod setup without the mod, and mp4s stream just fine. ...
0
votes
0answers
38 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
38 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 ...
0
votes
1answer
30 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
votes
1answer
29 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 ...
4
votes
3answers
9k views

Apache installation configuration can't find PCRE? ( pcre-config for libpcre not found )

These are the requirements and instructions on how to install Apache on Linux. http://httpd.apache.org/docs/current/install.html So I've installed everything (c++ compiler, apr and apr-util) to be ...
1
vote
2answers
324 views

apache, tomcat context path

I have Tomcat and Apache installed in CentOS 5. They're integrated with a help of mod_jk.so. They both display the same in http://www.tource.com/cms/admin and http://www.tource.com:8080/cms/admin ...
0
votes
0answers
26 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 ...
0
votes
2answers
667 views

Apache Tomcat not working

I am a Linux beginner and have CentOS 6.4 installed on VMware. Recently installed Java SE8 and Apache Tomcat server but I cant't connect to the server by using `localhost:8080' browser says Unable to ...
-1
votes
1answer
24 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 ...
1
vote
1answer
708 views

Apache + mod_fcgid + chroot with mod_security. CentOS/RHEL 6

I am trying to setup a web server running Apache + mod_fcgid + mod_security chroot enabled and having a real hard time to get this working. Apache was installed from official CentOS repo and mod_fcgid ...
2
votes
1answer
44 views

Serving webpages with Apache on Ubuntu server

I've set up an old machine running Ubuntu server 13.1. I can access it remotely with webmin and I was able to install apache that way. What I would like to be able to do is to put web pages and be ...
0
votes
2answers
68 views

My local DNS don't resolv specific hostnames IP's

I've been trying to accomplish a DNS set up on my local machine using Linux and CentOS. I've been following couple of tutorials and eventually everything seemed to work but when surfing to my ...
6
votes
3answers
1k views

How can I set up Apache to use port 1 and other ports below 80?

The mysql user cannot use ports below 1024 because these are reserved for the root user. Apache, on the other hand, can use port 80. Apache runs as root before it runs as Apache and thus it can use ...
1
vote
2answers
15 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 ...
3
votes
1answer
452 views

suexec with chrooted environment

I'm trying to get a chrooted Apache environment working running mod_fcgid with suexec. Looking at suexec log inside jail, the wrapper scripts are being executed with no problems, however, when I look ...
1
vote
0answers
31 views

Can't install WP plugin with wp-user:www-data 775 permissions [closed]

Setup is on Ubuntu 14.04. Apache2 running under www-data Wordpress was installed with wp-user:wp-user directory ownership. I added wp-user to the www-data group and change group ownership of the ...
1
vote
1answer
389 views

Apache fails to start after changing cert and key

The problem appeared after I changed https certificate and key. sudo /etc/init.d/httpd restart shows this: Stopping httpd: [FAILED] Starting httpd: [FAILED] Apache's error_log: [Tue Dec 03 ...
0
votes
0answers
19 views

DNS local area vs DNS Virtualbox

I have been trying to set up a DNS server on my system using Linux and bind. (I'm working with CentOS and Linux on my Windows 7) On my Linux everything seemed to work:I can access my server and ...
1
vote
1answer
2k views

Apache2 does not run on IPv4 tcp port

Can you help me please. I need run Apache2 on my Debian 7 server. But it run only on tcpv6 port, not on tcpv4 port. I installed it with apt-get install. I read some tips for this problem, but it does ...
1
vote
1answer
3k views

Apache “RSA server certificate CN does not match server name” error

I have an apache installation with some name-based vhosts and a SSL certficate with CN=maindomain.com and DNS Alternative Names for the all the vhosts (sub)domains. However, this setup gives warnings ...
0
votes
1answer
9 views

How to configure Apache Rivet on openSUSE with YaST2

I need to configure my Apache web local server to view Tcl Apache Rivet web dynamic applications. The problem I run into is my browser forces me to download the file, so Apache doesn't interpret the ...
1
vote
1answer
525 views

yum - No package httpd available (new VPS)

So I have a new VPS that only has the bare bones. Not what I was expecting at all and I may be well past my depth but I'm trying to get the essentials running. The host is Swedish and aggressively ...
3
votes
2answers
889 views

Apache config in sites-enabled not being detected?

I'm trying to set up my new redhat server and I have apache config in my /etc/httpd/sites-enabled folder, but when I run /usr/sbin/httpd -S as root to check the syntax, it just returns: ...
0
votes
1answer
355 views

Multiple PHP Versions / cPanel with mod_fcgid

I'm trying to get multiple PHP versions working on a cPanel server which was compiled with mod_fcgid and PHP 5.3. Below is the PHP config generated by cPanel. AddHandler fcgid-script .php5 .php4 ...
0
votes
0answers
13 views

I think I messed up my Apache on Webmin

Ok, so I'm pretty new to webmin and have been playing around with configuring apache. Today I was constantly getting errors with my virtual host set up, so thinking I had messed up some config file or ...
2
votes
1answer
162 views

LAMP Hardening, Transparent Proxy with iptables

I'm running a LAMP server with FTP(S) and several users. The users have only access to uploading PHP files and other web content. Some are running Drupal and Wordpress, but also a few home made stuff. ...
1
vote
0answers
20 views

How to install mutliple PHP instances and configure for Apache

I need to upgrade my PHP installation on CentOS 6 from 5.3 to 5.5. While I have a couple of webprojects running I like first to install the new PHP in parallel and switch back to the old one if ...