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

3
votes
0answers
61 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 ...
3
votes
0answers
170 views

Traffic getting routed through Apache

for some reason, certain outgoing traffic on my server gets routed to the apache webserver i am running. this problem just started happening. i have the webserver set up to use vhosts, the webserver ...
2
votes
0answers
1k views

Apache install on Debian: configuring CGI

I installed CGI via the package manager and enabled the mod, but two hours later I still cant get it to work. My /etc/apache2/sites-available/default is: <VirtualHost *:80> ServerAdmin ...
2
votes
0answers
120 views

Problem with encrypting /var/www and ikiwiki

I tried to encrypt /var/www with encfs. To do so I did following: mv /var/www /var/www.bak mkdir /var/www_enc encfs --public /var/www_enc /var/www cp -a /var/www.bak/* /var/www/ /etc/init.d/apache2 ...
2
votes
0answers
91 views

No communication services enabled following startup

I recently installed Parsix (Debian) on my system, and I've been struggling to figure out how to autostart my services. Of the list of services that don't run and should run are: ssh apache mysql ...
2
votes
0answers
792 views

Owner & Group setting for OpenCart install on CentOS 6.3

I'm setting up a development server on a HP microserver with CentOS 6.3. I'm relatively new to Linux and have ran into some issues/confusion. I have the server fully setup/updated with yum. It's a ...
2
votes
0answers
545 views

proper permissions under HTTP root with Apache2 + FastCGI + Suexec

I currently have a setup which runs Apache2 + FastCGI PHP + Suexec. As an example, I'm using /mnt/data/www/vhosts/inflex.co.uk/htdocs as a DocRoot for one of my virtual hosts. I have a script ...
2
votes
0answers
777 views

Permissions for Apache and FTPd users

I'd like advice about permissions on directories and files on a web/ftp server. Here is my situation: Debian Server with those user:group userme:userme for SSH www-data:www-data for apache/php ...
1
vote
0answers
15 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 ...
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 ...
1
vote
0answers
109 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
22 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
13 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 ...
1
vote
0answers
39 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. ...
1
vote
0answers
31 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 ...
1
vote
0answers
45 views

xinetd apache2-proxy service unavailable

I'm using the filesharing service F*EX F*EX . If I run the service without a proxy I can reach it and it works. The service is controlled by xinetd. Now a apache2 is configured to run as proxy and a ...
1
vote
0answers
77 views

Virtual Host setup works for one server, not another

Having an issue with my virtual host set up. Used this tutorial as a reference on both: http://youtu.be/wXIJMtwmPCE Apache/2.2.15 (Unix) on both servers. Seemingly Identical httpd.conf file on both ...
1
vote
0answers
55 views

Unable to start apache

I'm running CentOS7 in virtualbox on a mac (osx 10.9.3). Ultimately, I want to acces the website on my Guest VM from my Host. I can Ping and SSH to VM but I can't acces the webpage when entering the ...
1
vote
0answers
721 views

Apache 2.2, PHP 5.3 and MySQLl 5.5 on Linux Mint 17?

Our stack consists of Apache 2.2, PHP 5.3 and MySQL 5.5. I've installed Linux Mint 17 Giana. If I install apache2 via apt, it will install Apache 2.4 which is not required for me. Is there any way ...
1
vote
0answers
100 views

Ubuntu 12.04 apache2 site shows index of instead of actual site on redmine

I have an Ubuntu 12.04 server that has a successful redmine install on it. I have been using redmine on it for a while, but when I tried to set up the SSL cert using this method, ...
1
vote
0answers
288 views

Improving TCP performance over a gigabit network

I have two machines both network cards speed is 10Gbps. The inbound bandwidth between the two machines is 10Gbps, the outbound bandwidth internet bandwidth is 500Mpbs. Both machines are using public ...
1
vote
0answers
653 views

Apache server: permission and symbolic link problem

I am using CentOS(Linux 2.6.32-431.11.2.el6.x86_64). I am trying to create an Apache2.2.15 web server. Every thing configured very well. My DocumentRoot is the default location i.e. /var/www/html. I ...
1
vote
0answers
92 views

Apache2 virtual hosts with mod_wsgi settings question

I'm running a VPS on DigitalOcean (Ubuntu 12.04). I'm using a single instance to run multiple (currently 2) websites. Originally I had one website (say, flaskwebsite.com) which uses flask and ...
1
vote
0answers
1k views

Reading apache error logs from php

I have apache2 logs at :/var/log/apache2/error.log which has permission: -rw-r----- 1 root adm 127140 Mar 20 12:54 /var/log/apache2/error.log for the sake of accessing from php I changed the ...
1
vote
0answers
153 views

Apache CGI proxy returning 502 Bad Gateway on Fedora

I need to configure Apache as a proxy on Fedora and am using a CGI script to define allowable domains. This approach has worked in the past on Windows but now on a Fedora Server I am getting the ...
1
vote
0answers
89 views

Why is Apache not respecting aliased directories?

In ssl_default.conf where Apache serves as an SSL-adding proxy for Django Gunicorn, I have: ... Alias /admin/static/ "/usr/lib/python2.7/dist-packages/django/contrib/admin/static/" ...
1
vote
0answers
85 views

Apache, svn at the root of domain with one exception

I want to setup SVN in such a way that svn.domain.com/ directly lists SVN repositories. To be able to make the web view nicer I am using an SVNIndexXSLT. But I have to serve this file somehow to the ...
1
vote
0answers
66 views

prefork doesn't appear to be listening to MaxClients in config file

Apologies in advance if this is a stupid question, I'm new to all of this! I have prefork installed on a ubuntu server which I confirmed by running aptitude search apache2-mpm- Which gave me p ...
1
vote
0answers
225 views

Service httpd is failing to start - fcgid can't create shared memory

I'm not sure why, but when I try to start the httpd service, it will not start. Server config: OS: CentOS 5.10 PHP: 5.5.7 Apache: 2.2.3 I built mod_fcgid from source, put it into the ...
1
vote
0answers
275 views

how to set up ldap and trac

I have set up kerberos authentication with trac which works well. Now I want to use AD groups and users for trac permissions using the trac plugin Configuration for LdapPlugin. I have been following ...
1
vote
0answers
148 views

Why does my CMS run extremely slow in my workstation (Ubuntu)

For over a year I have been struggling with the response speed on my Drupal v7.2x CMS install. Let me explain. I'm running Drupal 7.2x on an Ubuntu 12.10 (upgrade to 13.xx pending) for the purpose of ...
1
vote
0answers
1k views

How to configure mod_rewrite with an Alias in Apache 2.4?

How do I use apache mod_rewrite with an Alias ? I have a test directory that contains the files: correct.html index.html test_httpd.conf wrong.html I would like an example rule using an alias that ...
1
vote
0answers
19 views

Interesting numbers when apache benchmarking

[root@NOTEBOOK ~] time for i in 128 321; do sleep 302; ab -n $i -c $i https://EXAMPLE.COM/ 2>/dev/null | egrep '^Complete requests:|^Failed requests:|^Requests per second:|^Time taken for tests:'; ...
1
vote
0answers
59 views

How to customize apache mod_sec log output?

I have an apache server which uses mod_security configuration. Those logs are further analyzed and sent out to OSSEC server for intrusion detection and monitoring. That OSSEC server then sends those ...
1
vote
0answers
381 views

Debian - Apache 2.2 & mod_php - memory usage

I have a memory problem with my servers (Debian 6.0) where is installed Apache httpd 2.2, mod_php and APC. Actually it seems that httpd allocate all available memory (4GB) when is waiting too much ...
1
vote
0answers
278 views

Apache created files and its permissions for CentOS 6.x

In short, I have an authenticated HTTP-POST that: posts a jpg image (created as 666 apache:www) into /directory1 (777 ftpuser:www) creates /directory2 (created as 666 apache:www) in a 777 ...
1
vote
0answers
211 views

403 Forbidden on Sub-Folders

I am a Linux newbie and decided to do a LAMP install to start getting more familiar with it (as our company is moving more towards nix these days). Everything went great and PHPMyAdmin, MySQL, ...
1
vote
0answers
229 views

mod_rewrite: undefined symbol: lstat error

I compiled the mod rewrite for apache (version 1.3.0) however, when I try to run the server I have this error about mod_rewrite: Syntax error on line 27 of /home/myuser/apache/etc/httpd.conf: Cannot ...
1
vote
0answers
206 views

Apache configuration wont update

I have just installed this server with Ubuntu server 12.10 and then installed Apache2, however now when I run service apache2 reload or service apache2 restart it claims to have suceeded in updating ...
1
vote
0answers
195 views

apache2 gui / Comanche Replacement

I opened an OLD redhat book to the section about Apache configuration and it talked about the Comanche GUI. I thought "That's great! Why hasn't anyone suggested that before?" Then I found out that ...
1
vote
0answers
477 views

Permission issues while setting up cakephp

I am pretty new to linux and trying to setup cakephp on opensuse 12.1. I did as told on the cakephp website(blog tutorial) and most probably encountering some permission issues. I slapped the cakephp ...
1
vote
0answers
218 views

How to specify command line options for XAMPP for Mac?

Per the answer to this question: Can I have conditional statements, based on server, in .htaccess file? I want to specify a command-line option when starting up Apache on my Mac. But my Apache is ...
0
votes
0answers
59 views

CentOS 7 httpd failed to make connection with backend

In a CentOS 7 server with apache httpd 2.4 set up as an ssl reverse proxy for tomcat, I am getting an error indicating that httpd is not able to connect with tomcat. How can I resolve this error so ...
0
votes
0answers
57 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
0answers
9 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
0answers
11 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
0answers
24 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
13 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 ...
0
votes
0answers
13 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 ...
0
votes
0answers
27 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 ...