Version 2.2 of the Apache HTTP Server. When asking questions about virtualhosts, please include the output of the following command: "apache2ctl -S" (or "httpd -S" depending on your OS)

learn more… | top users | synonyms (3)

-1
votes
0answers
10 views

External IP not accessible

i recently bought a raspberry pi and followed this guide for creating a server. The Server is only accessible localy using my external ip address of my router (84.112.XXX.XX) or the local address of ...
0
votes
0answers
8 views

PHP FPM with Apache 2.4 htaccess

I have an install of Apache 2.4 with PHP executing through FPM. <VirtualHost x.x.x.x:443> SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP ServerAdmin ...
0
votes
0answers
11 views

Newly setup Centos 6 server, cloning from .GIT as user other than ROOT

Apologies for being so new and lost, i'm brand new to all of this and the more I search the more I feel I'm getting closer, but then realize i'm lost. I setup a CentOS 6 server on an Amazon E2 ...
0
votes
2answers
19 views

htaccess not working fedora 20

My htaccess is not working on fedora I made all AllowOverrides to be All. I restarted the httpd.service A site suggesting putting junk into the .htaccess file. I added it, nothing happened, ...
0
votes
0answers
11 views

X-Frame Options

I am struggling with the X-Frame-Options. I have a HTML page and want to include (with an iframe) another HTML page. The first warning said: "Refused to display ../map.html in a frame because it set ...
0
votes
0answers
17 views

How to find out what is blocking requests on Apache2

I'm running a website on Apache 2.4.9 that creates thumbnails of images a lot and when users browse the website they create cca 100 requests per page. Thumbnails are returned by PHP script that has to ...
0
votes
1answer
18 views

How to get Apache “Redirect” to stop appending full URL path to redirect target

If I edit the .htaccess file for a site, say oldsite.com, and put this: Redirect permanent / http://newsite.com/page It works fine if I surf to oldsite.com. But if I surf to oldsite.com/about, it ...
0
votes
1answer
33 views

Bizarre Apache 403 Issue

I have two files of interest in /var/www/html (in CentOS): index1.html, and index2.html. index1.html was downloaded from a website and chowned to root and chmoded 0644. index2.html was created by ...
-6
votes
1answer
25 views

I get apache error

Hi can you plese help me. I get an error on php apache and i dont't know how can i fix it. Error: [Tue Jul 08 17:55:44 2014] [error] [client 192.168.*.*] File does not exist: /var/www/name of ...
-1
votes
0answers
10 views

Django needs permission to do os.system() in Apache and mod_wsgi

I am stuck in a permission problem with Django, Apache and mod_wsgi, I think! I have successfully deployed my Django application in a development environment with Apache and mod_wsgi were also static ...
1
vote
0answers
15 views

Apache fast-cgi and php-fpm failing to run php file?

I have been trying to switch my server from mod php to fastcgi set up on an apache server running on osx (as a development machine). My problem is that php-fpm doesn't seem to processing the files. ...
3
votes
1answer
41 views

Best way to redirect pages on an apache/centos web server

I have a centos 6.5 web server running 2 websites off 1 ip address by using virtual hosts. domain1.com and domain2.com - both hosted on the same web server above. I need to redirect about 40 pages ...
0
votes
0answers
9 views

Apache mod_security crs blocking PDF files

I've just installed CRS for Apache mod_security and it's reporting all PDF files as possible attacks. Specificaly, it's the 'modsecurity_crs_20_protocol_violations.conf' that's causing the trouble ...
1
vote
0answers
21 views

command line alias inside php exec

Is there any possibility to define shell alias for commands executed via php system, exec etc functions? I'm running multiple versions of PHP using fastcgi and I need to run the right version of PHP ...
2
votes
1answer
22 views

How to make htaccess not redirect to http on form submission

Part of my .htaccess file forces https on certain pages (e.g. when user logs in, enters credit card information, etc.) while forcing http on all other pages. This seems to be the ideal setup for what ...
-1
votes
1answer
47 views

How to Hide port 8080?

How I can hide the port 8080 from the address bar? when I call my sub.domain.com I get nothing but when I call my sub.domain.com:8008 I get the application! I am using apache2 and jboss 7 Thanks ...
3
votes
0answers
12 views

Can I use mod_cband and mod_vhost_alias together?

Basically I run a VPS and host my clients' sites on it. I have mod_vhost_alias set up to use the domain as the client's user account home folder, eg /home/www.example.com. I'd like to use mod_cband to ...
0
votes
0answers
17 views

Finding if the current open processes reaches FcgidMaxProcesses ? (bottleneck)

To make it short : I fail to find if I'm not hitting the FcgidMaxProcesses limit as a bottleneck. Longer version following I have a server Debian Wheezy, two Raid-1 SSDs for system and two ...
-2
votes
0answers
20 views

How to correlate apache events among a web cluster?

We have a cluster of about 200 web servers. From time to time we'll have an event occur where a subset of those servers will trigger the monitoring software to restart the apache daemon. We can get ...
1
vote
1answer
15 views

Ubuntu subdomain not working

I'm trying to set up a subdomain with Apache2 on my Ubuntu droplet, I've followed this tutorial to the T but every time I navigate to my subdomain, I get the default apache landing page. So I've set ...
1
vote
1answer
15 views

apache error and access logs are missing, what could be the cause and how can I recreate them?

I've been given a task to understand why 2 CentOS web servers running apache 2.2.3 are experiencing very high loads on specific occasions. The first thing I checked was /var/log/messages but then I ...
1
vote
2answers
41 views

Something like `top` for vhosts

Is there any way of establishing what vhosts are keeping Apache processes busy, in real time? Ideally I'd like a tool like top (or htop) that shows me which sites are busiest, or most costly, right ...
1
vote
0answers
10 views

Can't seem to install pdo-mysql extension on RHEL6 server

I'll try to be clear, I don't have a lot of server experience, but I'll tell you what I know: I'm trying to install Magento on a site, but I kept getting an error, after looking at the error logs, ...
0
votes
1answer
24 views

Apache https error log

We have a website running on Apache. Users can access part of it by HTTP and the other part by HTTPS. Apache is logging HTTP errors but not HTTPS errors. However, both log access. How can I solve ...
0
votes
0answers
12 views

apache2 server-status 403 forbidden

I have tried just about everything that I can think of to get this working, but to no avail... It seems that no matter what I do, I cannot access any of the server-status or information pages for ...
0
votes
0answers
13 views

Siremis login say: can't open cmp file to write

I am installing siremis-4.1.0 on CentOS 6.5. I can configure Siremis. But when I pressed Siremis Launch button. My browser said: "can't open cmp file to write". My SELinux: # sestatus SELinux ...
0
votes
1answer
26 views

Apache2 Cross-Origin Request Blocked while headers are set

My website uses CDN and while everything is fine on Chrome in Firefox I'm getting the following error: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at ...
-1
votes
1answer
13 views

apache + lighttpd on debian, the both should use ssl, port 443 already used

I installed apache and lighttpd in debian 7, apache used port 80 and lighttpd 88, now I install ssl for apache (443) and when i tried to do the same for lighttpd, I got error because 443 is already ...
0
votes
1answer
25 views

Real IP addresses from Varnish + Cloudflare

I'm trying to edit the default.vcl file to get the real client IP addresses to show up in my Wordpress. I found this online and I read a lot of pages on this but have failed to make this work. I'm ...
0
votes
1answer
30 views

nginx SSL termination for apache2.2 svn server results in endless redirects

I'm trying to set up a SVN repository on our new company server. We are using nginx for SSL termination and apache as SVN backend. I don't know whats wrong with my configuration, but if I call svn ...
0
votes
1answer
20 views

Start Apache after GlusterFS mount on boot

I want to start Apache after mounting a NFS (GlusterFS) share, but it keeps starting before the mount step. I set the order in /etc/rc*.d/ but it didn't work. I always can edit the scripts to sleep a ...
0
votes
1answer
15 views

Apache : How to print value of MaxRequestsPerChild in log files

I am trying to troubleshoot some issue and need to print out the value of MaxRequestsPerChild in the log file. I set LogLevel to debug but it does not print out the value. Does anyone know how I can ...
1
vote
1answer
19 views

apache2: log requests from LAN to separate logfile

I would like to separate apache 2.2 log entries in 2 log files: requests from LAN (192.168.0.0/16) should go in a lan-access.log, and the rest in the default access.log How can I achieve that? I've ...
-3
votes
0answers
10 views

VirtualHost with it's own DirectoryIndex [on hold]

I have multiple virtualhosts in httpd.conf currently the DirectoryIndex is above all the virtualhosts and it speaks for all. but i prefer to have a customized DirectoryIndex for one of the ...
1
vote
1answer
33 views

Apache doesn't render .php files after installing ius php55u

I've installed the IUS php55u on a CENTOS with virtualmin. All the php sites are broken now. When I use test.php it gives me only the html code. If I try test.php5 it renders the PHP code. Yet, in ...
-2
votes
0answers
11 views

simple Apache jmeter test [closed]

I have a very simple test case. I want to login and logout of a php application (SugarCRM) multiple times. I have successfully carried out a couple of basic tests but I don't seem to get the hang of ...
-1
votes
1answer
29 views

Regarding .htaccess

I am using Cent OS hosted on VPS. I want to have the feature of "Use URL rewriting of joomla". On enabling this in joomla, it gives a message "Rename .htaccess.txt to .htaccess". I have renamed the ...
-1
votes
1answer
29 views

apache fails to start

On a fedora 20 I tried to install ssl but something went wrong and now apache gives an error when I try to restart it. What can I do to get more info about the error and solve it? [root@localhost ...
0
votes
2answers
22 views

Apache Rewrite URL

I had my document DocumentRoot set to www/fg. Before, I did browse to www/fg by typing http://www.mydomain.com/www/fg. Then, I set up VirtualHosts that point to www/fg. And now I just type ...
0
votes
0answers
9 views

mod_jk : keep url of apache for tomcat

I assume my question is basic, but I'm a beginner to configure a server, and I'm quite lost I successed to install tomcat, then apache, then mod_jk to link both together. Tomcat works under 8443, ...
0
votes
0answers
14 views

FastCGI errors: (104)Connection reset by peer, incomplete headers and others

I am writing web application using cPhalcon. The machine on which I am testing is strictly development, so there isn't any traffic from outside. The problem is that when I am trying to do ...
0
votes
1answer
42 views

apache - query string rewrite rule adds percentage symbol

I've set up a rule to rewrite a query string. Although the redirection is correctly performed, a % character is appended to the rewritten query portion of the URL, like so: ...
0
votes
1answer
14 views

apache itk - a lot of processes hanging

Have problem with my current setup. I'm on Debian 7 with apache2.2 itk + php. The problem is, that under normal circumstances I see about 30-50 apache processes, but after sometime apache processes ...
0
votes
1answer
20 views

Apache rewrite using THE_REQUEST for rewriting GET requests only

Background: In order to reduce repo size of git repos containing wordpress installs, we are removing static assets from the repo. The bulk of the work is done, but I have a snag. I've relocated the ...
0
votes
2answers
35 views

Use different default documents for apache2 virtual hosts

I am setting up several sites on an ubuntu 14 server with apache2. I copied 000-default.conf and created a site1.conf. Then I changed some settings, reloaded apache2, and now almost everything ...
0
votes
0answers
17 views

Database connection to postgresql refused for flask app under mod_wsgi when started by systemd

I'm having a weird problem where a flask application I am trying to run (https://github.com/pyfarm/pyfarm-master) under mod_wsgi under Apache under CentOS 7 cannot connect to a local postgresql server ...
-2
votes
0answers
22 views

500 internal server error, mod_jk issue

I work under Ubuntu I installed apache2, and want to link it with tomcat, through mod_jk apache2 is based on port 80 Tomcat is based on port 8080 Tomcat should be linked under ...
-2
votes
0answers
27 views

Make Node.js app port not accessible on other domains

I have a server with Parallels Plesk as Server Control Panel, apache2 (with mod_proxy and mod_http_proxy), nginx and Node.js installed. On this server I have multiple domains and subdomains, but only ...
0
votes
1answer
11 views

How to reload mod_jk

I work under Ubuntu. Each time I restart apache2, it tells me that jk_module is already loaded, so it skips it. Problem : I think I misconfigured something, so I changed it, but since it is not ...
-1
votes
1answer
24 views

Hot redirect http/https request coming to port 80 to a internal tomcat server on 8080 [closed]

I have a production server with a domain name. It has a tomcat server on 8080. It has several web applications. So I want to map the http/https requests coming to that server to these web ...