The apache web server.

learn more… | top users | synonyms

0
votes
1answer
52 views

why is my php script slower on debian than freebsd?

We moved a web-based application to a new server recently, but the new server seems to run slower than the old one. The old server was FreeBSD 7 with Apache 2.2, mod_php 5.3, and mySQL 5.1. The new ...
1
vote
1answer
58 views

Web server seems to keep serving old images, issue with Apache & VirtualBox?

I'm asking this here because I'm pretty sure it's a Linux issue. I'm running Apache server locally on Ubuntu Server 12.10, which runs inside a virtual machine (VirtualBox) on Windows 7. The "www" ...
1
vote
0answers
46 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
2answers
119 views

HTTPS Redirecting to Subdomain

I have a subdomain at https://mail.example.com with a valid certificate. However, if someone were to accidentally type in https://example.com to the address bar, the certificate for the mail server is ...
0
votes
1answer
126 views

Configuring Apache 2.4 for CGI on FreeBSD

I am trying to run CGI on FreeBSD 9.2. I installed Apache 4.2 (pkg install apache42) Configured it to load CGI module. Also, I did chmod a+x on files in cgi-bin directory. And when I connect to ...
0
votes
0answers
40 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
3answers
3k views

Open port 80 in CentOS 6.5

I'm trying to open the Port 80 in my CentOS 6.5, on my virtual machine, so I can access the apache from my desktop's browser. If you take a look at the screenshot above.... I've added the line ...
2
votes
1answer
97 views

Apache throws 403 Forbidden after moving DocumentRoot (CentOS 6.4)

I installed Apache via yum on CentOS 6.4. I changed the DocumentRoot in /etc/httpd/conf/httpd.conf to point to /home/djc/www: DocumentRoot "/home/djc/www" <Directory "/home/djc/www"> ...
1
vote
2answers
44 views

VM webserver for testing

I have a VM webserver setup and I have installed and started Apache. The VM has a bridged network interface and can be pinged from the host using 192.168.0.2. However, if I type that same IP address ...
1
vote
0answers
24 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 ...
2
votes
1answer
287 views

Allow all users can write files/folders of user “apache”?

I run Apache 2.2.15 on CentOS 6.4 When a web local run a function and it created files/folders owned by user "apache". I can read these files/folders via samba but i can't write/delete them. I've ...
0
votes
2answers
126 views

How to set the default domain for a new Roundcube webmail user?

New Roundcube identities get a '@localhost' domain part for their Email address. That is kind of useless. I would rather have Roundcube take the Apache HTTP host (minus a possible 'www.'), since my ...
1
vote
5answers
234 views

Does LAMP Stack have a GUI?

I just bought a VPS server with LAMP. I have SSH access, however no clue how to use LAMP. I used to work with cPanel in the past. So far, when I type the server address I get the default "Apache 2 ...
1
vote
1answer
143 views

Apache - Generate private key from an existing .crt file

I have some apache instances running smoothly with a home-made generated certificate. Now I have to use a provided certificate, but what I had sent is only a .crt file. In tried to copy it into the ...
1
vote
0answers
58 views

Mail server broken my LAMP installation

I was installing mail server, postfix/sendmail I suppose. Then I had no need to use it anymore so I removed it. But now when I type localhost in my browser it redirects me to https://mail.example.com. ...
1
vote
0answers
786 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 ...
1
vote
1answer
64 views

Weird memory spikes in Debian VPS

I run a medium VPS (4GB RAM) as a web server. I host some private Ruby on Rails sites with Apache and mod_passenger. I also have two legacy apps which run with "passenger standalone" (two Nginx ...
1
vote
1answer
29 views

Monitoring PHP file access with loggedfs - access denied

I am trying to see how many files are included for each page call on my site. When I run: sudo loggedfs -f /path/to/webroot I get a printout of files - I think from a cron job that might be ...
1
vote
1answer
83 views

Worker MPM or Prefork?

I understand that there is a comparison topic between the two modules but this is different. I was contacting cPanel support in order to help me freeing up some memory usage on the VPS. They found ...
1
vote
1answer
76 views

where is `/var/www` in arch

I install Apache web server in arch Linux, my Apache work(when i type localhost in my browser see this: Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/1.0.1e DAV/2 PHP/5.5.7 Server at localhost Port 80 ...
1
vote
1answer
431 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
2answers
614 views

Apache Virtual Host pointing to wrong DocumentRoot

I operate a VPS on Digital Ocean running Ubuntu 12.04.3, with virtual hosts. I was able to set things up following this tutorial here: ...
3
votes
2answers
256 views

Apache ownership and permissions for wordpress

I'm new to running a VPS, but I managed to get the whole system setup and secured without any issues :) My question concerns Apache and the different ways it can operate. For this particular machine ...
1
vote
0answers
140 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 ...
0
votes
0answers
51 views

Capacities on Load-balancer & Web Servers? Bandwidth + Performance

I'm on DigitalOcean and I have a very simple scenario for my website. Now having 3000 concurrent hits every minutes. (For example) Currently it is directly on 1 only single Apache Server. The ...
0
votes
0answers
33 views

Help required for LAMP Stack fail-over Configuration

I am using cloud servers of digital ocean for last some months. Recently One of my cloud servers disappeared from panel with backups @ ubiquity, the server co guys put it back after 1 day. However my ...
0
votes
1answer
27 views

Opencats installation error

i am trying to install opencats. While installing i am getting following error.. What is the problem?
0
votes
1answer
190 views

How do I set up of IBM Cognos Business Intelligence with an Apache web server?

I'm trying to put together an Apache configuration for quickly getting IBM Cognos Business Intelligence Server up and running. But I got no idea of how to do it, could someone help me?
1
vote
3answers
69 views

mod_rewrite returns a 301 OK, not Moved Permanently?

I recently set up monitoring for my mod_rewrite server with help in the question Bash - pattern matching across multiple lines. Every once in a while - I'm not sure what triggers it - I get a ...
1
vote
1answer
86 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 ...
1
vote
0answers
81 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 ...
0
votes
1answer
208 views

Create cron as a apache user and run as root user

I am creating this cron as apache user and want to run this cron as root, below is my code snippet: # Create a cron job to restart apache cron_file="/etc/cron.d/restart_apache_crontab" cron_job="*/1 ...
1
vote
2answers
67 views

Configuring CentOS apache server to default to a specific port for ExpressJS and Node

Completely new to Linux and virtual private servers so please bear with me. I have a webapp built on ExpressJS and NodeJS that runs on port 5000 of my server, accessible via web by typing: ...
1
vote
1answer
48 views

Running Apache as Group only?

I have a folder with files owned by: joe:www-data, joe belongs to the group. Apache only seems to cooperate with www-data:www-data. Is there a way around this so I can keep the user as joe and the ...
0
votes
1answer
267 views

Error while Compiling Subversion with a custom-compiled Apache on a shared server

Am using a RHEL 5.5 shared server, my user has complete access to /opt folder. No root access, cant write to /etc, /usr etc. So, I downloaded httpd-2.4.6 and httpd-2.4.6-deps onto /opt (ie. ...
0
votes
0answers
162 views

Upgrading Apache 2.2.16 (package version) to the latest version 2.2.26 (compiled version) on Debian Squeeze

I have Debian Squeeze which is shipped with Apache 2.2.16, the latest version of the package. For PCI compliance I need to upgrade to the latest 2.2.26. But this version does not exist as a binary ...
0
votes
0answers
52 views

Rewrite module won't work on Xubuntu/Apache

I have a Xubuntu (12.10) machine with Apache and PHP servers from the apt-get repository. I need to create a simple REST service in PHP and therefore need to set up .htaccess so that arbitrary URLs ...
1
vote
1answer
72 views

Running Apache with Tomcat

I was wondering if it's possible to run a Tomcat server within Apache whilst also running PHP servers under other virtual host instances? And if so, how is this done? Basically, I'm trying to run an ...
0
votes
0answers
36 views

LAMP WordPress site returning 404s

CentOS 6.4 64-bit Apache 2.4.6 PHP-FPM 5.5.4 Homepage from root loads fine http://csillamvilag.com But all other pages return 404 (CMS is WordPress). I am also able to access and log into WordPress ...
2
votes
2answers
173 views

Redirect the default HTTP port to an application

On my CentOS server at mydomain.com, I have an svn web application running on port 8880. I want to hide the port: at this moment, if anybody wants to access, they need to access through ...
0
votes
1answer
112 views

rm -rf on vhosts directory, what should I do?

I was tired and unfortunately I did: rm -rf * /var/www/vhosts repertory on my CentOS 6.3 running with Parallel Plesk. I lost many websites, but worst: I've lost chroot, default, fs and fs-passwd. ...
1
vote
1answer
243 views

How can I force the IP address & hostname to only be exposed as domain.com on a Tomcat Server?

I have a web server which is running on CentOS 6 on top of Tomcat7. Everything works fine, however, there are many ways that users can access the server. For instance: IP Address domain.com ...
1
vote
1answer
230 views

Daily logRotate for apache at specific time

How can I execute logRotate daily at a specific time (3h30) each day? Specific details on how to do this would be appreciated. I'm on Debian.
3
votes
1answer
486 views

How can I get Apache working (complains about logfiles) on Ubuntu after a distribution upgrade?

I upgraded from Raring to Saucy, and it says it can't open listening sockets: root@ip-10-250-42-219:/etc/apache2/sites-enabled# apache2ctl restart [Tue Oct 22 13:34:05.187996 2013] [core:warn] [pid ...
1
vote
1answer
62 views

EACCES that should not happen

I have a situation on a Linux machine that I can't really explain. Some background: We're running apache with a c/c++ module that forwards requests to our application. It does so by reading a .port ...
0
votes
1answer
52 views

CentOS test page and .htaccess

When I use the line below in the .htaccess file, I get the apache CentOS test page. RewriteCond %{REQUEST_FILENAME} !-d How can I fix this?
1
vote
2answers
3k views

Does curl have a timeout?

So far I couldn't find anything really, but is it true that curl doesn't really time out at all? user@host:~# curl http://localhost/testdir/image.jpg I'm asking because I'm redirecting any request ...
1
vote
0answers
71 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
1answer
588 views

How to write a shell script restart apache if `server reached MaxClients`

Recently, My blog always shutdown, it use centos6.2+apache2.2+mysql5.5+php5.3. I have raised MaxClients in httpd.conf, but less useful. So is it possible to write a shell script (Run with crontab ...
2
votes
3answers
109 views

Apache2 permissions issue

I have changed my DocumentRoot to /home/user/www. To achieve that I have just changed the 2 occurrences of the path at /etc/apache2/sites-available/default. The permissions of /home/user/www are ...